MBED pin mapping

LPC1768

  • p5 = P0_9 MOSI
  • p6 = P0_8 MISO,
  • p7 = P0_7 SCK,
  • p8 = P0_6 (SSEL)
  • p9 = P0_0 TXD3/SDA1, CAN_RX2
  • p10 = P0_1 RXD3/SCL1, CAN_TX2
  • p11 = P0_18 MOSI0
  • p12 = P0_17 MISO0
  • p13 = P0_15 SCK0 TXD1
  • p14 = P0_16 (SSEL0) RXD1
  • p15 = P0_23, Ain
  • p16 = P0_24, Ain
  • p17 = P0_25, Ain
  • p18 = P0_26, Ain, Aout
  • p19 = P1_30, Ain
  • p20 = P1_31, Ain
  • p21 = P2_5, PWM
  • p22 = P2_4, PWM
  • p23 = P2_3, PWM
  • p24 = P2_2, PWM
  • p25 = P2_1, PWM, RXD1
  • p26 = P2_0, PWM, TXD1
  • p27 = P0_11, RXD2, SCL2
  • p28 = P0_10, TXD2, SDA2
  • p29 = P0_5, CAN_TX2
  • p30 = P0_4, CAN_RX2

Note that the slave select lines (SSEL) are present and usable despite not being marked on MBED drawings. If selected they provide an automatic chip-select signal.

  • LED1 = P1_18, PWM
  • LED2 = P1_20, PWM
  • LED3 = P1_21, PWM
  • LED4 = P1_23, PWM
  • USBTX = P0_2, TXD0, ISP
  • USBRX = P0_3, RXD0, ISP


Please log in to post comments.