16-bit DMA to UDB custom component.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jofic_334026
Level 3
Level 3
First like received

I'm currently using the dma to transfer 8-bit data to a control register that my custom component reads.  I'd like to take advantage of the 16-bit dma spoke and do 16-bit transfers.  I can't just increase the the number of bits in my control register to 16 (that would be to easy).  How do I do 16-bit dma transfers to my custom component?

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In the "Component Author Guide" chapter 6.4 you will find the names of the registers to use. Access via

   

Start->Cypress->PSoC Creator 3.2->Component Development Kit

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
jofic_334026
Level 3
Level 3
First like received

I discovered how to add a "DMA Capability" file to my component.  That makes it nice for using the DMA wizard but doesn't solve all my problems.  I have a 16-bit register in my custom component that is to be the destination of the dma transfer.  How do I pass a pointer of this register to my firmware so I can configure the dma?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In the "Component Author Guide" chapter 6.4 you will find the names of the registers to use. Access via

   

Start->Cypress->PSoC Creator 3.2->Component Development Kit

   

 

   

Bob

0 Likes