Unexpected BSP changes when upgrading RTD

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

Unexpected BSP changes when upgrading RTD

Jump to solution
98 Views
durga_choudhury
Contributor V

MCU: S32K148 144 pin package

IDE: S32DS 3.6.6 on Windows 11

RTOS: Bare metal

Driver model: Non-MCAL

 

When I upgraded an existing project from RTD v 3.0.0 to QPL06, I got the following changes auto-inserted into the .mex file (among others, but the others seem mundane)

<enable_parallel_routing>true</enable_parallel_routing>

<serdes name="SERDES" version="1.0" enabled="false" update_project_code="true">
<generated_project_files/>
<components/>
</serdes>

 

I am wondering what does the 'enable_parallel_routing' does?

 

And I am puzzled by the 'serdes' tag: does it stand for Serializer-Deserializer? The K148 chip does not have this capability. Why is this needed?

 

0 Kudos
Reply
1 Solution
46 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello @durga_choudhury,

S32DS Config Tools share functionality between other families (such as S32Z, S32N, S32G, etc.). You can see that when selecting a S32K MCU, SERDES Serializer/Deserializer tool (along with DCD, IVT, QuadSPI, DDR, among others) are disabled, since it is not supported:

Julin_AragnM_0-1787152919605.pngJulin_AragnM_0-1787152919605.png

Same reason for enable_parallel_routing configuration. You can enable/disable this from "Project > Properties > S32 Configuration Tools > Enable Parallel Routing", and it is shared between families using Pins tool.

Julin_AragnM_1-1787156448892.pngJulin_AragnM_1-1787156448892.png

Even though I was not able to find within the documentation a description for this, when enabled, the Pins tool will prompt the user during signal routing if another signal shares the same physical pin and writes to the same PORT register with the same configuration values.

The tool will ask whether to automatically co-route all such signals simultaneously. I can reproduce this by configuring WKPU signal sharing configuration values with ADC in S32K3:

Julin_AragnM_2-1787157425075.pngJulin_AragnM_2-1787157425075.png

If disabled, this prompt is not present.

Best regards,
Julián

View solution in original post

0 Kudos
Reply
2 Replies
47 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hello @durga_choudhury,

S32DS Config Tools share functionality between other families (such as S32Z, S32N, S32G, etc.). You can see that when selecting a S32K MCU, SERDES Serializer/Deserializer tool (along with DCD, IVT, QuadSPI, DDR, among others) are disabled, since it is not supported:

Julin_AragnM_0-1787152919605.pngJulin_AragnM_0-1787152919605.png

Same reason for enable_parallel_routing configuration. You can enable/disable this from "Project > Properties > S32 Configuration Tools > Enable Parallel Routing", and it is shared between families using Pins tool.

Julin_AragnM_1-1787156448892.pngJulin_AragnM_1-1787156448892.png

Even though I was not able to find within the documentation a description for this, when enabled, the Pins tool will prompt the user during signal routing if another signal shares the same physical pin and writes to the same PORT register with the same configuration values.

The tool will ask whether to automatically co-route all such signals simultaneously. I can reproduce this by configuring WKPU signal sharing configuration values with ADC in S32K3:

Julin_AragnM_2-1787157425075.pngJulin_AragnM_2-1787157425075.png

If disabled, this prompt is not present.

Best regards,
Julián

