This figure shows my current integration, from top layer to bottom. Since I don't have Stateflow, I use switch case to integrate the state machine.
I have the terminate JP100 and JP101 closed, J2 pin 2 and pin 4 closed.
I manually changed the values of registers from 0x0624 and 0x0100 0x0627 and 0x0103 for CAN 0 as shown below.
void flexcan_564xl_pin_init(uint8_t flex_can)
{
switch (flex_can) {
case FLEXCAN_0:
{
SIU.PCR[16].R = 0x0627;
SIU.PCR[17].R = 0x0103;
SIU.PSMI[33].R = 0x01;
break;
}
case FLEXCAN_1:
{
SIU.PCR[14].R = 0x0624;
SIU.PCR[15].R = 0x0100;
SIU.PSMI[34].R = 0x00;
break;
}
default:
break;
}
}
CANH and CANL are still measuring constant 2.5V and 0V respectively. Pin 2 of J2 is still measuring the non-changing signals. From the response from the NXP technical support, this signal is an error signal, means the CAN transceiver is not enabled.
One question is, I'm not connecting the CANH and CANL to any other CAN devices, I'm just probing it, is this gonna cause an issue?





