Other Parts Discussed in Thread: CC1352P
Hello everybody,
I posted my problem under my last question but I think it is better to post it under a new thread. Thanks to Nate for the help on the other question.
Currently I am working to code the master NPI side on my STM32 MCU for the communication with a LAUNCHXL-CC1352P-2 development kit for BLE communication.
I configured the Host Test example to use SPI to communicate with the Network co-processor. Additionally I changed the SPI frame format in Host Test to CPOL=0 and CPHA=0 and the bit rate to 4MHz.
I then tried to send the HCIExt_Reset_SystemCmd (0xFC1D) to the BLE-chip. In the picture below there is the MISO data which my MCU send out to the BLE-chip.
Debug on Host Test side:
NPI_handleMrdyEvent(void) gets called, so handshaking is working correctly. Also oscilloscope shows the correct handshake procedure and timings.
Then NPITLSPI_CallBack() gets called. But instead of the shown MOSI data in the picture above, the BLE-chip only received 0xFE followed by 0. See picture below.
I tried other SPI frame formats and random data payloads but nothing seems to change. The CC1352P only receives the first byte (SOF) but not the following 6.
EDIT:
Here is the picture of the whole communication with SRDY and MRDY handshake.
regards,
Samuel