0 Kudos
Reply
42 Views
durga_choudhury
Contributor V
Thank you very much for the update.
%3CLINGO-SUB%20id%3D%22lingo-sub-2406290%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUnexpected%20BSP%20changes%20when%20upgrading%20RTD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2406290%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMCU%3A%20S32K148%20144%20pin%20package%3C%2FP%3E%3CP%3EIDE%3A%20S32DS%203.6.6%20on%20Windows%2011%3C%2FP%3E%3CP%3ERTOS%3A%20Bare%20metal%3C%2FP%3E%3CP%3EDriver%20model%3A%20Non-MCAL%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EWhen%20I%20upgraded%20an%20existing%20project%20from%20RTD%20v%203.0.0%20to%20QPL06%2C%20I%20got%20the%20following%20changes%20auto-inserted%20into%20the%20.mex%20file%20(among%20others%2C%20but%20the%20others%20seem%20mundane)%3C%2FP%3E%3CP%3E%3CENABLE_PARALLEL_ROUTING%3Etrue%3C%2FENABLE_PARALLEL_ROUTING%3E%3C%2FP%3E%3CP%3E%3CSERDES%20name%3D%22SERDES%22%20version%3D%221.0%22%20enabled%3D%22false%22%20update_project_code%3D%22true%22%3E%3CBR%20%2F%3E%3CGENERATED_PROJECT_FILES%3E%3C%2FGENERATED_PROJECT_FILES%3E%3CBR%20%2F%3E%3CCOMPONENTS%3E%3C%2FCOMPONENTS%3E%3CBR%20%2F%3E%3C%2FSERDES%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20am%20wondering%20what%20does%20the%20'enable_parallel_routing'%20does%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAnd%20I%20am%20puzzled%20by%20the%20'serdes'%20tag%3A%20does%20it%20stand%20for%20Serializer-Deserializer%3F%20The%20K148%20chip%20does%20not%20have%20this%20capability.%20Why%20is%20this%20needed%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2406687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Unexpected%20BSP%20changes%20when%20upgrading%20RTD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2406687%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20very%20much%20for%20the%20update.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2406681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Unexpected%20BSP%20changes%20when%20upgrading%20RTD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2406681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F250000%22%20target%3D%22_blank%22%3E%40durga_choudhury%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ES32DS%20Config%20Tools%20share%20functionality%20between%20other%20families%20(such%20as%20S32Z%2C%20S32N%2C%20S32G%2C%20etc.).%20You%20can%20see%20that%20when%20selecting%20a%20S32K%20MCU%2C%20SERDES%26nbsp%3BSerializer%2FDeserializer%20tool%26nbsp%3B(along%20with%20DCD%2C%20IVT%2C%20QuadSPI%2C%20DDR%2C%20among%20others)%20are%20disabled%2C%20since%20it%20is%20not%20supported%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_0-1787152919605.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1787152919605.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394962i3502D8E26250BBF2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_0-1787152919605.png%22%20alt%3D%22Julin_AragnM_0-1787152919605.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EJulin_AragnM_0-1787152919605.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EJulin_AragnM_0-1787152919605.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESame%20reason%20for%26nbsp%3B%3CSPAN%3Eenable_parallel_routing%20configuration.%20You%20can%20enable%2Fdisable%20this%20from%20%22Project%20%26gt%3B%20Properties%20%26gt%3B%20S32%20Configuration%20Tools%20%26gt%3B%20Enable%20Parallel%20Routing%22%2C%20and%20it%20is%20shared%20between%20families%20using%20Pins%20tool.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_1-1787156448892.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_1-1787156448892.png%22%20style%3D%22width%3A%20625px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394963i3825A19C39130506%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_1-1787156448892.png%22%20alt%3D%22Julin_AragnM_1-1787156448892.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EJulin_AragnM_1-1787156448892.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EJulin_AragnM_1-1787156448892.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EEven%20though%20I%20was%20not%20able%20to%20find%20within%20the%20documentation%20a%20description%20for%20this%2C%26nbsp%3Bwhen%20enabled%2C%20the%20Pins%20tool%20will%20prompt%20the%20user%20during%20signal%20routing%20if%20another%20signal%20shares%20the%20same%20physical%20pin%20and%20writes%20to%20the%20same%20PORT%20register%20with%20the%20same%20configuration%20values.%3C%2FP%3E%0A%3CP%3EThe%20tool%20will%20ask%20whether%20to%20automatically%20co-route%20all%20such%20signals%20simultaneously.%20I%20can%20reproduce%20this%20by%20configuring%20WKPU%20signal%20sharing%20configuration%20values%20with%20ADC%20in%20S32K3%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_2-1787157425075.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_2-1787157425075.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F394964i9D8BFBB778A466C5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_2-1787157425075.png%22%20alt%3D%22Julin_AragnM_2-1787157425075.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EJulin_AragnM_2-1787157425075.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EJulin_AragnM_2-1787157425075.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20disabled%2C%20this%20prompt%20is%20not%20present.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E