Hello,
my setup consists of a SC835W-SOM board and the BRKOUT breakout board.
I successfully am able to activate GPIO pins PC_1, PC_2 & PC_3, which normally would be connected to the three LEDs on the SOMCRR EZKIT.
When trying to enable output on any other pin (e.g. PC_11), I am however not able to observe any voltage on the breakout board.
Am I missing a step?
My main function looks like this
int main(void) { uint32_t gpioMaxCallbacks; static uint8_t gpioMemory[GPIO_MEMORY_SIZE]; adi_gpio_Init((void*)gpioMemory, GPIO_MEMORY_SIZE, &gpioMaxCallbacks); adi_gpio_SetDirection(ADI_GPIO_PORT_C, ADI_GPIO_PIN_11, ADI_GPIO_DIRECTION_OUTPUT); adi_gpio_SetDirection(ADI_GPIO_PORT_C, ADI_GPIO_PIN_2, ADI_GPIO_DIRECTION_OUTPUT); adi_gpio_Set(ADI_GPIO_PORT_C, ADI_GPIO_PIN_11); adi_gpio_Set(ADI_GPIO_PORT_C, ADI_GPIO_PIN_2); while (1); return PASSED; }
I measure 3.3V at header P4, pin 45 (which is connected to PC_2), but 0V at header P5, pin 6 (which is connected to PC_11).
I am glad for any help regarding this topic!