Hi All,
I have a custom board that uses an S32K144 MCU and FS2303 SBC. For time being I have a repeated reset and I'm not able to follow the instructions and disable the watchdog on SBC.
I have an SPI connection between the MCU and the SBC that seems to work. I've used the SPI_PAL component and messages are sent accordingly with FS2303 datasheet , 32 bits where the 1st byte contains the address and red/write operation and the last byte CRC.
In order to program the SBS I need to know the current status of the chip but for some reason I get only 0s on my status request {0x06,0x00,0x00,0xB}.
Investigating further I've notice that the reply I get from SBC is a reverse echo message. if the request is {0x01,0x02,0x03,0x04} the SBC will return {{0x04,0x03,0x01,0x01}}.
The code will looks like
uint8_t txBuffer[4] = {0x04, 0x03, 0x02, 0x01};
status_t status_read = SPI_MasterTransferBlocking(&spi1Instance, txBuffer, recvBuffer, 1U, TIMEOUT);
the status is STATUS_SUCCESS and in recvBuffer I get the reverse echo.
Anyone has a clue what might be the issue here ?
Thank you