Post Go back to editing

ADAQ4001 Cant get the SPI communication to work

Thread Summary

The user encountered issues reading registers from the ADAQ4001 Evaluation Board using SPI communication with a STM32 Nucleo Board. The solution involved adding a CNV pulse before transmitting the configuration bits, as the CNV signal selects the interface mode. The SDI default state was also changed to HIGH to ensure CS mode was selected, preventing the device from entering Daisy-chain mode where register reads are not allowed.
AI Generated Content
Category: Software
Product Number: ADAQ4001

Hello,

I am a beginner with the programming of microcontrollers and SPI communication and have some problems with the ADAQ4001 Evaluation Board.

I am planning to use the ADAQ on a custom board, but for a first test I am using the ADAQ Evaluation Board with a STM32 Nucelo Board.

The two Boards are connected with Jumper-Cables and therefore i have reduced the clock rate to roughly 300kHz.

For a first test I am just trying to read the Register of the ADAQ4001 and I am already running into problems.

I looked up the required timing from the Datasheet and it should look like this:

To check my software, i have a logic analyzer connected to the board.

The output waveform of my µC looks like this:

As far as i have understood the datasheet, the ADAQ should output the register values on the SDO line.

But for some reason there is no SDO Data from the ADAQ Board. The Pull-Up resistor for the SDO line is activated.

I have checked the power rails of the board and they look ok.

When i cycle the power to the ADAQ then there are sometimes random signals on the SDO line.

Can someone help me with the problem?

I am grateful for any tips.

Best regards,

Dennis

Edit Notes

Added Information
[edited by: DeBa at 5:34 AM (GMT -4) on 10 Apr 2024]
Parents Reply Children
No Data