Eddie Dawydiuk wrote:
> These pins can be used as GPIO pins or used for DMA. The bootrom for the
> TS-7300 uses DMA, so by default these pins are configured for DMA. You
> can refer to the keypad example code for an example of how to reconfigure
> these pins as GPIO pins.
>
> http://www.embeddedarm.com/downloads/samplecode/keypad.c
> <http://www.embeddedarm.com/downloads/samplecode/keypad.c>
>
> e.g.
> //Disable DMA on GPIO
> *(syscon + SFTWR_LCK) = 0xAA;
> *(syscon + DEVICE_CFG) = 0x08140d00;
Interesting. Does a similar situation exist on the TS-7250? I need to use all
of the pins on DIO1 as GPIO pins. ie. odd numbered pins on the DIO1 header to
be outputs except pin 15 which will be an input.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
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/
|