change spec to select correct interfaces
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 6 Mar 2018 07:00:48 +0000 (07:00 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 6 Mar 2018 07:00:48 +0000 (07:00 +0000)
shakti/i_class/pinouts.mdwn
shakti/i_class/pinouts.py

index 56c42a75f00b0bceb70ea495625b3246f99a99bc..f12744a34fc243d3678d175cb2cf62c0d65df548 100644 (file)
@@ -434,31 +434,39 @@ ULPI (USB Low Pin-count) 0
 * JTAG0_DO 56 D8/1
 * JTAG0_CK 57 D9/1
 
-## UART0
+## D1:UART0
 
-* UART0_TX 8 A8/1
-* UART0_RX 9 A9/1
+* UART0_TX 58 D10/1
+* UART0_RX 59 D11/1
 
-## SPI0
+## C1:SPI0
 
-* SPI0_CLK 0 A0/1
-* SPI0_NSS 1 A1/1
-* SPI0_MOSI 2 A2/1
-* SPI0_MISO 3 A3/1
+* SPI0_CLK 44 C12/1
+* SPI0_NSS 45 C13/1
+* SPI0_MOSI 46 C14/1
+* SPI0_MISO 47 C15/1
 
-## TWI0
+## D1:TWI0
 
-* TWI0_SDA 12 A12/1
-* TWI0_SCL 13 A13/1
+* TWI0_SDA 60 D12/1
+* TWI0_SCL 61 D13/1
 
 ## PWM
 
+* PWM_0 0 A0/2 
+* PWM_1 1 A1/2 
+* PWM_2 2 A2/2 
+* PWM_3 3 A3/2 
 * PWM_4 4 A4/2 
 * PWM_5 5 A5/2 
 * PWM_6 6 A6/2 
 * PWM_7 7 A7/2 
+* PWM_8 8 A8/2 
+* PWM_9 9 A9/2 
 * PWM_10 10 A10/2 
 * PWM_11 11 A11/2 
+* PWM_12 12 A12/2 
+* PWM_13 13 A13/2 
 * PWM_14 14 A14/2 
 * PWM_15 15 A15/2 
 * PWM_16 16 B0/2 
@@ -486,14 +494,6 @@ ULPI (USB Low Pin-count) 0
 |  41 |             | C ULPI0_D5  |             |             |
 |  42 |             | C ULPI0_D6  |             |             |
 |  43 |             | C ULPI0_D7  |             |             |
-|  44 |             | C SPI0_CLK  |             |             |
-|  45 |             | C SPI0_NSS  |             |             |
-|  46 |             | C SPI0_MOSI |             |             |
-|  47 |             | C SPI0_MISO |             |             |
-|  58 |             | D UART0_TX  |             |             |
-|  59 |             | D UART0_RX  |             |             |
-|  60 |             | D TWI0_SDA  |             |             |
-|  61 |             | D TWI0_SCL  |             |             |
 |  62 |             | D UART1_TX  |             |             |
 |  63 |             | D UART1_RX  |             |             |
 
index c166639359bd16c323cd814732b0af07b7e2883c..aaf458a44334abe70d4dffda8d8c2a0e32e37cab 100644 (file)
@@ -596,8 +596,8 @@ if __name__ == '__main__':
 
     robotics = ['FB', 'ULPI0/8', 
                 'SD0',
-                'JTAG0', 'UART0', 
-              'SPI0', 'TWI0']
+                'JTAG0', 'D1:UART0', 
+              'C1:SPI0', 'D1:TWI0']
     robotics_pwm = []
     for i in range(32):
         robotics_pwm.append('PWM_%d' % i)