DEsign Studio register

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

DEsign Studio register

跳至解决方案
1,420 次查看
E_GK
Contributor II

Compilation_Error.png

Ggood morning,

I'm trying to configure microcontroller's peripherial (IO, ADC, etc.). I'm using code from examples, but I have no acces to registers Undeclared (first use in this function). I checked the PATH and it look the same like in example.

The project is create by "File  - New - S32 Application Project"

I have DS for S32 - 3.5 version, compiler - 10.2 version

0 项奖励
回复
1 解答
1,367 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Sorry for replying so late. There were some problems with the community tool a few days ago. I just saw your question in the internal system yesterday.

It seems that you are referring to the project of AN5413SW\S32K1xx cookbook. That project was created many years ago, and the S32K1 header file in S32DS v3.5 has been updated, so it is different from before.
Please modify the code according to the latest S32K146.h.

S32K146 headfile difference.png

By the way:
It is recommended to install S32K1 RTD 2.0.x with S32DS Extensions and Updates in S32DS v3.5.
Or install S32K1 SDK RTM 4.0.3 with S32DS Extensions and Updates in S32DS v3.4.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,368 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Sorry for replying so late. There were some problems with the community tool a few days ago. I just saw your question in the internal system yesterday.

It seems that you are referring to the project of AN5413SW\S32K1xx cookbook. That project was created many years ago, and the S32K1 header file in S32DS v3.5 has been updated, so it is different from before.
Please modify the code according to the latest S32K146.h.

S32K146 headfile difference.png

By the way:
It is recommended to install S32K1 RTD 2.0.x with S32DS Extensions and Updates in S32DS v3.5.
Or install S32K1 SDK RTM 4.0.3 with S32DS Extensions and Updates in S32DS v3.4.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1842185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E8%AE%BE%E8%AE%A1%E5%B7%A5%E4%BD%9C%E5%AE%A4%E6%B3%A8%E5%86%8C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Compilation_Error.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Compilation_Error.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F272449i816C909522A52B76%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Compilation_Error.png%22%20alt%3D%22Compilation_Error.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E6%97%A9%E4%B8%8A%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E9%85%8D%E7%BD%AE%E5%BE%AE%E6%8E%A7%E5%88%B6%E5%99%A8%E7%9A%84%E5%A4%96%E5%9B%B4%E8%AE%BE%E5%A4%87%EF%BC%88IO%E3%80%81ADC%20%E7%AD%89%EF%BC%89%E3%80%82%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B%E4%B8%AD%E7%9A%84%E4%BB%A3%E7%A0%81%EF%BC%8C%E4%BD%86%E6%88%91%E6%97%A0%E6%9D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