| View previous topic :: View next topic |
| Author |
Message |
PeterStr
Joined: 21 Jan 2026 Posts: 3
|
| PIC18 DMA documentation? |
Posted: Fri Mar 06, 2026 10:50 am |
|
|
Can anyone point me to a document or another resource which describes details of DMA-related library functions for the PIC18 family? I am looking into creating an application for the PIC18F05Q20, which could benefit from using the chip's DMA hardware, but the reference supplied with the IDE (PCWH 5.123c) makes no mention of anything DMA-related. Looking through the device header file I can see the DMA function prototypes, but there's no details about how to configure function calls. Any hints would be greatly appreciated.
Peter. |
|
 |
jeremiah
Joined: 20 Jul 2010 Posts: 1408
|
| Re: PIC18 DMA documentation? |
Posted: Fri Mar 06, 2026 1:11 pm |
|
|
| PeterStr wrote: | Can anyone point me to a document or another resource which describes details of DMA-related library functions for the PIC18 family? I am looking into creating an application for the PIC18F05Q20, which could benefit from using the chip's DMA hardware, but the reference supplied with the IDE (PCWH 5.123c) makes no mention of anything DMA-related. Looking through the device header file I can see the DMA function prototypes, but there's no details about how to configure function calls. Any hints would be greatly appreciated.
Peter. |
First thing I would do is open of the .H file for your pic in CCS and see if there are references to DMA. If there are none, then double check the datasheet and make sure it has DMA (it probably does, but sanity check). If not, I would definitely either call or email CCS support and ask about it. The chip must be new. I don't have a header file for it in v5.119.
alternately, you can try and see if they are implemented but not documented. Search for DMA here: https://www.ccsinfo.com/downloads/ccs_c_manual.pdf
You can try and see if the dma functions listed there even compile. |
|
 |
PeterStr
Joined: 21 Jan 2026 Posts: 3
|
|
Posted: Fri Mar 06, 2026 1:24 pm |
|
|
Jeremiah,
Thank you very much for the link! Looks like that manual covers what I was looking for.
Yes, I browsed through the chip's header file, and it certainly contains function prototypes for the DMA stuff. Just needed some details and examples, and the document which you provided the link to seems to cover that. Greatly appreciated!
Peter. |
|
 |
|