How to change PE clock in CAN config

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change PE clock in CAN config

223 Views
Contributor IV

I want to set CAN bit rate to 5Mbps.

But at PE clock 8MHz, max bit rate that I can set is 1Mbps.

So I want to change PE clock, but I don't find how to change PE clock.

Please let me know how to change PE clock.

1.PNG

Labels (1)
4 Replies

1 View
NXP Employee
NXP Employee

Hello,

could you please specify, which microcontroller you use, which version of S32DS you use and which version of SDK you use?

Regards,

Martin

1 View
Contributor IV

Hi,

I use following things.

MCU : S32K144

Compiler : S32DS for ARM Version 2018.R1

SDK : SDK_S32K14x_09

Thanks and best regards,

Byugnju

0 Kudos

1 View
NXP Employee
NXP Employee

Hello,

use flexcan module instead of can_pal module. Flexcan module allows to set PE Clock in processor expert. See the figures below:

pastedImage_1.png

pastedImage_2.png

Regards,

Martin

1 View
Contributor IV

Hi,

Thanks for your help.

I changed PE clock to 48MHz.

But at 48MHz PE clock, Maximum CAN FD bitrate is 4.8Mbps.

I can not set over 5Mbps.

I want to set over 5Mbps.

How to set 5Mbps CAN FD?

1.PNG

Beat regards,

Byungju.

0 Kudos