what's the difference between can_pal and flexcan?

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

what's the difference between can_pal and flexcan?

Jump to solution
962 Views
fedora
Contributor III

Hi team:

    There are can_pal and flexcan modules in PE, what's the difference between them?
How to choose them?

 

     Thanks!

 

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
948 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @fedora,

PAL refers to the Peripheral Abstraction Layer, it can contain a family of peripherals, and it uses generic API on multiple platforms for a better portability, while PD (or examples without the "PAL" suffix), refers to Peripheral Drivers, which are specific IP dedicated low-level drivers, for high efficiency.

You can refer to this community post, where it is explained in a little bit more detail: S32K144 Driver vs PAL? - NXP Community. It is also described in the SDK documentation.

Best regards,
Julián

View solution in original post

0 Kudos
Reply
2 Replies
949 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @fedora,

PAL refers to the Peripheral Abstraction Layer, it can contain a family of peripherals, and it uses generic API on multiple platforms for a better portability, while PD (or examples without the "PAL" suffix), refers to Peripheral Drivers, which are specific IP dedicated low-level drivers, for high efficiency.

You can refer to this community post, where it is explained in a little bit more detail: S32K144 Driver vs PAL? - NXP Community. It is also described in the SDK documentation.

Best regards,
Julián

0 Kudos
Reply
889 Views
fedora
Contributor III

Ok, I have got it !  Thanks, Julián

0 Kudos
Reply