fixedpins = {}
function_names = {
'PWM': 'PWM (pulse-width modulation)',
- 'MSPI2': 'SPI (Serial Peripheral Interface) Master 1',
- 'UART1': 'UART (TX/RX) 1',
- 'UART3': 'UART (TX/RX) 2',
- 'MMC1': 'SD/MMC 1',
- 'MMC2': 'SD/MMC 2',
+ 'MSPI0': 'SPI (Serial Peripheral Interface) Master 1',
+ 'MSPI1': 'SPI (Serial Peripheral Interface) Master 2',
+ 'UART0': 'UART (TX/RX) 1',
+ 'CLK': 'System Clock',
+ 'RST': 'Reset',
+ 'GPIO': 'GPIO',
+ 'EINT': 'External Interrupt',
+ 'PWM': 'PWM',
+ 'JTAG': 'JTAG',
+ 'SD0': 'SD/MMC 1',
+ 'SDR': 'SDRAM',
+ 'VDD': 'Power',
+ 'VSS': 'GND',
#'LPC1': 'Low Pincount Interface 1',
#'LPC2': 'Low Pincount Interface 2',
}
ps.vss("", ('N', 0), 0, 0, 1)
ps.vdd("", ('N', 1), 0, 0, 1)
ps.sdram1("", ('N', 2), 0, 0, 30)
- ps.vss("", ('N', 30), 0, 0, 1)
- ps.vdd("", ('N', 31), 0, 0, 1)
+ ps.vss("", ('N', 30), 0, 1, 1)
+ ps.vdd("", ('N', 31), 0, 1, 1)
- ps.vss("", ('E', 0), 0, 1, 1)
+ ps.vss("", ('E', 0), 0, 2, 1)
ps.sdram2("", ('E', 1), 0, 0, 12)
- ps.vdd("", ('E', 13), 0, 1, 1)
+ ps.vdd("", ('E', 13), 0, 2, 1)
ps.gpio("", ('E', 14), 0, 8, 8)
- ps.vss("", ('E', 23), 0, 1, 1)
+ ps.vss("", ('E', 23), 0, 3, 1)
ps.jtag("", ('E', 24), 0, 0, 4)
- ps.vdd("", ('E', 31), 0, 1, 1)
+ ps.vdd("", ('E', 31), 0, 3, 1)
- ps.vss("", ('S', 0), 0, 1, 1)
+ ps.vss("", ('S', 0), 0, 4, 1)
ps.clk("", ('S', 1), 0, 0, 1)
ps.rst("", ('S', 2), 0, 0, 1)
- ps.mspi("0", ('S', 3), 0)
- ps.uart("0", ('S', 7), 0)
- ps.vdd("", ('S', 31), 0, 1, 1)
+ ps.mspi("0", ('S', 4), 0)
+ ps.uart("0", ('S', 8), 0)
+ ps.gpio("", ('S', 14), 0, 0, 8)
+ ps.vdd("", ('S', 31), 0, 4, 1)
- ps.vss("", ('W', 0), 0, 1, 1)
+ ps.vss("", ('W', 0), 0, 5, 1)
ps.pwm("", ('W', 1), 0, 0, 2)
ps.eint("", ('W', 3), 0, 0, 3)
ps.mspi("1", ('W', 6), 0)
- ps.sdmmc("0", ('W', 10), 0)
- ps.vdd("", ('W', 31), 0, 1, 1)
+ ps.vdd("", ('W', 10), 0, 5, 1)
+ ps.sdmmc("0", ('W', 11), 0)
+ ps.vss("", ('W', 17), 0, 6, 1)
+ ps.vdd("", ('W', 31), 0, 6, 1)
#ps.mspi("0", ('W', 8), 0)
#ps.mspi("1", ('W', 8), 0)
# using "BM:Name". Pins are removed in-order as listed from
# lists (interfaces, EINTs, PWMs) from available pins.
- ls180 = ['ULPI0/8', 'ULPI1', 'MMC0', 'MMC2', 'SD0', 'UART0',
- 'TWI0', 'MSPI0', 'B3:SD1', ]
+ ls180 = ['SD0', 'UART0', 'GPIOS', 'GPIOE', 'JTAG', 'PWM', 'EINT',
+ 'VDD', 'VSS', 'CLK', 'RST',
+ 'TWI0', 'MSPI0', 'MSPI1', 'SDR']
ls180_eint = []
ls180_pwm = []#['B0:PWM_0']
descriptions = {
- 'MMC': 'internal (on Card)',
'SD0': 'user-facing: internal (on Card), multiplexed with JTAG\n'
'and UART2, for debug purposes',
'TWI2': 'I2C.\n',
'MSPI1': '',
'UART0': '',
'LPC1': '',
+ 'CLK': '',
+ 'RST': '',
'LPC2': '',
- 'MMC0': '',
+ 'SDR': '',
'B1:LCD/22': '18-bit RGB/TTL LCD',
'ULPI0/8': 'user-facing: internal (on Card), USB-OTG ULPI PHY',
'ULPI1': 'dual USB2 Host ULPI PHY'