This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI transfer issue at high data rates.

Hi,

I'm working on the ble_att_mtu_throughput example code on nrf52840(peripheral) & nrf52832(central) . SPI data is transmitting from TI(slave) board to nrf52840(master) by monitoring two master and salve gpio pins. I have seen the data in a debug mode by putting a breakpoint in the spi event handler. When I put it for a continuous run junk data is coming. 

SPI configs in nrf52840:


.frequency = NRF_DRV_SPI_FREQ_4M, \
.mode = NRF_DRV_SPI_MODE_0, \
.bit_order = NRF_DRV_SPI_BIT_ORDER_MSB_FIRST,

 

The same junk data is transmitting to nrf52832(central) board. 

If I maintain a delay of 25ms to 30ms then I'm getting valid data in continuous transmission. 

Why should I need to maintain delay in TI code?.

Thanks,

Regards

Saiteja.

Parents Reply Children
No Data
Related