Hi Community,
I tried sbc_uja116x_s32k144 by using S32DS Project from Example. When I ran the program stopped at SBC_DataTransfer function in file sbc_uja116x_driver.
/* Address of device with read only bit. */
command[1] = (uint8_t)((SBC_UJA_REG_ADDR_F(regName) | readOnlyMask) & 0xFFU);
status = LPSPI_DRV_MasterTransferBlocking(g_drvConfig.lpspiIntace, command,
readData, 2U, SBC_UJA_TIMEOUT );
if( readData[1] != command[1]) //!!!!!!!!!!! here !!!!!!!!!!!!!
{
status = SBC_COMM_ERROR;
}
I'm new to the mcu and have no clue what the cause of this error could be.
Thanks.
Bruce
The actual procedure I used is as following.
To reset the CAN transceiver to default mode connect the SBC transceiver in next configuration with the board S32K144EVB-Q100 power off:
Power on the board with external supply 12V (J16)
Hi
Did you follow the guide of SBC UJA116x when test sbc_uja116x_s32k144?
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------