CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC18 DMA documentation?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PeterStr



Joined: 21 Jan 2026
Posts: 3

View user's profile Send private message AIM Address

PIC18 DMA documentation?
PostPosted: Fri Mar 06, 2026 10:50 am     Reply with quote

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

View user's profile Send private message

Re: PIC18 DMA documentation?
PostPosted: Fri Mar 06, 2026 1:11 pm     Reply with quote

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

View user's profile Send private message AIM Address

PostPosted: Fri Mar 06, 2026 1:24 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group