You are here

Quadrature Decoder and DMA | Cypress Semiconductor

Quadrature Decoder and DMA

Summary: 3 Replies, Latest post by odissey1 on 01 Dec 2016 01:26 PM PST
Verified Answers: 1
Last post
Log in to post new comments.
matejs's picture
5 posts


I would like to know if is possible to store Quadrature Decoder counter values using DMA? If yes, how? Please for an example...


user_1377889's picture
9596 posts

You may access the underlying QuadDec_Count8 and generate interrupts. But I am afraid you will just get some numbers in a row.



user_302397898's picture
107 posts

I wonder why you want to "store" quadrature decoder values. Usually this data is used in real time for motion control. But if you need to store it, how long do you need to store it -- a few seconds? You could read the data from DMA to an array for processing. If you need to store it for a long time or transfer to an external device, you could use a serial interface UART, SPI, I2C to transfer to an SD card or whatever.

user_342122993's picture
580 posts

DMA is for transferring data somewhere, what is your intended destination for the counter value?

Log in to post new comments.