Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lpc1769-pin-usage-1-5 [2017/01/25 15:45]
arthur
lpc1769-pin-usage-1-5 [2017/01/25 15:53] (current)
arthur
Line 94: Line 94:
 || P4.28 || - || Pad15 || play/pause led || play/pause led || || || P4.28 || - || Pad15 || play/pause led || play/pause led || ||
 || P4.29 || - || Pad16 || epsilon_en_pin ​ || ##blue|beta max endstop## || 1.0: spare on 3 and 4 driver ​ || || P4.29 || - || Pad16 || epsilon_en_pin ​ || ##blue|beta max endstop## || 1.0: spare on 3 and 4 driver ​ ||
 +
 +**NOTE** The //​italicized//​ pins are hardcoded and would need to be changed in the source code (P0.2, P0.3, P0.6 - P0.9, P0.29, P0.30, P2.9, P2.10) The rest are soft configurable in config.
 +**v1.5 NOTES** The ##​blue|blue##​ tagged pins have had their function changed for Smoothieboard v1.5
 +
 +== Edison Pin Usage:
 +||~ Chip Pin ||~ Module Pin ||~ Breakout Pin ||~ Arduino Pin ||~ Smoothieboard 1.5 ||~ Comment ||
 +|| GP109 || 55 || J17.11 ||  || spi5 sck ||  ||
 +|| GP110 || 53 || J18.10 ||  || spi5 ssel a ||  ||
 +|| GP111 || 51 || J17.10 ||  || spi5 ssel b ||  ||
 +|| GP114 || 59 || J18.11 ||  || spi5 misi ||  ||
 +|| GP115 || 57 || J17.12 ||  || spi5 moso ||  ||
 +|| GP129 || 63 || J18.12 || D4 ||  || connected to mcu reset ||
 +|| GP130 || 61 || J18.13 || D0 || uart1 rx || connected to mcu uart1 txd ||
 +|| GP131 || 46 || J19.8 || D1 || uart1 tx || connected to mcu uart1 rxd ||
 +|| || || || || || ||
 +|| GP77 || 60 || J19.12 ||  || - || host breakout: sd0 cd ||
 +|| GP78 || 58 || J20.11 ||  || - || host breakout: sd0 clk ||
 +|| GP79 || 62 || J20.12 ||  || - || host breakout: sd0 cmd ||
 +|| GP80 || 66 || J20.13 ||  || - || host breakout: sd0 d0 ||
 +|| GP81 || 70 || J20.14 ||  || - || host breakout: sd0 d1 ||
 +|| GP82 || 64 || J19.13 ||  || - || host breakout: sd0 d2 ||
 +|| GP83 || 68 || J19.14 ||  || - || host breakout: sd0 d3 ||
 +|| GP84 || 44 || J20.8 ||  || - || host breakout: sd0 clk fb ||
 +|| GP134 || 22 || J20.3 ||  || - || host breakout: uart2 rxd ||
 +|| GP135 || 27 || J17.5 ||  || - || host breakout: uart2 txd ||
 +|| || || || || || ||
 +|| GP40 || 52 || J19.10 ||  || - || panel breakout: spi2 sck ||
 +|| GP41 || 54 || J20.10 ||  || - || panel breakout: spi2 ssel ||
 +|| GP42 || 50 || J20.9 ||  || - || panel breakout: spi2 moso ||
 +|| GP43 || 56 || J19.11 ||  || - || panel breakout: spi2 misi ||
 +||  ||  ||  ||  ||  || panel breakout: enc a ||
 +||  ||  ||  ||  ||  || panel breakout: enc b ||
 +||  ||  ||  ||  ||  || panel breakout: click ||
 +||  ||  ||  ||  ||  || panel breakout: button ||
 +||  ||  ||  ||  ||  || panel breakout: buzz ||
 +
 +== FPGA Pin Usage:
 +||~ FPGA Pin ||~ Papilio Pin _
 +One/Pro/Duo ||~ Zpuino Pin ||~ Smoothieboard 1.5 ||~ Comment ||
 +|| B1.40P || BH3 || P62 || mcu clkout ||  ||
 +|| B1.40N || osc in || - || osc in ||  ||
 +|| B2.1P ||  ||  || spi0 sck || main fpga spi slave port ||
 +|| B2.1N ||  ||  || fpga m0 || tied high for serial slave programming ||
 +|| B2.3P ||  ||  || spi0 mosi || main fpga spi slave port ||
 +|| B2.3N ||  ||  || spi0 miso || main fpga spi slave port ||
 +|| B2.13P ||  ||  || fpga m1 || tied high for serial slave programming ||
 +|| B2.56P ||  ||  || fpga init || tied high to boot immediately ||
 +|| B2.65N ||  ||  || spi0 ssel || main fpga spi slave port ||
 +
 +== Summary:
 +* 1.5 new functions: dac, 5v pwm out, edison uart, 2 servos; optional function (not populated and pins free by default): rs485
 +* the 5 enable pins will go on an 8 pin i2c io expander (PCA9554B); MS1, MS2, and RESET/SLEEP stepper pins will have pull-ups to expander pins
 +* expander pins unassigned: 0
 +* mcu pins spared without fpga: 2
 +* mcu pins spared without edison: 2
 +* mcu pins unassigned: 0
 +* functions unassigned: 0
 +* for rrd display support recommended that rs485 pins be used for encoder and two fpga pins be used for buttons
 +* balance: 0 mcu pins remaining
 +* I'm pretty sure this is currently 1 pin short of full backwards compatibility