Other Parts Discussed in Thread: CC2650
Tool/software: TI-RTOS
Hi,
I have a custom board on which the cc2640 acts as SPI slave, the Master is an STM32 Controller working in Mode 1 and clocked at 1.5Mhz.
When I set frameFormat = SPI_POL0_PHA1; in SPI init function, the data received in cc2650 is bit shifted by one.
For example: if 1 is sent from master, the data received via callback is 2 and the first transfer do not receives any data.
Surprisingly when frameFormat = SPI_POL1_PHA1 is set in init. The data received is exactly same as what is sent but here also the initial transfer do not show any received data
even-though the interrupt is still occurring.
Regards,
Joe