-
Notifications
You must be signed in to change notification settings - Fork 3
Description
The circuit has been verified all the way through from the DSUB-15 to the Domino Core module's GPIO/LED pins.
The problem seems to be that the Atheros 9331's GPIO pins are not set to the correct mode.
If the pins are set to direction = in, and value=0 or value=1, then they always read 0, and the opto isolated inputs cause voltage swings between 0 and ~1.2V
If the pins are set to direction=out, and value=1, then the voltage is set to 2.5V, and drops to ~2.1V if an optoisolated input is activated.
The behaviour with direction=out makes sense, since the internal driver in the Ath9k is driving more strongly than the output from the opto isolator unit.
For direction=in, it seems that there is some pull-down resistor active, since we can never pull the voltage above 1.2V, even though the optoisolater pushes 3.3v (verified by disconnecting the opto output from the path to the Ath9k and measuring the voltage).
Thus it seems we might need to provide some pull-up resister to the output of the optoisolater, so that it can drive the voltage above ~1.5V, so that it is read as high instead of low when asserted.