Hi
we are using SPC5748GHK0AMMN6 with S32 Design Studio for Power Architecture v2.1 Update 14.
Where can we find LIN drivers and examples?
Best regards
Robert
Hello @gtronic,
The SDK PA RTM v3.0.3 includes the drivers and an example project for LIN.
File -> New -> S32DS Project from Example:
As well, we have bare board/bare metal implementation examples, without installing the SDK:
To install the SDK:
Help -> S32DS Extensions and Updates
Search on 's32 sdk 3.0.3'
Check the box and click 'Install/Update'
Best Regards,
Mike
Dear Mike,
thank you for your response. Unfortunately, we are unable to locate the LIN example in the S32 Studio for PowerPC (version 2.1 build 190624) and PA SDK RTM 3.0.3 (exact version 1.0.0.202008261642) installed (all updates are installed, to the best of our knowledge the versions are the latest officially released by NXP). We can locate the UART examples for the LINFlex controller, but not a dedicated LIN example for the LINFlex controller. If you can confirm that dedicated examples for LIN do not exists in this SDK package, this would also be a valuable statement to us.
We are able to locate LIN examples in
com.nxp.s32ds.e200.examples_1.0.0.201911111358 and com.nxp.s32ds.e200.examples_1.0.0.201906241815, however, all of these examples use the "old" structure based definitions to access the registers of the LINFlex controller and not the "new" macro based definitions to access the registers (both defined in different versions of MPC5748G.h). Since our project is currently based on the "new"
version of MPC5748G.h the "old" LIN examples cannot easily be integrated/reused in our project. Thus the question arose whether the LIN examples for this SDK version exists and we are simply unable to locate them or whether we have to invest time and effort into porting/adapting the "old" LIN examples to the new header files in the latest SDK version.
Thank you for your support and kind regards,
Robert
Hi @gtronic,
Since you have successfully installed the packages to S32DS for PA v2.1 and the issues are not related to use of S32DS, we've reached the end of what I can help you with.
There is another community, S32 SDK - NXP Community , which provides support for the SDKs. They should be able to help you to locate a macro-based version of the LIN example, or if not, maybe they can create one for you.
Hope that helps,
Mike