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.

CC2650: SPI slave driver

Part Number: CC2650
Other Parts Discussed in Thread: CC2630

Hi,

 

In host_test sample code, zero padding is inserted before actual data when data is sent to master SPI.

 

But I can’t find any instruction in “SPI.h and SPICC26xxDMA.h”.

 

Is this due to the SPI driver bug  ? if yes,  is there any way to transmit the data without zero padding ?

 

uint16 NPITLSPI_writeTransport(uint16 len)

{

/ Add header (including a zero padding byte required by the SPI driver)

    TransportTxBuf[SPI_TX_ZERO_PAD_INDEX] = 0x00;