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

Forum Post: Reading/Writing to AFE4405 on EVM from External Microcontroller (STM32)

$
0
0
Part Number: AFE4405 Hello, I'd like to use a STM32L4 Nucleo board to access the AFE4405 via I2C as it is attached on the EVM. Is this possible? On the EVM board, I see AFE_SDA (TP4), AFE_SCL (TP3), ADC_RDY (TP1) test points. In the Development Guide Section 5.3 "Accessing AFE4405 Digital Signals", it states that R7, R8, R18 are series resistor jumpers. Does this mean: If I remove these resistors, EVM firmware will not control the AFE and I can access the AFE via STM32L4 via TP1, TP3, TP4 on the EVM board? In AFE4404 Documentation, "Sample Implementation of an I2C Interface" shows code snippets for interfacing. My interpretation of all this information is, in order to interface STM32L4 to the AFE4405 on the EVM (but not using EVM firmware): I remove R7, R8, R18 Power the EVM via USB Connect AFE_SDA, AFE_SCL to my I2C input on STM32 Connect ADC_RDY to STM32 digital GPIO as a trigger to acquire data Connect GND (TP6,7,8,or 9) to my external uC (STM32L4) Connect jumpers at J17 and J18 to enable reading the second sensor (anode and cathode) Keeping in mind register address differences between AFE4404 and AFE4405 , follow the guides: "Sample Implementation of an I2C Interface" for AFE4404 " AFE4404 Demonstration Kit - Message Communication Protocol v4.0" Please let me know if this is correct, if there are any other steps, or what I would need to do in order to accomplish this. If true, I would be able to reattach R7, R8, R18 and the EVM firmware would regain control? Thank you!

Viewing all articles
Browse latest Browse all 27655

Trending Articles



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