Hi,
I am using the LPC1313FBD48/01 controller to toggle some LEDs. I am using the LPCOpen library.
I observed in the GPIO registers that some GPIO outputs are not getting set (IOCON_PIO0_11 and IOCON_PIO1_10). Using the same procedure I am able to toggle the pin IOCON_PIO1_1.
Please suggest me what may be the issue.
Thanks and Regards.
已解决! 转到解答。
Hi,
I was able to find a workaround. The problem is seen when I use the Chip_GPIO_SetDir function to set the pin directions instead of Chip_GPIO_SetPinDIROutput. The Chip_GPIO_SetDir function doesn't seem to set the direction bits for some pins properly. However, I couldn't find the reason for the same.
Thanks and Regards.
Hi,
I was able to find a workaround. The problem is seen when I use the Chip_GPIO_SetDir function to set the pin directions instead of Chip_GPIO_SetPinDIROutput. The Chip_GPIO_SetDir function doesn't seem to set the direction bits for some pins properly. However, I couldn't find the reason for the same.
Thanks and Regards.