GPIO Test on a C64: PASS
Posted on July 10, 2012 in Category: Blog - 0 Comments
![GPIO Testing on a Commodore 64 GPIO Testing on a Commodore 64](/images/Blog/GPIO-Test.jpg)
Today I tested the General-purpose I/O which the AVR uses to talk to the C64 on the user port. In this test, I wrote a quick BASIC program that changes the state of the user port lines, counting from 0 to 255 and outputting that value on the user port. Then I had a program running on the AVR that monitored the GPIO state and output it to a serial line which I monitored on my PC.
The test passed, but had one strange anomaly. Every time I changed bit 4 from low to high, there would be this long delay. Not sure what that's about, but I'll get it figured out. It might be a bad solder connection or perhaps one of my traces.
This design is not yet final because I am likely moving to another chip which won't require this feature. However, I may still include it in the next design as a user-programmable I/O. All the other peripherals on board will likely be connected without the need for the GPIO.
Post a comment.
Notable Posts.
![Comet+ Prototypes Ready to Show at CommVEx Comet+ Prototypes Ready to Show at CommVEx](/images/nifty/CometPlus-CommVEx.jpg)
![Comet+ Prototype Boards Have Arrived Comet+ Prototype Boards Have Arrived](/images/blog/CometPlusProto-92.jpg)
![Name of Comet 2.0 Will Be Comet+ Name of Comet 2.0 Will Be Comet+](/images/CometSquare-Gray.jpg)
![Comet 2.0 Block Diagram Comet 2.0 Block Diagram](/images/nifty/Comet2Block.jpg)
![Custom Arduino Bootloader Test: PASS Custom Arduino Bootloader Test: PASS](/images/nifty/CometBootloader.jpg)
![Comet 2.0 Comet 2.0](/images/CometSquare-Gray.jpg)
![Wi-fi Prototype Shown at ECCC 2011 Wi-fi Prototype Shown at ECCC 2011](/images/CometSquare-Gray.jpg)
![Comet64 Upgrade Prototype Comet64 Upgrade Prototype](/images/nifty/Comet64UpgradePrototype.jpg)