S32G when integarte LLCE_CAN/LIN project Problems

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G when integarte LLCE_CAN/LIN project Problems

ソリューションへジャンプ
2,882件の閲覧回数
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,836件の閲覧回数
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,859件の閲覧回数
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,848件の閲覧回数
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,837件の閲覧回数
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,827件の閲覧回数
laflame
Contributor II
i see the label . thanks for your support
wish you have a good day!
0 件の賞賛
返信