Other Parts Discussed in Thread: ADS131M08, ADS131M06
Hello everyone, hope you are well!
Me and my team are developing an energy meter using an MCU STM32F756ZG with HAL Library and an ADS131M08EVM to acquire the signals.
We were able to start the communication between the STM32 and the ADSADS131M08EVM and change the the OSR to 128 and see that change monitoring the DRDY pin. But we´re finding some issues:
-The first one is when we sent the commands to ADSADS131M08EVM, the answer is not the right at the first time. For example when we send the command Status, we expect the answer "0x500", and we only receive this after a few times. We are trying the Status and Clock commands. We were only able to change the clock putting the commands in a while loop, we send the command until we receive the right answer.
- The second one, and main problem, is that we are not able to read the data of the ADS131M08EVM channels, we can see in the IDE the data for SPI but the data do not correspond to the real values.
Do you have any example C code using the MCU STM32 and an ADS131M08EVM?
If you want I can share my .C and .H codes.
Best Regards
Rafael Cordini