Author |
Topic |
|
adal01
11 Posts |
Posted - 10 Jun 2010 : 15:47:32
|
I'm using the BitsyXB and the the ADSSmartIO Driver.
The Driver has been setup to use Option#3 via the "SIOSelectOptions() funtion. This all works well.
However, I need to access Port A (PA0) as an Analog input. Since we are using this line to monitor the battery voltage from our custom board. Using Port A (PA0) as an input is only available for Option #2 in the ADSSmartIO Driver. As I stated earlier we are using option #3 for everything else.
Is there a way to keep the ADSSmartIO driver using Option #3, and still get access to Port A (PA0) Analog input?
Any help on this issue would be appreciated.
|
|
twhite
133 Posts |
Posted - 10 Jun 2010 : 16:01:50
|
adal01, we have received your forum post and will respond asap. We appreciate your patience. |
 |
|
twhite
133 Posts |
Posted - 10 Jun 2010 : 16:03:35
|
Actually, I hit Submit Reply too quickly. Sorry.
Could you let us know which OS version you are using? Thank you. |
 |
|
adal01
11 Posts |
Posted - 11 Jun 2010 : 07:45:07
|
Hi twhite,
Here is the version info that I get from the BitsyXB system when it boots up.
Microsoft Windows CE Ver. 5.0 (build 0)
Windows CE Ver.(5.00.39 BX270_Pro_HIVE) Bootloader Version 2.12 ADSLOAD.HWT Version 0x00000000 ADSLOAD.REG Version Not Available CPLD Version 6 AVR Version 10 6\
Hope this helps Allen |
 |
|
akidder
1519 Posts |
Posted - 11 Jun 2010 : 12:35:22
|
Thank you for the details. I believe you will find that the A/D inputs on Port A will work in any mode. Give it a try.
The SIOSelectOption() API was deprecated some time ago, and you shouldn't need to use it anymore. Take a look at the addenda to the SmartIO driver documentation at topic 306 for further information. |
 |
|
|
Topic |
|