S32K148 EVB can't receive and transfer any message from UJA1132 CAN interface？ I new project from the SDK example . The example is flexcan_encrypted_s32k148.
Do I need to modify the hardware? The hardware version is SCH-29644 REV A, 700-29644 REV X1
Do you see the communication on CAN_TX pin of the MCU?
Do you power the board with 12V?
If I want to use the integrate CAN of SBC UJA1132,I need to use the 12V Power supply?
Now I am using USB power supply. It seems that the SPI (MISO and MOSI line)of S32K148 EVB Rev A version are reversed. Do I need to remove the resistance and cross-connect with external wire?
Yes, the SBC needs 12V power supply.
S32K148 EVB rev.A
It seems to be just a wrong label.
You can test it with GPIOs.
PCC->PCCn[PCC_PORTA_INDEX] |= PCC_PCCn_CGC_MASK; /* Enable clock for PORTA */PORTA->PCR|= PORT_PCR_MUX(1); /* Port A27: MUX = ALT1, GPIO */PORTA->PCR|= PORT_PCR_MUX(1); /* Port A29: MUX = ALT1, GPIO */PTA->PDDR |= (1<<27) | (1<<29); // OUPUTPTA->PDOR |= (1<<27); // PTA27 HIGHPTA->PDOR &= ~(1<<29); // PTA29 LOW
I can measure HIGH on pin 7, EVB rev.A
Retrieving data ...