AnsweredAssumed Answered

S32K144   LPUART1 is not working under pin PTD13 and PTD14

Question asked by 海雄 周 on Nov 2, 2017
Latest reply on Nov 8, 2017 by Martin Kovar

in the example of "Ipuart_echo_s32k144", the orignal pin PTC6 and PTC7 are working under the example codes. Now, I am trying to change the pin to PTD13 and PTD14, then it is not working. So, what should I change the code to make it works? 

 

I have changed the code as below:

 {
        .base          = PORTD,
        .pinPortIdx    = 14u,
        .pullConfig    = PORT_INTERNAL_PULL_NOT_ENABLED,
        .passiveFilter = false,
        .driveSelect   = PORT_LOW_DRIVE_STRENGTH,
        .mux           = PORT_MUX_ALT3,
        .pinLock       = false,
        .intConfig     = PORT_DMA_INT_DISABLED,
        .clearIntFlag  = false,
        .gpioBase      = NULL,
    },
    {
        .base          = PORTD,
        .pinPortIdx    = 13u,
        .pullConfig    = PORT_INTERNAL_PULL_NOT_ENABLED,
        .passiveFilter = false,
        .driveSelect   = PORT_LOW_DRIVE_STRENGTH,
        .mux           = PORT_MUX_ALT3,
        .pinLock       = false,
        .intConfig     = PORT_DMA_INT_DISABLED,
        .clearIntFlag  = false,
        .gpioBase      = NULL,
    },

 

Outcomes