Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 28678

Forum Post: RE: ADS1256: Setting up the SPI Logic Analyzer for ADS1256

$
0
0
Hi Chris, so architecture wise, I could call RDATAC before the loop, and inside the loop I will call ADS1256 _read(spi) function to store the data to the variable. Maybe if this works in side the loop, I could setup an interrupt / task to handle this data collection part? One of the issue here is that I have to MUX between channels. How does MUXing affect my RDATAC? When I call RDATAC, does it apply to all channels or I have to call RDATAC to each of them? When I switch channels, do I need to SDATAC and call it again afterward? The DIN is not LOW when I call ADS1256 _read. I am not entirely sure why this is the case. I use the built-in library from ESP32 and it might do some thing under the hood that I am not aware of. But since SPI is based on simultaneous read and write, I can just ignore the DIN during the reading phase right? I will give this a shot and see how this goes Khoi Ly

Viewing all articles
Browse latest Browse all 28678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>