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.

IWR6843AOP: Number of SPI lines

Part Number: IWR6843AOP

Hello,
customer planes a SPI communication between IWR6843AOP (slave) and host MCU. The datasheet says 5 lines are needed: CLK , MISO, MOSI, IRQ, CS (datasheet page 46, chapter 8.10.5.4 Typical Interface Protocol Diagram (Slave Mode))
Normally SPI can work with 3 lines: CLK, MISO, MOSI. Why is CS and IRQ needed? Can we skip these?

Regards, Holger

  • Hello Holger,

    Our expert will review your concern and get back before the end of this week.

    Thankyou for your patience.

    Regards,

    Ishita

  • Hello Holger,

        For the SPI operation you would need at least 4 Lines, CLK, MOSI, MISO and CS(Chip select).  There are timing relationship between CS rising and falling edge to SPI clock rising/falling edges. That must be adhered to as shown in the "Standard Serial Peripheral Interface" section of the datasheet. MOSI and MISO lines are needed for the bi-directional communication between the Host and Slave device.

    However, if you want to reuse the the Host interface protocol used by the mmWave studio, SPI interface would use additional line Host_Interrupt. This is mainly due to, host has the SPI will have primary control and mmWave device would be secondary device, and host has the control over SPI clock, and for communicating information asynchronously whenever MMIC wants to communicate the information to the host, then it uses out of band interrupt "Host_intr" signal and gets the attention of the Host and its requests for the information through SPI interface. 

    If the customer develops their own SPI protocol then only 4 lines are needed. 

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hello Chethan,
    can CS also be removed? If you only have one slave in your system you can set it always high for that slave?

    Regards, Holger

  • Hello Holger,

        CS cannot be removed, Toggling of CS w.r.t SPI clock rising/falling edges are essential for the SPI block to work. Hence it cannot removed even for the single slave device, It needs to toggle as recommended timing parameter of the datasheet. 

    Thanks and regards,

    CHETHAN KUMAR Y.B.