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

I/O expander pins on thingy52

I'm having problems with toggling the EXT0 pin on my thingy:52.

I have tried with setting the EXT0 as an output like this:

drv_ext_gpio_cfg_output(SX_IOEXT_0);

And then i'm trying to toggle the EXT0 like this inside a loop that is trigged every 5 second:

drv_ext_gpio_pin_toggle(SX_IOEXT_0);

I have connected EXT0 to an external diode to see if its lights, but nothing happens.
I'm printing out stuff inside the loop, so I know that it is entering the loop and I have tested that the diode works as well.

Can anyone see if a missing some detail to get the EXT0 to toggle?

I have used the FW 2.2.0 for the thingy and did some adjustment from there.
I am using the GNU Tools ARM Embedded 4.9 2015q3 for compiling.

 

 

Parents Reply Children
No Data
Related