Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Dragon 12 potentiometer

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Dragon 12 potentiometer - mkarthik_reddy - May 11 14:27:47 2007

Hi all,
I have a problem when trying to read the analog value from the
onboard potentiometer on Dragon 12(mc9s12dp256).I came to know that
the potentiometer is internally connected to pad07 and the result is
stored in the adr00h register.I tried to display it on the LCD.It
gives a blank space.These are my ATDCTL config words

_io_reg[atd0ctl2]=0x80;
_io_reg[atd0ctl3]=0x08;
_io_reg[atd0ctl4]=0x80;
_io_reg[atd0ctl5]=0x27;

I tried connecting the vrh and vrl to 5v and 0v respectively but still
didnt work out.

Could anybody suggest how i can read values from the pot.
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )