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.

LMK04832: LMK04832 SPI readback

Part Number: LMK04832

Hi Team, 

May I know how to implement LMK04832 SPI readback? I look thought the datasheet and found below two method. Could you please comments on that. 

1. 3-wire SPI only need to connect 1 block pins and configure the corresponding register block 1. 

2. 4 wire SPI mode, this need to connect one more SDO from CLKin_SEL0/1 pins. And need to configure the block 2.

Thanks.

B.R.

Zhizhao

  • Zhizhao,

    You are basically correct.

    For 3-wire SPI, there is an additional field called SPI_3WIRE_DIS in R0 which must be set to 0. If this bit is set to 1 the SDIO pin will never be turned into an output.

    For 4-wire SPI, output behavior is controlled by the GPIO's TYPE mux.

    Additionally, note that 3-wire and 4-wire readback can occur simultaneously. SDIO and as many GPIOs as desired can be simultaneously configured as SDO pins for readback.

    Regards,

    Derek Payne