Hi,
I need a GPIO point accessible by a pin (that I can hang a scope probe onto) that is connected to the HPS. I need this on both the de0_nano_soc and sockit boards.
I thought I found such a pin on the LTC connector. On the de0 it is signal HPS_LTC_GPIO shown coming into Bank 7C, HPS_GPIO40 on the schematic.
I've used the Linux GPIO user space interface successfully to toggle the HPS_LED (HPS_GPIO53) and read HPS_KEY (HPS_GPIO54) signals on the board. For example, to toggle the LED:
# cd /sys/class/gpio
# echo 222 > export
# cd gpio222
# echo "out" > direction
# echo 1 > value # LED ON
# echo 0 > value # LED OFF
If I try the same thing with HPS_LTC_GPIO (GPIO40 - which maps to gpio209), and then measure the pin on the LTC connector, the voltage does not change (low milli-volts).
It looks like all the gpio ports are enabled in my device tree (the LED, KEY, and LTC_GPIO are on the same port anyway so if the LED and KEY work, would expect the LTC_GPIO to work too).
I've also tried to configure the pin as an input and connected it (through a resistor) to both 3.3v and GND and the input state doesn't change...
Can anybody suggest what I'm missing??
Thanks,
--George Broz
Moog Industrial Group
I need a GPIO point accessible by a pin (that I can hang a scope probe onto) that is connected to the HPS. I need this on both the de0_nano_soc and sockit boards.
I thought I found such a pin on the LTC connector. On the de0 it is signal HPS_LTC_GPIO shown coming into Bank 7C, HPS_GPIO40 on the schematic.
I've used the Linux GPIO user space interface successfully to toggle the HPS_LED (HPS_GPIO53) and read HPS_KEY (HPS_GPIO54) signals on the board. For example, to toggle the LED:
# cd /sys/class/gpio
# echo 222 > export
# cd gpio222
# echo "out" > direction
# echo 1 > value # LED ON
# echo 0 > value # LED OFF
If I try the same thing with HPS_LTC_GPIO (GPIO40 - which maps to gpio209), and then measure the pin on the LTC connector, the voltage does not change (low milli-volts).
It looks like all the gpio ports are enabled in my device tree (the LED, KEY, and LTC_GPIO are on the same port anyway so if the LED and KEY work, would expect the LTC_GPIO to work too).
I've also tried to configure the pin as an input and connected it (through a resistor) to both 3.3v and GND and the input state doesn't change...
Can anybody suggest what I'm missing??
Thanks,
--George Broz
Moog Industrial Group