it worked after i realized that only analog will work without any modifications only on A0. MCC does not realize that i selected another pin (C2 as example) and select that channel instead of 0x00.
Hi Stephen - Thanks for reaching out with your question! Yes, you can use DMA with a printf function for UART on 8-bit PIC® MCUs. The source would typically be a memory buffer containing the data you wish to print. Ensure DMA is properly configured to read from this buffer and transmit via UART. For detailed guidance, refer to the specific MCU's datasheet. Let us know if you have more questions about this!
DMA and RTOS are two different things. If I would be to explain it shortly - DMA is only for transferring data in a background, without CPU involvement nor any kind of code execution.
Thank you at least it gives an insight on the DMA topic.
This is a Good video from Microchip. But I feel it is better if usage examples of all peripheral is given as code examples.
No broken dreams! Thanks
it worked after i realized that only analog will work without any modifications only on A0. MCC does not realize that i selected another pin (C2 as example) and select that channel instead of 0x00.
Would like such a video for USB to SPI
Hi there, thanks for your comment! Please take a look at this video and let us know if it helps: czcams.com/video/xrtFpslyamU/video.html
@@MicrochipTechnology I already have a PIC24 and would like to add this functionality among all the other things that it already does
How to Learn MPLAB X IDE and MPLAB IPE software
Can you do just a printf to uart dma? Not sure what the source would be
Hi Stephen - Thanks for reaching out with your question! Yes, you can use DMA with a printf function for UART on 8-bit PIC® MCUs. The source would typically be a memory buffer containing the data you wish to print. Ensure DMA is properly configured to read from this buffer and transmit via UART. For detailed guidance, refer to the specific MCU's datasheet. Let us know if you have more questions about this!
Multiple PWM maybe?
Is this like a poor mans RTOS? Or is DMA different?
DMA and RTOS are two different things. If I would be to explain it shortly - DMA is only for transferring data in a background, without CPU involvement nor any kind of code execution.