S32G when integarte LLCE_CAN/LIN project Problems

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

S32G when integarte LLCE_CAN/LIN project Problems

Jump to solution
2,899 Views
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

 

 

Labels (1)
0 Kudos
Reply
1 Solution
2,853 Views
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.

View solution in original post

0 Kudos
Reply
4 Replies
2,876 Views
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 Kudos
Reply
2,865 Views
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 Kudos
Reply
2,854 Views
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 Kudos
Reply
2,844 Views
laflame
Contributor II
i see the label . thanks for your support
wish you have a good day!
0 Kudos
Reply