S32G when integarte LLCE_CAN/LIN project Problems

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

S32G when integarte LLCE_CAN/LIN project Problems

跳至解决方案
2,894 次查看
laflame
Contributor II

Dear NXP:

1 . first question

step 5 : include files like this :

laflame_1-1684132148640.png

but unable to find (det.h)

laflame_2-1684132194502.png

2 .seconde qeuestion: change clock as 40 Mhz ,while unable to change frequency

laflame_3-1684132232308.png

laflame_4-1684132297635.png

 

 

标签 (1)
0 项奖励
回复
1 解答
2,848 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

This option is found inside "Config Tools". You can access it by right clicking on your project inside S32DS and selecting:

"S32 Configuration Tools > Open Peripherals"

In there you should see different modules or "peripherals".  For CAN, select the one that says "Can_43_LLCE". Once selected, a configuration window should open. Inside the "CanGeneral" tab of this configuration window you should see the "Development Error Detection" flag.

For LIN, select the one that says "Lin_43_LLCE". Once selected, a configuration window should open. Inside the "LinGeneral" tab of this configuration window you should see the "Lin Default Error Detection" flag.

Once you set the configuration you want, click the "Update Code" button, for your configuration to take effect under your project.

Please, let us know.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,871 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Which LLCE version are you using? Below will be some comments on regards of your questions:

Q1 >> but unable to find (det.h)

A1 >> det.h is not found due to the flag "Development Error Detection" not being set

DanielAguirre_0-1684188105257.png

 

Q2 >> change clock as 40 Mhz ,while unable to change frequency

A2 >> FlexCAN clocks all share the same source, which in your case is FIRC_CLK, which is a 48 MHz clock. If you want to change the frequency, you first need to change the source to another. One example is shown below, which uses FXOSC_CLK instead.

DanielAguirre_1-1684188188183.png

Please, let us know.

0 项奖励
回复
2,860 次查看
laflame
Contributor II

thanks for your reply

Q1.  i am using LLCE 1.0.5 version right now,  please give me more information to find this  "Development Error Detection"  interface 

Q2. already solved this question

0 项奖励
回复
2,849 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

This option is found inside "Config Tools". You can access it by right clicking on your project inside S32DS and selecting:

"S32 Configuration Tools > Open Peripherals"

In there you should see different modules or "peripherals".  For CAN, select the one that says "Can_43_LLCE". Once selected, a configuration window should open. Inside the "CanGeneral" tab of this configuration window you should see the "Development Error Detection" flag.

For LIN, select the one that says "Lin_43_LLCE". Once selected, a configuration window should open. Inside the "LinGeneral" tab of this configuration window you should see the "Lin Default Error Detection" flag.

Once you set the configuration you want, click the "Update Code" button, for your configuration to take effect under your project.

Please, let us know.

0 项奖励
回复
2,839 次查看
laflame
Contributor II
i see the label . thanks for your support
wish you have a good day!
0 项奖励
回复