Trying to configure B7 (pin#20 on IC) as SDO for SPI commAlways get output =0 SPI works fine (receives data from master but cannot send anything out - SDO always = 0)O/P B7 works fine as a simple o/p Have included code snippetWas wondering if I have missed anything in the mapping of the peripheral t..
Hello everyone, and thank you in advance for reading my question. I am designing a system centered around high speed data conversion and transmission using the ADC module. The data sheet and manual specify both a "conversion time" and a "minimum sampling time" for the ADC. For simplicity, I'll refer..
Hi everyone, I was just wondering if anyone had any useful insights into my problem. I have an application where I have a large codebook of lookup tables which I need to stream over an I2S connection. So far, I have been using a DMA channel to feed the SPI peripheral with bytes of data from a double..
Hello all, I would need some quick help for a seemingly simple problem. I'm trying to trigger the ADC shared-core of a dsPIC33CK256MP508 by the SCCP4 in 32bit timer mode, for periodically converting AN13 and AN16. Should be possible according to the SCCP/MCCP reference manual DS33035A, which explici..
Can anyone point out to me a primer for debugging the slave on the dspic33CH? Maybe I am missing something obvious but I can't figure it out either using the pkob or using an ICD3 on the dedicated slave debug port. The ICD3 on the dedicated debug port doesn't even detect the processor. I did change ..
Hello,I design a circuit based on dsPIC33CH128MP508. On the desk (when powered from a laboratory power supply) everything works OK. However, when installed in the target device, sometimes (once in several power-ups) the processor does not start working. The program does not run. I have two PCBs made..
I have problem to use DMA for transmit on SPI.
I have a buffer to transmit to spi, i dont use SDI and SCK and SS.The spi is configured in master 8bits mode.
The spi transfer without DMA is ok.When i start transfert, DMACNT3 is decremented to 0, and DMA3IF is set, but in oscilloscope, i see..
I am having trouble configuring my I2C to run and have been pulling out my hair trying to figure out why. I'll admin it took way to long for me to start a new project with just the I2C component in it and track down where the error was coming from. I am using the primary SDA1/SCL1 pins. For my own s..
I'm using a dsPIC33CH128MP206,programmed with an ICD3,MPLAB X v5.10 andXC16 v1.35 (downgrade from v1.36, to verify that this is no Compiler issue)for my Project. After I programmed and loaded the Device, the Master is starting and running my Code. The Slave does NOT. But if I start debugging the Sla..
Hi, I am trying to use a dsPIC33EP64MC504 to make a BLDC control but sometimes the controller will not start. Sometimes because if the power source is to smooth the controller will not start. data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNAAAAFPCAYAAACMOjPUAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA..