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: SPI interface problem

Part Number: AFE5809EVM
Other Parts Discussed in Thread: AFE5809,

Hi, everyone!

I am developing an application, which controls AFE5809 chip via SPI.

For testing I am using development board “AFE5809 EVM REV.A”. I  connect to it via connector P14 (it is placed on board). SPI chip ouputs are connected to P14 on board.

But at the moment I cannot even switch chip to test pattern generation mode. In the same time, when I use software from development board kit, the SPI chip works well in all modes.

I can see that during connect the software sends some starting sequence of commands to the chip. I think I miss something when I try to initialize SPI chip from my application.

Could you write an example of initializing sequence for AFE5809 (which registers I should write and what sequence exactly), so I could switch the chip into mode for generating test pattern?

Thanks very much.

www.ti.com/.../AFE5809EVM

  • Hi,

    Thanks for using AFE5809EVM.

    we will reply to your question very soon.

    Thank you!

    Best regards,

    Chen

  • Looking at the schematic of the EVM I'm not sure that you actually can drive the SPI bus on P14. U16 will drive the SPI pins since U16 EN pin is pulled to VDD with 1k resistor. There is a label USB_CONTROL on this pin, I don't know if there is any easy way to pull it to GND - but this would disable the driveres in U16 and allow you to drive SPI pins from P14. 

  • Hi,

    for the AFE5809 device power-up (initialization) sequence,

    yes, you need to follow the statement of page 99 Figure 113

    at the beginning.

    after that please also follow next steps

    (some are using the real pins but some are just controlling the Registers)

    shown on Table 29 on page 100.

    Thank you!

    Best regards,

    Chen

  • I perform the reset steps right after power on (fig. 113), but I still can’t operate the chip.  Also I found out one weird thing – I cannot read registers neither with "AFE5809 EVM GUI" nor with common SPI request (I check output with oscilloscope on SDOUT pin).