The last time I tried to move to MPLAB X it was a total disaster. Nothing worked. It took WEEKS to get back to work with MPLAB V8. But now I am bring forced to make the change and it is terrifying. Does MPLAB X support programming in assembler? Will everything that compiled in MPLAB V8 be broken? I ..
When I use type uint24_t in MPLAB X IDE it has a red underline, but builds anyway. At first I figured it was working and the red underline was just a bug. Now I'm realizing that it the uint24_t variables are just defaulting to 16 bit.What do I need to do to get 24 bit variables to actually work?..
Hi, I have designed a custom PCB with PIC32MZ and an external flash memory. I want to update the firmware of the PIC32 without the need for an external programmer or debugger. To do this, I have proceeded as follows: - With a custom software I save the .hex file in the external flash memory. - Befor..
Hi all, My team is developing a data logging board using the above PIC. Part of the requirements is to ensure that the board will be able to support high speed UART up to 16MBauds. The circuit is designed in-house, but the PCB layout is to be done externally by an external vendor. We've requested th..
has anybody successfully connected to the dsPic target in Simulink through external mode while using Simulink dsPIC blockset? The dsPIC used is dsPIC33FJ128MC802.
I'm new at microcontrollers in general and I'm still learning. I'm trying to create a code that causes the RC7 led to flash every 1 seconds and when I press the RC9 button the RC7 led will have an inverval of +1second. That is, if I press once it will flash every 2 seconds, if I press it twice it wi..
Hi everybody, I'm trying to use CCP module (in capture mode) of my PIC16F18445. The goal of this, is to measure a frequency (square form) from 0Hz to 2500Hz. My signal arrives on port RB5 (CCP3IN). For now, I've done the following things : I/O : TRISBbits.TRISB5 = 1; /* digital input */ CCP module :..
Hello all,I created model for UART communication between dspic30f4011 and PC (Hercules terminal).
The baud rate is 9600. However, text (characters) send from dspic30f4011 to PC always broken. I used:
* Windows 10
* MATLAB/Simulink R2020b
* MPLAB Devide blcock version 3.49
* Pickit 3 I attached ..
As the title suggests... My laptop chokes on the 64-bit MPLABX, taking seconds between keystrokes in the editor, and complaining about running out of memory on my laptop (with 3-Gigabytes RAM), whereas MPLABX 5.30 runs well, without complaints, but doesn't include 18F16Q40 support. Stay safe. Cheerf..
I am trying to use single SPI communication using 18F26K80. The proc needs to read SPI only, so no rocket science task. I have the following config:PMD0bits.SSPMD = 0; //MSSP enabledSSPSTATbits.SMP = 0; //receiving modeSSPSTATbits.CKE = 1; // clock trigger on rise (mode 0)SSPCON1bits.CKP = 0; // clo..