Endianness of S32K144

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

Endianness of S32K144

Jump to solution
1,773 Views
oeren5
Contributor III

Hi everybody,

I am using S32K144 with MBDt v4.2. I am using CAN blocks in order to send and receive data. I want to learn what is the endianness format of CAN blocks?

Is it little endian or big endian? Also, are there any way to change this format in configuration block or the format is fixed?

Thanks in advance.

0 Kudos
1 Solution
1,745 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

The Cortex-M has the AIRCR register where the ENDIANNESS bit is fixed as little endian for S32K1xx devices. FlexCAN register also uses a little endian and it cannot be changed.

However, I would like to suggest focusing on the "55.4.3 Message buffer structure" in RM rev 12.1

 

Best regards,

Diana

View solution in original post

0 Kudos
1 Reply
1,746 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

The Cortex-M has the AIRCR register where the ENDIANNESS bit is fixed as little endian for S32K1xx devices. FlexCAN register also uses a little endian and it cannot be changed.

However, I would like to suggest focusing on the "55.4.3 Message buffer structure" in RM rev 12.1

 

Best regards,

Diana

0 Kudos