Hello,
I have a question regarding the calling of the GPIO drivers from user space. The normal GPIO driver would be reached over GIO1 and the TCA6416 ones over GIO2-GIO4.
Is it only possible to get connected to the TCA6416 functions directly over DeviceIoControl functions or also over GPIOOpen etc.? And am I right that the GPIO numbers from the TCA6416 would be added to the end of the "on-board" GPIOs? In the case of the AM35x they should begin at 193?
When I use the GPIO test program from the AM3517 BSP 1.2.0 (which uses GPIOOpen, GPIO...), it gets to the IOCTL_DDK_GET_DRIVER_IFC (tca6416_gpio.cpp) control with the following error message:
ERROR: GIO_IOControl: IOCTL_DDK_GET_DRIVER_IFC can be called only from device process (caller process id 0x00400002)
And IOCTL_GPIO_SETBIT or IOCTL_GPIO_CLRBIT are never called (tca6416_gpio.cpp).
Thanks ahead!