Author |
Topic |
|
jlynch
22 Posts |
Posted - 16 Aug 2004 : 07:44:53
|
Hi,
I'm using the the graphics client plus running on linux 2.4.19 kernel.
I need to configure J7 pin 31 (PA7) as a digital output pin. I am using the ADSSmartIO wrapper library.
SIOReadFirmwareVersion() returns 0x4020 SIOReadDeviceVersion() returns 0x0034
I am configuring the port as follows: SIOSelectOption(3); SIOInitDDRA(0x80); /*PA7 as output */ SIOWritePortA(0x80);
SIOReadPortA() always returns 0x00 no matter what I write to the port.
The driver does not return any error when sellecting option 3. Is option 3 supported for this version?
Thanks, John.
|
Edited by - jlynch on 16 Aug 2004 08:01:31 |
|
jlackey
213 Posts |
Posted - 16 Aug 2004 : 10:11:49
|
Hi John,
With a standard GC+ evaluation board, the ADSmartIO firmware will support digital I/O on port A. Unfortunately, you are not running the standard firmware. You have special firmware that has the back light control (Vee) reveresed. Your version dose not support Option 3 or Digital I/O on Port A. If the reveresed back light control is something you require, why don't you use one of the other Ports for digital I/O? |
|
|
jlynch
22 Posts |
Posted - 16 Aug 2004 : 10:42:46
|
Hi,
Thanks for the quick reply.
I'm not sure why we require the back light control reversed. Does this depend on the back light inverter used? Do you have nay further information in this?
The only reason I am using PA7 is my hardware has been wired up to use PA7 as a digital output.
With my current firmware, can I use port B or port C as an output using option 2?
I may find it difficult to modify my hardware to use another port. If I find that the reversed back light control is not needed, how do I go about using port A? Do I need a firmware upgrade?
Thanks, John. |
|
|
jlackey
213 Posts |
Posted - 16 Aug 2004 : 10:53:03
|
Hi John,
Since your configuration is different from everyone elses, let's continue this discussion offline. I'll contact you by e-mail. |
|
|
|
Topic |
|
|
|