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

Forum Post: RE: ADS1232REF: SCLK low on Refboard? How to read DATAOUT Pin with STM32

$
0
0
Hi Ibrahim, Welcome to the E2E forum! The ADS1232 communication follows Mode 1 SPI where SCLK idles low (when not clocking) and shifts data on the rising edge of SCLK and is read on the falling edge. It is not clear as to how you are connecting your signals to the ADS1232REF , but you cannot connect both clocks together as the output drivers will be in contention. To answer your specific question, the MSP430 must provide the SCLK on the ADS1232REF or the data cannot be read from the ADS1232 . It will idle low between conversion readings. If you connect an oscilloscope or logic analyzer to the test point locations on the ADS1232REF for SCLK and DOUT you will be able to monitor the communication. If you want to connect your own controller to the ADS1232REF , you will need to break or cut the trace for the SCLK between the MSP430 and the SCLK test point and then provide your own SCLK (or GPIO output for the SCLK) at the SCLK test point. The DOUT test point can be connected to the micro input pin. You will also need to connect the ground of the microcontroller to a ground point on the ADS1232REF . I would suggest that you first monitor the SCLK and DOUT test points for what the communication should look like with a scope or logic analyzer. Then make the modifications and verify that your communication is working in the same way. Best regards, Bob B

Viewing all articles
Browse latest Browse all 27245

Trending Articles



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