DEsign Studio register

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

DEsign Studio register

Jump to solution
1,417 Views
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 Kudos
Reply
1 Solution
1,364 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
1,365 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1842185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDEsign%20Studio%20register%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%3EGgood%20morning%2C%3C%2FP%3E%3CP%3EI'm%20trying%20to%20configure%20microcontroller's%20peripherial%20(IO%2C%20ADC%2C%20etc.).%20I'm%20using%20code%20from%20examples%2C%20but%20I%20have%20no%20acces%20to%20registers%20Undeclared%20(first%20use%20in%20this%20function).%20I%20checked%20the%20PATH%20and%20it%20look%20the%20same%20like%20in%20example.%3C%2FP%3E%3CP%3EThe%20project%20is%20create%20by%20%22File%26nbsp%3B%20-%20New%20-%20S32%20Application%20Project%22%3C%2FP%3E%3CP%3EI%20have%20DS%20for%20S32%20-%203.5%20version%2C%20compiler%20-%2010.2%20version%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1845584%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20DEsign%20Studio%20register%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845584%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3ESorry%20for%20replying%20so%20late.%20There%20were%20some%20problems%20with%20the%20community%20tool%20a%20few%20days%20ago.%20I%20just%20saw%20your%20question%20in%20the%20internal%20system%20yesterday.%3C%2FP%3E%0A%3CP%3EIt%20seems%20that%20you%20are%20referring%20to%20the%20project%20of%20AN5413SW%5CS32K1xx%20cookbook.%20That%20project%20was%20created%20many%20years%20ago%2C%20and%20the%20S32K1%20header%20file%20in%20S32DS%20v3.5%20has%20been%20updated%2C%20so%20it%20is%20different%20from%20before.%3CBR%20%2F%3EPlease%20modify%20the%20code%20according%20to%20the%20latest%20S32K146.h.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22S32K146%20headfile%20difference.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22S32K146%20headfile%20difference.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273287i2807DEB29AF17A21%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22S32K146%20headfile%20difference.png%22%20alt%3D%22S32K146%20headfile%20difference.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBy%20the%20way%3A%3CBR%20%2F%3EIt%20is%20recommended%20to%20install%20S32K1%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ERTD%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E2.0.x%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FS32DS-Extensions-Updates-Explanation-and-How-To-Use%2Fta-p%2F1128543%22%20target%3D%22_blank%22%20shape%3D%22rect%22%3ES32DS%20Extensions%20and%20Updates%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%20S32DS%20v3.5.%3CBR%20%2F%3EOr%20install%20S32K1%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESDK%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3ERTM%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3E4.0.3%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3Ewith%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FS32DS-Extensions-Updates-Explanation-and-How-To-Use%2Fta-p%2F1128543%22%20target%3D%22_blank%22%20shape%3D%22rect%22%3ES32DS%20Extensions%20and%20Updates%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ein%26nbsp%3BS32DS%20v3.4.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22Mark%20Correct%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E