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.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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.

3,074 次查看
hewei03
Contributor III

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

标签 (1)
标记 (1)
5 回复数

2,624 次查看
alexandrunan
NXP Employee
NXP Employee

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

2,624 次查看
kongdetao
Contributor III

Hello Daniel,

     Have you fixed this problem? I met the the same question as you,now I don't know how to solve it.

0 项奖励
回复

2,624 次查看
hewei03
Contributor III

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

0 项奖励
回复

2,624 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Owen,

Yes, the SBC needs 12V power supply.

S32K148 EVB rev.A

pastedImage_1.png

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

2,624 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Do you see the communication on CAN_TX pin of the MCU?

Do you power the board with 12V?

Thanks,

Daniel 

0 项奖励
回复