Referring to the sample code provided by the official, CAN configure PE clock source to; PE clock source is 8MHz; it cannot be awakened in Jlink mode.PE clock source is configured as Peripheral clock, and the PE clock is 48MHz. It can be normally awakened during JLink debugging. However, after taking down JLink to run the connection can and sending a message to MCU to STOP2 mode, it cannot be awakened by sending another message.Please help me, thank you!
Hi Zheng Yu,
Are you refer this: Example S32K116 FlexCAN PN STOP S32DS.ARM.2.2
If you don't modify the example, does it work on your S32K116EVB?
If you modify the example, would you please point me where did you modify(Direct attached your project or attach image mark out the edited place)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
There is a simple way to change package, please refer: How to change package on S32DS Processor Expert
Different package will not impact the wake up function, please direct download that example and then change package to test.
Please first make sure the example works on your board.
I have tried to flash the "Example S32K116 FlexCAN PN STOP S32DS.ARM.2.2" into S32K116EVB, it was able to work when powered by 12V power source(J107 1-2).(Without external J-Link debugger connected)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Regards,
It may be due to the version of the development environment. My chip selection failed to load the available model.
Chips are optional in other projects
Would you please try to use S32DS.ARM.2.2? That example is based on it.
If you have install "S32 Design Studio for ARM v2018.R1 Update 11 with S32 SDK S32K1xx SR 3.0.2(REV UP11)", you should be able to select SDK_S32K1xx_15.
Best Regards,
Robin
Hi Robin,
I have installed the v2018.R1 version, and have used the official website S32DS_ARM_v2018.R1_UP11.zip to update, do I need to select all items to update during the update process?
Best Regards,
Zheng Yu
Please update the full S32DS_ARM_v2018.R1_UP11.zip.
Best Regards,
Robin