S32DS processor expect configure question

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

S32DS processor expect configure question

953 Views
asd046012
Contributor III

Hello 

      Now I use the processor to configure PIN, when I configure the pin PTE11,but the processor will auto refresh, and will show PTA configuration interface, so I want to configure the PTE port again, I should pull down the interface again. This is a waste of my time.

   Is there a Configuration option to put an end to this situation?

     

0 Kudos
4 Replies

934 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please try:

PinSettings.png

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

910 Views
asd046012
Contributor III

Hello

 

      This is a temporary solution, I re-install S32 design studio, This situation disappeared.

       I didn't know why!

       

0 Kudos

894 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

If this problem occurs again, it is recommended to record the screen and upload it to me, so that it can be reported to the IDE team to check the reason.

0 Kudos

944 Views
TomLightning
Contributor III

Hi,

the processor creates two files named mux.h and mux.c. In this files it saves your pin configuration. If you have problems with the processor you can add a pin configuration in the mux.c by yourself (The example below shows two configurations... just copy one of them and change it for your purpose):

pin_settings_config_t g_pin_mux_InitConfigArr[NUM_OF_CONFIGURED_PINS] =
{ 
    {
        .base          = PORTC,
        .pinPortIdx    = 1u,
        .pullConfig    = PORT_INTERNAL_PULL_NOT_ENABLED,
        .passiveFilter = false,
        .driveSelect   = PORT_LOW_DRIVE_STRENGTH,
        .mux           = PORT_MUX_AS_GPIO,
        .pinLock       = false,
        .intConfig     = PORT_INT_EITHER_EDGE,
        .clearIntFlag  = false,
        .gpioBase      = PTC,
        .direction     = GPIO_INPUT_DIRECTION,
        .digitalFilter = false,
    },
    {
        .base          = PORTE,
        .pinPortIdx    = 0u,
        .pullConfig    = PORT_INTERNAL_PULL_NOT_ENABLED,
        .passiveFilter = false,
        .driveSelect   = PORT_LOW_DRIVE_STRENGTH,
        .mux           = PORT_MUX_AS_GPIO,
        .pinLock       = false,
        .intConfig     = PORT_INT_EITHER_EDGE,
        .clearIntFlag  = false,
        .gpioBase      = PTC,
        .direction     = GPIO_INPUT_DIRECTION,
        .digitalFilter = false,
    }
}

But be sure, that the definition of 

NUM_OF_CONFIGURED_PINS = 0x02U

 in the mux.h file matches the number of pin configurations in the array above.

Best regards

Tom

0 Kudos