what's the difference between can_pal and flexcan?

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

what's the difference between can_pal and flexcan?

跳至解决方案
958 次查看
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!

 

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
944 次查看
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 项奖励
回复
2 回复数
945 次查看
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 项奖励
回复
885 次查看
fedora
Contributor III

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

0 项奖励
回复