Altera_Forum
Honored Contributor
16 years agoDE0 board, mysterious LED behavior
I've recently been testing out a daughtercard I made for the DE0 board which includes a motor driver and connector for a quadrature encoder. I was testing some code I wrote to decode the quadrature signals, and it seemed to work fine, but I noticed that as the count value changed (I had it displayed on the 7seg digits), several of the user LEDs were changing state.
According to the documentation on the DE0, these LEDs are controlled directly by the FPGA, but I confirmed that the pins controlling them were not configured in my pin planner. So I tried tying them to ground in my design and trying it again. Now those LEDs were turned off, but a couple other LEDs were now blinking similarly. I can find no explanation for this weird behavior, and it really bugs me that the FPGA is controlling I/Os in unpredictable ways. Does anyone have any ideas what could be causing this? Thanks in advance.