Dear NXP:
1 . first question
step 5 : include files like this :
but unable to find (det.h)
2 .seconde qeuestion: change clock as 40 Mhz ,while unable to change frequency
Solved! Go to Solution.
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.
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
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.
Please, let us know.
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
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.