spi adc
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-14 9:11 AM
I am using stm32l476rg. I am connecting a external spi adc with 1.25MHz clock. I would like to have a continuous data reading from that adc. I tried spi2 to connect this adc. it works, but how can I get continuous data reading from that adc? use timer to trigger a event? or something else?
Labels:
- Labels:
-
ADC
-
SPI
-
STM32L4 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-14 4:13 PM
Well it depends on the ADC SPI Spec.
You could use DMA TX and RX over SPI in cyclical mode, reading continuously, so make sure the bitrate is slow enough to read a new fresh value once all the ADC value bits are transferred.
