DMA to Shift Register

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

cross mob
Anonymous
Not applicable

Hi, 

   

The ShiftReg component states that it is possible to use via DMA, but I can't find any examples. Could someone point me at an example please?

   

I'd like to setup an array in memory and DMA the data to the Shift register for output to a port pin.

   

Thanks.

0 Likes
5 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Maybe this post have some pertinent information

   

http://www.cypress.com/forum/psoc-5-device-programming/issues-dma-16bit-shiftreg

0 Likes
Anonymous
Not applicable

Thanks. 
Yes, I've seen this post and now have a couple of examples. It seems there interface has changed or maybe it's the difference between PSOC-3 and PSOC-5 versions, but it's not easy to piece together a working example 🙂

0 Likes
lock attach
Attachments are accessible only for community members.
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

Only for  8 bit register (((

0 Likes
lock attach
Attachments are accessible only for community members.
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

and add the project for 16 bits.

0 Likes
Anonymous
Not applicable

Thank you for the examples - much appreciated.

   

Took a quick look and it seems to match what I have, so very good as a confirmation!

   

Found that writing to the output register caused glitches, so needed to write to the FIFO, but then needed a load signal and this needed to be at least one clock width wide, so ended up putting in a PWM.

   

Thank you.

0 Likes