Saturday, July 12, 2008

tests continued

Nice results in testing the GPIO as interrupt source coming from the input PCA ! I assembled the low level stuff in a DLL (SO) file and called from a test program. So the only thing I do is pushing/releasing a button connected with the first IO on the board.Below you can see some stdout printf which gives an idea :

0x00400000
negative edge I/O change detected
read --> 0x01 : 0x00 : 0x00 : 0x00 : 0x00

omit reset:
0x00600000 -> reset int
read --> 0x01 : 0x00 : 0x00 : 0x00 : 0x00

release:
0x00400000
negative edge I/O change detected
read --> 0x00 : 0x00 : 0x00 : 0x00 : 0x00

omit reset:
0x00600000 -> reset int
read --> 0x00 : 0x00 : 0x00 : 0x00 : 0x00

When the mask is 0x00400000 the button is pushed when the mask is 0x00600000 the button is released. Of course the positive edge will be omitted because this means that the interrupt is being cleared by the i2c readout.

The only thing left to test is the DAC values when the resistors are replaced. I also ordered a bigger SDRAM of 64Mb. Fingers crossed ;-)

No comments: