Part Number: CC1350
Tool/software: TI-RTOS
Dear Support:
I am checking out the SPI slave driver and cannot get it to work when setting the following:
spiParams.frameFormat = SPI_POL0_PHA0
however it does work with the example that comes in the driver as:
spiParams.frameFormat = SPI_POL0_PHA1
I am using SDK v2.20.0.38. I have setup 2 different CC1350 boards and running the spimaster and spislave driver examples which is setup in the SDK for SPI_POL0_PHA1 and it runs fine with no issues. However when changing the master and slave code to use SPI_POL0_PHA0, there is no output from the master or slave - the slave callback function is never called and hence no result. Is there something wrong with running the SPI slave in SPI_POL0_PHA0 mode? Or possibly something I am doing wrong? Please advise.
BTW - the master outputs the proper output when running in either SPI_POL0_PHA0 or SPI_POL0_PHA1, it's just the slave that is exhibiting the problem when running with SPI_POL0_PHA0.
Thanks,
Tim