I have generated CAN routines for 33CK256MP506 PIC (MPLABX 5.30 MCC 3.95.0). For the beginning and actually for the future I just need normal Mode; up to 8 bytes data; the 2.0b implication. I have added CAN to my code as it was written in header file, currently only TX, just to test it.I do not unde..
Working with a dsPIC33ck256mp508, and I'm trying to use it to send 24bit data to a codec. According to the datasheet given these setting it could be taking SPI1BUFL bits 0:15 and SPI1BUFH bits 23:16. checking it with scope it seems to be taking BUFH bits 31:16 and BUFL 15:8. This is opposite of what..
I've inherited a project which uses the microchip DEE Emulation 16-bit library on a dsPIC33CH128MP505, and one of problems I've been tasked with addressing is that the memory seems to "revert" after so much use. I've tracked this down to the eventual calling of PackEE() when the DataEEWrite() fills ..
Hello everyone, First of all I'm a beginner (well, I used to work with 16F a while back...).So I'll try to be as clear as possible.Setup MPLABX v5.30, xc16 v1.50, code configurator 4.0.2 (working on macOS) and a ICD4.I'm using a custom board with a 32 MHz external oscillator. And the clock is config..
Well, seems I can't delete the post... that's embarrassing. Also, It won't let me post what I actually want to (or edit this with what I actually want to). So I'll just link to my stackoverflow question and hope that works.....
Hi everyone, Strange problem here, which I still haven't fully got my head round yet. Short version is that my code worked fine until I shortened a buffer size, where now the SPI port is being starved of data and is transmitting the contents of SPI2URDTL/H (which conveniently allows me to see when a..
Greetings Usually the exposed pad for an IC is connected to ground. However in the datasheet for dsPIC33CK64MP105 FAMILY, I could not find any instruction regarding connections to exposed pad. Should I connect exposed pad to Ground or leave it floating? Thanks and Regards..
Hi, In a Closed loop system , Is it possible to reach SetValue in just two iterations .Error = SetValue - ReadValue (From ADC). Thanks.. --TS9..
Hello. I have a custom board using a DSPIC33FJ128GP804 microcontroller. On a previous iteration of this board I was using EZBL successfully, though it was something like v1.05 as I had set that up back in 2016. For the current iteration I updated MPLAB to v5.25 with xc16 v1.40. When I tried to use t..
Hi,I am trying to share data between my main loop and an interrupt. I know that the typical way to protect for this is to set the priority level to 7, read the data, and then set it back to 1. Any interrupts which are triggered during the data transfer will be resolved afterwards. My question is: co..