Quantcast
Channel: MPLAB® Code Configurator
Browsing all 2062 articles
Browse latest View live

Interface functions with or without extern (Bromson)

Hello, I've been using MPLAB X and MCC for some time now. I've noticed that in the MCC generated files, function prototypes declared in header files do not used the extern attribute even though the...

View Article


Pin Manager LAT defines (seyyah)

I think there were lat defines in some previous versions in pin_manager.h file something like#define Button_LAT (_LATC7) but I could not see it in the latest version. Some times it is required for...

View Article


Error in MCC Generated I2C Slave Code for PIC16F1827 (birty)

Found this when setting up MSSP2 as a slave with interrupts enabled and 7 bit addressing. In the "I2C2_Open()" function the slave mask is set using "I2C2_SlaveSetSlaveMask(I2C2_SLAVE_MASK);". MCC only...

View Article

Help using I2c Foundation Services library i2c_master and/or...

I am trying to understand how to use the above libraries but cant find any detailed documentation about their functions.I have the HDC1080 temperature sensor and got stuck trying to read the...

View Article

Problem with MCC SPI code (Franzis95)

Hello,I was using an older version of MCC, XC8 v1.37 and MPLABX v4.05.Yesterday i started moving my project to the new versions of theses development tools (MPLABX v5.35, XC8 v2.10 and MCC v3.95.0). I...

View Article


Configure PWM on CCP1 using MCC (arnadan)

Device: PIC16F18324 I am trying to setup CCP1 in PWM mode. But whatever I try the PWM Paremeters all remain 0. Even though I have a timer setup and entered a duty cycle. (See attached screen shot.)...

View Article

Problem with MCC IOC generated code (Eng. Daniel D. Albino)

Hello everyone, I am working with : MCU : PIC32MM0256GPM064. pack 1.2.31 XC32 v2.41 MPLAB X v5.40 Code Configurator Core v4.85.0 PIC32MM Library version 1.167.0 I encountered an error when generating...

View Article

Is my device supported by an MCC library? (IonutB)

To find out if your device is supported by an MCC library, all you need to do is to check out the Release Notes of that particular library. The library Release Notes can be reached as follows:go to...

View Article


MikroE Click Board OLED C does not function (dmleone)

I added the OLED C click board using MCC and it does nothing. Is there a known issue with the OLED C click board generated files. I am using the PIC-IoT WG eval board...

View Article


MSSP Enable Checkbox missing (cintet)

Hi, MPLABX 5.40MCC 3.95.0PIC18F26K80 MSSP Module should have an Enable checkbox. If you set Enable bit on SSPCON1 (Registers Tab) then the MCC generated code overwrites these setting: void...

View Article

What do the Blue Dots with an X suppose to represent? (A*Chip)

While working with the MCC setting-up the registers, I notice the dots. What are they? Please see attachment.....

View Article

PIC_IoT WG IOC SW0 (dmleone)

I am using the MCC and have set the IOC to negative. However i cannot clearly find where to put the code i want to run during the interrupt. I do want to do a pretty intense function call so i would...

View Article

Issue with Timer config (mpittman)

I am using MCC v 5.35 with a PIC24FJ128GC010. The Primary osc is set at 18.432MHz (Fosc) giving an Fosc/2 of 9.216MHz. When configuring a Timer (TMR2), I am selecting the Fosc/2 as the Clock Source and...

View Article


Can´t get UART to work with MCC and a PIC32MX150F128B (Martin525)

Hello Guys, PIC32 newbie here, I am having real trouble getting a UART to work on my PIC32MX150F128B.I bassicly created a new project, opened MCC, left everthing on default, activited UART1 and set the...

View Article

Using "UART1_SetRxInterruptHandler" to be notified when a character is...

I am trying to write a simple program to test being alerted to a character available from the UART, similar to UART1_is_rx_ready, but using an interrupt instead. I am ashamed to say that I cannot get...

View Article


ADC Low pass filter - Accumulator right shift bit is not in range (oschonrock)

Getting some strange HINTS from MCC. On Low pass filter mode ADCRS value. MPLAB X IDE v5.40MCC v3.95.0PIC18F27Q43: Pic 10/12/16/18 Library Version 1.81.3 Configure ADC for Low_pass_filter_Mode and in...

View Article

Virtual pin & MCC (Anton_)

Hi to all!Does anyone know, can MCC configure virtual pins?B.r., Anton...

View Article


MCC auto generation order changing in .mc3 mcc.c mcc.h (megawhite)

MCC "Generate" button is causing ordering to unnecessarily change in .mc3 mcc.c mcc.h. It completely changes the order of these file contents after:Open MCCGenerateCommit changed files to gitClose...

View Article

MCC generated code: XC8 compiler is unable to resolve interrupt enable calls...

Hello all,Recently, I have a problem when using MCC. I use MPLAB X IDE v5.25, MCC version 3, compiler XC8 v2.10. When I generate a new project, the following calls aren't found in the main method:..

View Article

Test - lost my post "You don't have permission to access...

Does submit result in losing all my post with this error:Access DeniedYou don't have permission to access "http://www.microchip.com/forums/post.aspx?" on this server.Reference...

View Article
Browsing all 2062 articles
Browse latest View live