How to use MCC SPI Libary (Krixen)
I am having a lot of trouble implementing this MCC SPI generated library. I see there is the Exchange8bit but I am using a LPS331AP chip that requires that I do everything in 16 clock cycles. Does this...
View ArticleMCC loses / changes Custom Names on GPIO (I/O Pins) (pchidley)
Using MCC 3.05 with MPLAB X 3.20, product using PIC24FJ1024GB610 I wanted the RTCC output to come out on a pin so I set the defaul RTCCOUT pin to a GPIO Output. My bad. You need to set it in the RTCC...
View ArticleMCC generated code uses deprecated port names in alias generation (jack@kksound)
In a project using the pic18F24K50 the MCC generates aliases for PORTB bit 0 : (MPLABX 3.26 MCC 3.0.5 XC8 1.37)// get/set IO_RB0 aliases#define IO_RB0_TRIS TRISB0#define IO_RB0_LAT LATB0#define...
View ArticleUnable to get IRQ based I2C slave to work on PIC16LF18323 (dlc@frii.com)
Specifics:MPLAB X 3.26XC8 1.37Win 7 Pro SP1PIC16LF18323 configured to run at 32MHz. Problem:The slave will not ACK data received (it does see it however) and does not clock out the data loaded into the...
View ArticleMCC and PIC24F (dambrose)
Product Version: MPLAB X IDE v3.26 MCC 3.x latest versionPIC24FJ64GA Hi, I'm trying to learn how to use the MCC for the first time. I'm working with a PIC24FJ64GA I want to generate a 50khz square on a...
View ArticleHow to Enable WPU, IOCP or IOCN (dcarrington)
First time user of MCC 3.03.Environment:MPLAB X 3.20XC16 1.25PIC24FV32KA301Using the MCC Pin Module I have successfully set PIC24 pins to their appropriate mode. In my case, there is one A/D channel, 5...
View ArticleNo Weak Pull Up Option? (realexander)
Hi, I'm not seeing a check box in the Weak Pull Up Enable (WPUE) column in the GPIO configurator. Is this a bug or is there something I need to do to enable it? I have Code Configurator 2.10, I'm using...
View Articleclock() in C run time lib kills Timer1,2,3 (dambrose)
MCC Plugin V3.0.5 MPLABX v3.26 Compiler: XC16 V1.25 OS Windows 7 Pro English UC: PIC24FJ64GA004 External 6.00 MHZ clock with PLL enabled My program was not using any timers but it was using the clock()...
View ArticleMCC, PIC18 and interrupt (VincenzoV)
Hi allHow to set interrupt priority using MCC?Thanks (MPLAB 3.26 / XC8 1.37 / MCC 3.0.5 / PIC18F2xKxx)..
View ArticleMCC 3.0.5, SPI problems and TMR interrupt latency?? (ultiblade)
Hi All, Got around installing MCC 3.0.5 yesterday. After some fiddling I was able to run the generated code, but some things are not running as smooth as i expected. Going through the MCC 3.0.5 forum...
View ArticleMSSP SPI Master: problem with SCK pin (VincenzoV)
Hi all I'm using MSSP and SPI master. I have a warning about TRISC pin (SCK): see attached file If I set in pin manager this pin as input, I have a warning "required as output" PIC18F25K22 / MPLAB 3.26...
View ArticleMCC 3.0 does not configure I2C slave correctly. (dlc@frii.com)
Using MPLAB X 3.26, XC8 1.37, MCC 3.0. I used MCC to configure an I2C slave on a PIC18LF18323 part and it correctly set the following PPS items: SSP1CLKPPSbits.SSP1CLKPPS = 0x0010;...
View ArticleI am totally discombobulated by MCC i2c code and examples. (rwvb)
I love MCC's generated code in other modules like timers, usart and even eccp but then came i2c... If the objective of code configurator is to make it easier to use 8-bit mcu's broad range of...
View ArticleBootloader support (Paul Wolstenholme)
Hi, I'm struggling to use the results of the MCC bootloader module with a PIC16F1936. The only help I can find connected to the MCC's bootloader is comments in the code it generates. I'm having trouble...
View ArticleHow to use MCC SPI Libary (Krixen)
I am having a lot of trouble implementing this MCC SPI generated library. I see there is the Exchange8bit but I am using a LPS331AP chip that requires that I do everything in 16 clock cycles. Does this...
View ArticleMCC configuration disappears after restarting MPLAB (clear_db)
Hello, I am running MPLAB X v3.25, with the latest MCC installed, on Windows 7 Pro.I have 2 projects ongoing right now, both using the PIC24FJ256GA406 mcu. On the firstproject, after I restarted MPLAB,...
View Articlev3 Not setting UART Baudrate correctly? (Nikel)
Hi, I'm using a PIC18F46K22 and CC v3. I've set system clock to Internal oscillator, FOSC, 16MHz_HFINTOSC/4 (4xPLL enabled giving 64MHz). I then configured UART1 module with CC to 57600 baudrate and...
View ArticleMCC v3.05 produce incorrect return value on function ADC_GetConversionResult...
Test on X IDE v3.26 + MCC v3.05orX IDE v2.35 + MCC v2.25device = PIC12F1501 or PIC16F1824. if set ADFM as Left justified,the MCC produces functionADC_GetConversionResultandADC_GetConversionbothreturn...
View ArticleMCC Mystery Issue (JohnWill)
I have an odd, and probably simple issue using the MCC. I'm running MPX 3.26, XC 1.37, and using the MCC on a PIC12F1501 project with the debug header. For some reason I can't get any outputs to...
View ArticleCode configurator control windows have "low density" (jarin)
Hello,I'm playing with code configurator 3, but it is almost unusable on my 11,6" travel laptop with 768pix vertical resolution. Even on my standard 1280*1080 display the elements are too widely...
View Article