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

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


SPI resources in MCC (_dex)

I have 16 bit PICs: 33EP and 24FJ and I would like to use SPI to read the data from the sensor. I will use one of them, they are similar in SPI part. Ideal would be to use a DMA to increase the...

View Article


18F45K40 bootloader MCC MPLABX (MartinNiggemann)

Hello,I’m using a 18F45K40, MPLAB X (5.30), MCC Code Generator ( 3.95) and XC8 Compiler (2.10).I have a bootloader project, generated with the bootloader module of MCC.Bootloader is between 0x000 and...

View Article

BM62 Blue tooth low energy disconnections (Ali_king)

Hello, I am experiencing disconnections from the BLE after a random time period. I have been connecting to both apple and android phones.the only thing i see before this disconnect happens are the...

View Article

Device change ( 16F18857 to 16F18877 ) on MCC (Vividhobby)

Hello I have some program written by XC8 on MPLABX with MCC ver 4.20. This is written for PIC 16F18857. BUt I would like to convert this program for 16F18877.What I tried is just change the device name...

View Article


18F45K22 PLL and MCC? (Rian)

Hello, Currently, my main while(1) loop takes about 20ms to execute. When I use the PLL enabled button, I can see on the oscilloscope that the execution time is reduced to 5.4ms. But I'm also using...

View Article

MCC USB litre does not create usb_hal_pic33e.h (opto)

usb_hal_pic33e.h is missing after generating USB light for dsPIC33EP512MU814. USB light for PIC24 works. MPLAB X 5.15. Online, I found that file in a Microchip github repo for MLA, but it is not...

View Article

SPI2: pin selection for SCK2 in 33EP256MC506 via MCC (_dex)

Hello I have MCC 3.95.0 and 1.166.0 library.When I take SPI1 via MCC then in the Pin Manager Grid View I see the SCK1 row for this Pin, even the SCK1 is not remappable, it is fixed to PIN 35 PORTA.3 -...

View Article


MCC generated code and Windowed Watchdog (Boxfish)

I am using MCC v3.95, PIC16F15344 I had issues using the Windowed Watchdog. I found no problems when using open mode (100% window) but found the device resetting when using any other window. I finally...

View Article


How to run multiple interrupt service routines. (Joey)

I am learning some simple microcontroller applications using MPLAB Code Configurator (MCC). Specifically, I am toggling an LED with a momentary switch using a simple interrupt on change of the switch...

View Article

PIC16f1455_UART_data_reception (amitwarbhe)

I have generated code for UART to USB using MCC, but the UART_RX buffer is not getting cleared after the defined data size for the next reception.EUSART_RX_BUFFER_SIZE this buffer size is defined as...

View Article

Pin names in Pin Module are not actionable in code (dsPICable_me)

I anticipated that naming a pin "RLED" in 'Pin Module' would be the same as "#define RLED LATBbits.LATB5". However, I cannot write "RLED =1;" in code to set it high. Am I missing a step to enable this...

View Article

Where's the SPI clock in MCC? (realexander)

Hi, I've configured an SPI peripheral in MCC. The Pin Manager is letting me select SDI, SDO, and SS1/FSYNC1. But there is no pin selection for the SPI clock. Why not? And if I assign SS1/FSYNC1 to a...

View Article


PIC32 MCC LCD Library (MitYeltu)

I am currently using MPLABX 5.30 with Code Configurator version 3.95.0. While working with the 32MX250F128B I noticed that there was a library for an LCD listed in the resources section, so I decided...

View Article

CCP Register not being written (Nemweb)

Hello guys. I used MCC to set Timer 2 as base for CCP1 work as PWM. Everything is set there, no erros generated, although, there is no signal output, I'm checking it with an LED connected to RB4 (set...

View Article


Problem with code generated via MCC, CCP module in Capture (Eng. Daniel D....

Hello, everyone! At first, i´m using PIC16F18346.MPLAB X IDE v5.35, XC8,MPLAB Code Configurator v3.95.0, Code v4.85.0...I've been trying to configure the Capture module by selecting the input signal...

View Article

How to use boost convertor with SMPS Power Library in MPLAB X IDE MCC?...

How to use boost convertor with SMPS Power Library in MPLAB X IDE MCC? (MCC Device resources only have syncBuck and SEPIC_LED.)..

View Article


Explorer 8 with PIC16F1789, MCC generated eusart.c missing eusartRxCount in...

Hi All,I've been using my Explorer 8 with PIC16F1789 for a few years with no issues. I just started a new project and the MCC generated eusart.c MPLAB version 5.2 file does not have the variable...

View Article

Fatfs f_sync corrupts Directory (Doubletop)

FatFS Version R0.13b (Rev ID 63463) as provided by MPBLABX 5.35 using MCC 3.95.0 XC8 V2.10 & C99 with PIC18F27K42 and I'm porting work code to it that has been running fine on a 18F26K80 also under...

View Article

SPI in interrupt mode (CarpeCimex)

I have MPLAB 5.3, MCC 3.95.0, and peripheral library 1.166.0. My target device is a dsPIC33CK256MP203. When I configure the SPI module I get a warning "MCC does not support SPI in Interrupt Mode", and...

View Article
Browsing all 2062 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>