Hi,
Please specify the IDE version and the example that you use.
Can you share some screenshots of the error messages?
Thank you,
Daniel
Hi Daniel,
SDK version used: S32_SDK_S32K1xx_RTM_4.0.0
Project: sbc_uja116x_s32k142
IDE used both IAR and S32DS for ARM.
However, the code gets stuck in Devassert after calling SBC_DataTransfer() as this fn returns error.
Regards,
Geoff Aabel Roy.
Hi Geoff,
The SBC_DataTransfer() function tests the received data from the SBC and returns SBC_COMM_ERROR if there is an issue.
This could be because, for example, the SCB is not powered - it needs 12V power supply.
Can you scope the SPI bus with a logic analyzer?
Thank you,
Daniel
Hi Daniel,
We had ported the project into IAR Embedded workbench and connected 12V power supply to flash the hex over IJET debugger. however, we are still facing the same issue in debugging.
Is it related to any watchdog implementation.
Looking forward to your reply.
Regards,
Geoff Aabel Roy.
Hi Geoff,
As I said, I would scope the SPI bus.
You can restore the factory preset values of the UJA1169 SBC
7.11.2 Restoring factory preset values
https://www.nxp.com/docs/en/data-sheet/UJA1169.pdf
When the factory presets have been restored successfully, a system reset is generated automatically and UJA1169 switches back to Forced Normal mode.
Regards,
Daniel