Hi,
I'm trying to use uja1169TK/F in S32K144EVM.
When operate SBC_SetCanConfig function, some error occured.
In SBC_SetCanConfig function -> SBC_DataTransfer->LPSPI_DRV_MasterTransferBlocking functions,
LPSPI_DRV_MasterTransferBlocking function is when SPI master transmits a data, SPI slave sends a data back to master at the same time.
But when that operated, receive failed.
This situation is same in lpspi_dma example, lpspi_transfer example.
how to solve this problem?
I upload this project.
Hi,
How do you power the board?
The SCB requires 12V power supply.
Can you please scope the SPI bus?
Thank you,
BR, Daniel
Hi, Daniel,
I saw too many articles saying that 12V power should be input.
So, of course, it is inputting the power at 12V.
And below two picture attached.
first is when operate SBC_Init(), second is SBC_SetCanConfig.
Yellow = CS, Red = SCK, Blue = SDI, Green = SDO.
Best,
Minkyu.
Hello Minkyu,
I'm sorry for the delayed response.
I have tested the project and it works.
When the execution is halted after SBC_SetCanConfig(), I can see this:
I only get the error that you reported while I'm stepping through the function.
Regards,
Daniel