I'm using the TWI module. Where can I set whether the DSA SCL pins have the internal pull-up enabled or disabled? I can't even find where to see if they are enabled at all.
I'm using the TWI module. Where can I set whether the DSA SCL pins have the internal pull-up enabled or disabled? I can't even find where to see if they are enabled at all.
Hi
Are you using the TWI driver in the SDK?
The TWI pins are configured on line 222 and 229 of twi_hw_master.c, and by default the internal pullups are enabled.
You can change this by replacing GPIO_PIN_CNF_PULL_Pullup with GPIO_PIN_CNF_PULL_Disabled for both of these pins.
Hi
Are you using the TWI driver in the SDK?
The TWI pins are configured on line 222 and 229 of twi_hw_master.c, and by default the internal pullups are enabled.
You can change this by replacing GPIO_PIN_CNF_PULL_Pullup with GPIO_PIN_CNF_PULL_Disabled for both of these pins.