Hi, I2C normally needs pullup's regardless of the implementation ... Markus nevelian schrieb: > > Hi, > > I want to use P0.2 (SCL) & P0.3 (SDA) as GPIO, and are using the > following code; > > PINSEL0 = 0x00000005; > PINSEL1 = 0; > IODIR = 0xFFFFFFFF; > IOSET = 0xFFFFFFFF; > > According to the datasheet I should have setup P0.0 & P0.1 as Uart > pins and the rest as GPIO. > > The UART works, as do GPIO P0.4 - P0.31, but why aren't P0.2 & P0.3 > outputing high (or do they need pullups)? > > Rob > > > > > > > > Yahoo! Groups Links > > > > > > > > -- Mit freundlichen Gr\ufffdssen Markus Meng ************************************************************************ ** Meng Engineering Telefon 056 222 44 10 ** ** Markus Meng Natel 079 230 93 86 ** ** Bruggerstr. 21 Telefax 056 222 44 34 ** ** CH-5400 Baden Email markus.meng@... ** ** Web www.meng-engineering.ch ** ************************************************************************ ** You cannot create experience. You must undergo it. Albert Camus **
Message
Re: [lpc2000] P0.2 & P0.3 problems
2004-12-19 by Markus Meng
Attachments
- No local attachments were found for this message.