This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EINT1 example on MCB2103 and blinky example

first :
For some reason there are NO pullup resistors on the MCB2103 board pin GPIO 0.17 and 0.18 both are open drain outputs.
Thats why 2 leds will not blink with the blinky example.

If you try the example from
http://www.keil.com/download/docs/232.asp?bhcp=1 (blinky_irq ) it will not run on the MCB2103 board, the LPC2103 seems to have another PINSEL0 definition than LPC2104 !
to get it working on the board change the line PINSEL0 = 2 << 28 to
line PINSEL0 = 1 << 28

The Pin connect block dialog in uVision will show DCD1 ,this is becorse the dialog does not match the LPC2103 pinsel0 definition, however the app. will run ON THE TARGET MCB2103 only.

I hope philips soon releases its LPC2103 user manual.

PINSEL0 = 2 << 28 on the MCB2103 board will cause the pin function to be SPI CLK out, for that reason you will see the EINT pin been pulled low when you try to run the unmodified blinky_irq example on an MCB2103 .