I use the source named BLE_Bridge which is downloaded in TI WIKY. there is a problem when I testing SPI communication in the slave transmission mode. I sent two bytes (0x01 0x02), but received at the host side is three bytes (0x00 0x01 0x02) . Here is a statement i found in _hal_uart_spi.c: HAL_DMA_SET_LEN (ch, SPI_PKT_LEN (spiTxPkt) + 1); / * slave DMA TX might drop the last byte * /, it shows that one more byte is added to send. I'd like to know the reason.
thanks for your help.