Re: [NRF52840] GPIO 1 problem


pawel.dunaj@...
 

Hi,
NRF_GPIO_PIN_MAP will effectively change pin number from 6 to (32+6). This would be ok if you use nrfx but when you use Zephyr GPIO API you should use pin id as is. So you should write to CONFIG_GPIO_P1_DEV_NAME device using pin 6.
I.e. do not use NRF_GPIO_PIN_MAP macro.
Thanks,

Join devel@lists.zephyrproject.org to automatically receive all group messages.