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.

AFE5801- how to write to register, SPI based?

Other Parts Discussed in Thread: AFE5801

Hello:

I searched the forums for a LabVIEW example. Specifically, I am looking for an example that shows how to write to or read the register of TI AFE5801 ADC.

I am using pg. 2 & pg. 20 of the AFE5801 datasheet as a guideline. Is the TI AFE5801 ADC based on SPI serial bus?  In the interim, I will code assuming SPI based implementation (assuming MISO= SDOUT, MOSI= SDATA, SEN= CS).

I will greatly appreciate if someone could show me example read/ write code or pseudo code (LabVIEW is not necessary, more interested in sequence).

Thank you.

Best Regards,

Mohit

  • MOHIT,

    Thank you for your inquiry about the AFE5801. We have received it and hope to have an answer to you soon.

    1. This device is based on an SPI serial bus.

    2. Unfortunately we do not provide labview source code, but we might be able to provide a sequence.

  • Hi Mohit,


    Yes, it is based on SPI. Figure 36 on pg. 20 of the AFE5801 DS will show the write sequence. SEN = CS, SCLK is the clock used to latch in the data on SDATA. SDATA is 8 bits address, 16 bits data.

    Thanks,

    Chuck Smyth