Have you read section 5.1 and 5.2 of the TS-7200 User's Manual on the
EP9302 A/D converter? TS outline the steps needed to read the ADC. In my
copy of this manual there is no mention of using the addresses 0x8084_0018
and 0x8084_0008
I'm not sure if TS have sample code for accessing the EP9302 A/D
converters.
On Thu, 8 Jan 2009, kcfarleysw wrote:
> Linux/Arm Newbie Lost in IO Land:
>
> I am trying to both read and write to pin 4 of DIO1 Header and have no
> success.
>
> The schematic shows it only going to ADC0 of EP9301 [Sheet 1 of 4] but
> the TS7200 Manual Says other wise. Does Pin 4 go to PortC bit0? If so
> how do I use it for reading? I had no success configuring direction
> for read and reading using the peekpoke routine?
>
> The Pin 4 of the DIO1 Header, in the default configuration, is
> accessed via bit 0 of Port C
> in the EP9302. The address location 0x8084_0008 is Port C Data
> Register and
> 0x8084_0018 is Port C Directon Register.
>
> Table: DIO1 Header Pin Configuration
> DIO1 Pin Default Signal TS-7200
> 1 DIO_0
> 2 GND
> 3 DIO_1
> 4 Port_C0 ADC0
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|