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
Hello,
1. Did you power externaly from 12V the board ?!
2. If you run previously the SBC example please try to reset the sbc by following procedure.
The CAN transceiver should be in Forced Normal Mode operation (default mode).
To reset the CAN transceiver to default mode connect the SBC transceiver in next configuration with the board S32K148EVB-Q144 power off :
• pin RSTN from SBC is held LOW
• CANH(J11.1) is pulled up to VBAT(J11.3)
• CANL(J11.2) is pulled down to GND(J11.4)
Power on the board with external supply 12V (J9)</b>
BR,
Alex
Hello Daniel,
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?
Thanks,
Owen
Hello Owen,
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[27]|= PORT_PCR_MUX(1); /* Port A27: MUX = ALT1, GPIO */
PORTA->PCR[29]|= PORT_PCR_MUX(1); /* Port A29: MUX = ALT1, GPIO */
PTA->PDDR |= (1<<27) | (1<<29); // OUPUT
PTA->PDOR |= (1<<27); // PTA27 HIGH
PTA->PDOR &= ~(1<<29); // PTA29 LOW
I can measure HIGH on pin 7, EVB rev.A
Regards,
Daniel
Hi,
Do you see the communication on CAN_TX pin of the MCU?
Do you power the board with 12V?
Thanks,
Daniel