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.

CC1312R: SPI 2 wire usage

Part Number: CC1312R
Other Parts Discussed in Thread: SYSCONFIG

Hi Team,

Good day! As per our customer, they are using CC1312R SPI in 2 wire mode and they don't need RX pin, bufer(in main) and DMA - only TX to LCD.

In SYSCONFIG, there is no option for 2 wire, only 3 and 4(w SS). Could you help us. Thank you. 

Best regards,

Jonathan

  • Hi Jonathan,

    A follow-up question. What does the customer want to do?

    Are they asking about how they should take care of the MISO pin (as in not leaving the pin disconnected)? Or they asking about how to reuse the pin for something else?

    If they just want to know how to take care of the MISO pin, I'll ask the HW people just to make sure that I don't give bad advice and I'll get back to you.

    If they want to reuse the pin somehow, things are a bit more complicated. As you correctly pointed out, in Sysconfig there is no option for this. Furthermore, the SPI driver doesn't support this directly, so you have two options here.

    1. Disable Sysconfig and modify the device-specific SPI driver (SPICC26X2DMA.c and SPICC26X2DMA.h) so that no pin is used for the MISO line, and then use the pin for something else.

    2. Make a bit banged 2-wire SPI interface in SW.

    BR,
    Andres