- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I wanted to know how can I transfer the data from the ADC to the Memory(EEPROM) by saving it. Then later displaying on the LCD screen.
Thanks.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aakash,
EEPROM writing is very slow operation, size is limited (2k) and writing can be only in raws (16? bytes). How DMA fits into this? You may save ADC data to memory using DMA and then transfer it to EEPROM for storage using CPU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are plenty of AppNotes on the DMA. They also show exactly how to transfer ADC results with DMA to memory. (I think for the -050 kit the sample program even worked that way and showed the result on the LCD; but I might be wrong)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aakash,
EEPROM writing is very slow operation, size is limited (2k) and writing can be only in raws (16? bytes). How DMA fits into this? You may save ADC data to memory using DMA and then transfer it to EEPROM for storage using CPU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be advisable to save the data in SRam, not in EEProm which really needs programming. When you want to save data over a power-down you may use some external memory like FRam or an sd-card. FRam is available on the CY8CKIT-044 board.
Bob