Friday 5 July 2013

GPi box refactoring notes





Earlier I made a careless mistake of supposing gz_test tests SPI.  Actually I should have used the other core 16o8i to test GPIO at the same time indirectly making sure that SPI IO is working.

So this morning I did the 16o8i and found almost everything seems OK, except input bits 6, 7 not working.

I also tidied up the a bit messy wiring of the GPi box.

.END


pi@raspberrypi ~/Guzunty/Pi/src/gz_16o8i $ sudo gz_load gz_16o8i.xsvf
Guzunty loader v5.01, portions courtesy Xilinx, Inc.
XSVF file = gz_16o8i.xsvf
SUCCESS - Completed XSVF execution.
Execution Time = 10.440 seconds

pi@raspberrypi ~/Guzunty/Pi/src/gz_16o8i $ sudo ./gz_16o8i

Toggling all outputs.
Press 'n' for next test, any other key to stop.

...

Reading inputs.
Press any key to stop.


Input bit status
F E D C B A 9 8 7 6 5 4 3 2 1 0
                1 1 1 1 0 1 1 1

pi@raspberrypi ~/Guzunty/Pi/src/gz_16o8i $ date Fri Jul  5 02:53:30 UTC 2013

Bug - bits 6, 7 input not working!!!

.END

No comments:

Post a Comment