Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | Re: Using TRST (P1.31) as GPIO on LPC2148

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Re: Using TRST (P1.31) as GPIO on LPC2148 - Thiago - Nov 8 5:05:46 2007

Maybe this informations can help you:

Take a look at LPC2148 User Manual, page 80: PINSEL2 register, bit 2,
is used to set the direction of PIN 1.36-1.26
The GPIO 1.23 is controlled by bit 3 of PINSEL2.

If P0.31 were externally pulled low, when reset, the JTAG is going to be
disabled (page 72).

Thiago Lima.
Electrical Engineer

ashwin athani wrote:
>
> Hi all,
>
> Has anybody been able to use the TRST pin (P1.31) as GPIO?
>
> We have been trying this for quite some time and cannot figure out how
> to use this line as GPIO. Can this pin be used as GPIO? I think it
> should be possible to configure it as GPIO.
>
> I am using macraigor 20 pin JTAG and CrossWorks IDE. Intially I
> suspected the possible reason for not being able to control the GPIO
> is the fact the this line belongs to the JTAG interface and therefore
> the IDE might be overriding our settings.
>
> To rule this out, I configured the project in 'FLASH Release', this
> seems to make no difference in the behaviour.
>
> The intialization code (GPIO configuration) seems to ok, as I am able
> to control other GPIO namely P1.23. But sounds like there is something
> that we are missing. Also we have configured the PINSEL2 appropriately.
>
> Please note that I am trying to use them as FAST i/o (FIO).
> Any suggestions and help will be highly appreciated.
>
> Thanks in advance :)
>
> Warm regards
> Ashwin
>
> __________________________________________________
> [Non-text portions of this message have been removed]
>
>



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