This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE5809EVM: How to use SPI to configure AFE5809EVM through the STM32F4 microcontroller instead of using the upper computer GUI software provided by AFE5809EVM. I have tried many methods based on the relevant suggestions in the forum, but they have not been

Part Number: AFE5809EVM

Hello, based on the suggestions on the TI forum, I am trying to use the STM32F4 microcontroller to control AFE5809EVM through SPI. I observe whether I have successfully configured AFE5809EVM using the STM32F4 microcontroller in two ways. One way is to first configure the register bit<ADC_ COMPLETE_ PDN>, enable and turn off the ADC separately, and observe the current change at+5V. It is found that there is no change in the current, indicating that my configuration was not successful (because I can observe the current change by directly accessing the register through the upper computer GUI and sending the same command). Another way is to enable this bit of the register<REGISTER_ READOUT_ ENABLE>, then write an arbitrary value to a certain register, and then read the value of that register, but the read values are all 0xffff, which also indicates that I did not successfully configure (because if the configuration is successful, the read value should not be 0xffff).

But when I configured AFE5809EVM through the upper computer GUI software, at the same time, I observed the signals sent on the SEN, SCLK, and SDATA signal lines on P14 of AFE5809EVM through an oscilloscope, which were exactly the same as the signals I sent through the STM32F4 microcontroller. Therefore, I do not know where my problem occurred, and I have never been able to control AFE5809EVM through the STM32F4 microcontroller. If you could provide me with help, I would be very grateful. My email is: 1005561902@qq.com Thank you.

x 出现错误。请重试或与管理员联系。