This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1312R: Port configuration in TIRTOS7

Part Number: CC1312R
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I want to confirm that I do correct the port definition transition when I move to TIRTOS7 .

Old port configuration : PIN_INPUT_EN | PIN_PULLUP | PIN_HYSTERESIS

New port configuration : GPIO_CFG_IN_PU | GPIO_CFG_HYSTERESIS_ON

It is correct ?

Yaki

  • Hi Yaki, 

    You can check what SySconfig generates for the required settings of the GPIO. 

    I see that for setting up the pin as input mode, with a pull up and hysterisis enabled, the ti_drivers_config.c has:

    GPIO_CFG_INPUT_INTERNAL | GPIO_CFG_IN_INT_NONE | GPIO_CFG_PULL_UP_INTERNAL | GPIO_CFG_HYSTERESIS_ON

    Regards,

    Sid