Hi all I have some basic questions concerning the LPC2114: 1. If I want to be able to JTAG debug my code RTCK has to be used as a dedicated JTAG enable/disable during boot pin right? 2. Assuming the above is correct... I pull RTCK low during reset and all JTAG pins are forced into JTAG mode (TDI, TDO, RTCK, TRST, TMS, and TCK) is there a way to use these pins as either inputs or outputs while still having JTAG capability? Could I for instance connect LED's to some (all?) of these pins and then when I'm finished with JTAG debugging I can control LED's as "usual"? 3. I'm planning to use the TRACESYNC pin as an output driving a multiplexer select line and from what I'm reading in the datasheet (Internal pull-up) there's no need for me to connect a pull up on this pin to avoid the "mystical debug interface" to be triggered during reset. Is this correct? 4. I want to connect an SD card to SPI0 so the SPI0 interface has to operate in master mode is it correct that one has to connect SSEL0 to +3V in order to force MASTER mode and then use a regular output pin as the chip select on the SD card ? 5. I also would like to connect an Atmel data flash to SPI1 I assume I also have to connect SSEL1 to +3V to force master? 6. I would like to use the full modem port on UART1 but not wanting to use an additional multiplexer in my design I have connected P0.14 to a switch with a pull up resistor so I can take the pin low during reset. My DCD output from the modem is connected to P0.16 (EINT-0) so I should be able to have an interrupt when the DCD toggles but is the EINT pins active high or low (or even better can this be specified in software?) 7. As I understand it nearly all pins have 5V tolerance due to an internal diode to VCC... I have a resistor divider where I have an input range of 10 to 20V into a 120K resistor and a 22K to ground if how ever the input voltage should rise above 20V to for instance 30V my resistor divider would output 4.6V shouldn't the internal diode protect the ADC from burning up in flames :) ? As I see it the internal diode would consume ((4,6V-(VCC+Vdforward))/120K). Unfortunately I do not have the full datasheet so I don't know the Vdforward so I'm assuming a shottky with 200mV into the following formula: Ipin = ((4,6V-(3V+200mV))/120K) = approx 12uA which doesn't sound like enough to make flames if there is an internal diode in the chip!? 8. Does any one have the full datasheet the only thing I was able to find was a 33 page datasheet on the webpage? Thanks for reading and sharing your comments! Best regards Lasse Madsen
Message
LPC2114 - basic questions
2004-09-17 by Lasse Madsen
Attachments
- No local attachments were found for this message.