This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it possible to use GPIOTE in OpenDrain mode?

Hi,

is it possible to use the GPIOTE in OpenDrain mode?

I want to use the Timer with an GPIO. So i use GPIOTE with PPI connected to the Timer. This works. But my Pin Configuration has to be in Open Drain mode.

so: H0D1 setting in pin configuration register.

GPIOTE overwrites this setting. Is it only possible to switch between high and low in output mode?

thanks

Philipp

Parents
  • Hi there,

    GPIOTE will control the direction of the pin (in/out) once it is enabled but it should inherit the other settings like drive strength from GPIO configuration. So if you first configure the pin with GPIO registers to have correct drive strength, and then configure GPIOTE , i think it should work fine in your case. I have not tested this though.

Reply
  • Hi there,

    GPIOTE will control the direction of the pin (in/out) once it is enabled but it should inherit the other settings like drive strength from GPIO configuration. So if you first configure the pin with GPIO registers to have correct drive strength, and then configure GPIOTE , i think it should work fine in your case. I have not tested this though.

Children
No Data