S32DS processor expect configure question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32DS processor expect configure question

1,481件の閲覧回数
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?

     

タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,462件の閲覧回数
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 件の賞賛
返信

1,438件の閲覧回数
asd046012
Contributor III

Hello

 

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

       I didn't know why!

       

0 件の賞賛
返信

1,422件の閲覧回数
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 件の賞賛
返信

1,472件の閲覧回数
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 件の賞賛
返信