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?
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\
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.