Anonymous
Not applicable
Nov 29, 2016
04:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2016
04:54 AM
Hi,
I would like to know if is possible to store Quadrature Decoder counter values using DMA? If yes, how? Please for an example...
Matej
Labels
- Labels:
-
PSoC 5LP
2 Replies
Nov 29, 2016
06:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2016
06:19 AM
You may access the underlying QuadDec_Count8 and generate interrupts. But I am afraid you will just get some numbers in a row.
Bob
Nov 29, 2016
10:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2016
10:10 AM
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.