Is there any special configuration required to enable CAN in NXP DEVKIT S12G128?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there any special configuration required to enable CAN in NXP DEVKIT S12G128?

513 Views
rajakumaranazha
Contributor II

Hello,

We have established driver software for CAN module in HS12XET256 and  the same is migrated to  HS12G128 controller. We see there is no  difference between the registers and configuration parameters for CAN module between the controllers except that HS12G128 supports only the CAN0 module. Since CAN0 has been used for HS12XET256, that difference is also ruled out.

Currently we use NXP DEVKIT for S12G128 controller for our development purpose. In that we find CAN messages are not available in the CANH, CANL pins available in J8 connector. We could see the Tx Error count keep on increasing and the module is switching between the Bus-off state and normal state in the SFR's using PE debugger.

We suspect, the problem must be related to development kit but sadly there is no clue in the user guide. Can someone help us through the problem?

Note: There is no voltage available between J8[VBAT(3),GND(4)]pins as in the user manual.

Thanks in advance.

Regards,

Rajakumaran A

0 Kudos
1 Reply

348 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

I have not checked it in detail but it looks like you have not set SBC chip.
(I hope we are talking about this board:
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-autom...
)
There is CAN example in the installation package for the board which present how to do it,

Best regards,

Ladislav

0 Kudos