Commit 1a96aeb1 authored by nextime's avatar nextime

Update mOsso v1.1 for BBGW compatibility

parent 460a64e2
...@@ -22,19 +22,28 @@ ...@@ -22,19 +22,28 @@
/* BB Black uses (so, we cannot): /* BB Black uses (so, we cannot):
* P8 3-6, 20-25, 27-46 * P8 3-6, 20-25, 27-46
* P9 28,29,31 * P9 28,29,31
*
* BBGreen wireless uses also P8_14, P8_17, P8_26 for wlan enable IRQ
*
* So, free GPIO we can use are:
*
* P8: 7,8,9,10,11,12,13,15,16,18,19
* P9: 11-18,21-24,26,27,30
*
* Please, pay attention to UARTs, SPI, i2c and pwm!
*/ */
/* pins needed by the cape */ /* pins needed by the cape */
exclusive-use = exclusive-use =
"P8.12", /* Digital input 4 */ "P8.12", /* Digital input 4 */
"P8.14", /* Digital input 3 */ "P8.16", /* Digital input 3 */
"P8.11", /* Digital input 2 */ "P8.11", /* Digital input 2 */
"P8.15", /* Digital input 1 */ "P8.15", /* Digital input 1 */
"P9.12", /* Relay 1 */ "P9.12", /* Relay 1 */
"P9.15", /* Relay 2 */ "P9.15", /* Relay 2 */
"P9.23", /* Relay 3 */ "P9.23", /* Relay 3 */
"P8.9", /* Relay 4 */ "P8.9", /* Relay 4 */
"P8.26", /* RS485 ENA */ "P8.18", /* RS485 ENA */
/* References: /* References:
https://github.com/derekmolloy/boneDeviceTree/blob/master/docs/BeagleboneBlackP8HeaderTable.pdf https://github.com/derekmolloy/boneDeviceTree/blob/master/docs/BeagleboneBlackP8HeaderTable.pdf
...@@ -45,15 +54,15 @@ ...@@ -45,15 +54,15 @@
__overlay__ { __overlay__ {
osso_base_pins: pinmux_osso_base_pins { osso_base_pins: pinmux_osso_base_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
0x030 0x37 /* INPUT MODE7 pullup IN 1 */ 0x030 0x37 /* INPUT MODE7 pullup IN 4 */
0x028 0x37 /* INPUT MODE7 pullup IN 2 */ 0x038 0x37 /* INPUT MODE7 pullup IN 3 */
0x034 0x37 /* INPUT MODE7 pullup IN 3 */ 0x034 0x37 /* INPUT MODE7 pullup IN 2 */
0x03c 0x37 /* INPUT MODE7 pullup IN 4 */ 0x03c 0x37 /* INPUT MODE7 pullup IN 1 */
0x07c 0x07 /* OUTPUT MODE7 pulldown, RS485 ENA */
0x078 0x07 /* OUTPUT MODE7, pulldown REL 1 */ 0x078 0x07 /* OUTPUT MODE7, pulldown REL 1 */
0x090 0x07 /* OUTPUT MODE7, pulldown REL 2 */ 0x090 0x07 /* OUTPUT MODE7, pulldown REL 2 */
0x040 0x07 /* OUTPUT MODE7, pulldown REL 3 */ 0x040 0x07 /* OUTPUT MODE7, pulldown REL 3 */
0x044 0x07 /* OUTPUT MODE7, pulldown REL 4 */ 0x044 0x07 /* OUTPUT MODE7, pulldown REL 4 */
0x08c 0x07 /* OUTPUT MODE7 pulldown, RS485 ENA */
>; >;
}; };
}; };
......
...@@ -177,12 +177,12 @@ $EndComp ...@@ -177,12 +177,12 @@ $EndComp
$Comp $Comp
L BeagleBone_Black_Header P8 L BeagleBone_Black_Header P8
U 1 1 55DF7DE1 U 1 1 55DF7DE1
P 5400 2500 P 5400 2550
F 0 "P8" H 5400 3700 50 0000 C CNN F 0 "P8" H 5400 3750 50 0000 C CNN
F 1 "BeagleBone_Black_Header" V 5400 2500 50 0000 C CNN F 1 "BeagleBone_Black_Header" V 5400 2550 50 0000 C CNN
F 2 "Socket_BeagleBone_Black:Socket_BeagleBone_Black" H 5400 1650 60 0001 C CNN F 2 "Socket_BeagleBone_Black:Socket_BeagleBone_Black" H 5400 1700 60 0001 C CNN
F 3 "" H 5400 1650 60 0000 C CNN F 3 "" H 5400 1700 60 0000 C CNN
1 5400 2500 1 5400 2550
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Sheet $Sheet
...@@ -224,95 +224,10 @@ Text Label 3000 2550 0 60 ~ 0 ...@@ -224,95 +224,10 @@ Text Label 3000 2550 0 60 ~ 0
BB_TX BB_TX
Text Label 3000 2650 0 60 ~ 0 Text Label 3000 2650 0 60 ~ 0
BB_RX BB_RX
Wire Wire Line
2950 3550 3100 3550
Wire Wire Line
3100 3850 3100 3550
Wire Wire Line
2300 3850 3100 3850
Wire Wire Line
2300 3550 2300 3850
Wire Wire Line
2300 3550 2450 3550
Wire Wire Line
2450 3650 2300 3650
Connection ~ 2300 3650
Wire Wire Line
2950 3650 3100 3650
Connection ~ 3100 3650
Wire Wire Line
2700 3950 2700 3850
Connection ~ 2700 3850
Wire Wire Line
2950 1550 3100 1550
Wire Wire Line
3100 1550 3100 1250
Wire Wire Line
2950 1650 3300 1650
Wire Wire Line
3300 1650 3300 1250
Wire Wire Line
3550 1250 3550 1750
Wire Wire Line
3550 1750 2950 1750
Wire Wire Line
2450 1550 2300 1550
Wire Wire Line
2300 1550 2300 1250
Wire Wire Line
2450 1650 2100 1650
Wire Wire Line
2100 1650 2100 1250
Wire Wire Line
2450 1750 1850 1750
Wire Wire Line
1850 1750 1850 1250
Wire Wire Line
2950 1450 3750 1450
Wire Wire Line
2450 1450 1650 1450
Wire Wire Line
4900 1450 5150 1450
Wire Wire Line
5650 1450 5900 1450
Wire Wire Line
2950 2950 3300 2950
Wire Wire Line
3300 2950 3300 2850
Wire Wire Line
2950 3050 3300 3050
Wire Wire Line
2950 1850 3050 1850
Wire Wire Line
2450 1850 2350 1850
Wire Wire Line
2950 2650 3350 2650
Wire Wire Line
2950 2550 3350 2550
Wire Wire Line
8000 5200 7350 5200
Wire Wire Line
8000 5400 7350 5400
Text Label 7450 5200 0 60 ~ 0 Text Label 7450 5200 0 60 ~ 0
BB_TX BB_TX
Text Label 7450 5400 0 60 ~ 0 Text Label 7450 5400 0 60 ~ 0
BB_RX BB_RX
Wire Wire Line
8000 3450 7600 3450
Wire Wire Line
8000 3550 7600 3550
Wire Wire Line
8000 3650 7600 3650
Wire Wire Line
8000 3750 7600 3750
Wire Wire Line
8000 3950 7600 3950
Wire Wire Line
8000 4050 7600 4050
Wire Wire Line
8000 4150 7600 4150
Wire Wire Line
8000 4250 7600 4250
Text Label 7700 3450 0 60 ~ 0 Text Label 7700 3450 0 60 ~ 0
IN1 IN1
Text Label 7700 3550 0 60 ~ 0 Text Label 7700 3550 0 60 ~ 0
...@@ -329,43 +244,25 @@ Text Label 7700 4150 0 60 ~ 0 ...@@ -329,43 +244,25 @@ Text Label 7700 4150 0 60 ~ 0
REL3 REL3
Text Label 7700 4250 0 60 ~ 0 Text Label 7700 4250 0 60 ~ 0
REL4 REL4
Wire Wire Line
2950 1950 3900 1950
Text Label 3650 1950 0 60 ~ 0 Text Label 3650 1950 0 60 ~ 0
REL1 REL1
Wire Wire Line
2450 2150 1850 2150
Text Label 1900 2150 0 60 ~ 0 Text Label 1900 2150 0 60 ~ 0
REL2 REL2
Wire Wire Line
2450 2550 1850 2550
Text Label 1900 2550 0 60 ~ 0 Text Label 1900 2550 0 60 ~ 0
REL3 REL3
Wire Wire Line
5150 1850 4650 1850
Text Label 4700 1850 0 60 ~ 0 Text Label 4700 1850 0 60 ~ 0
REL4 REL4
Wire Wire Line
5150 1950 4650 1950
Text Label 4700 1950 0 60 ~ 0 Text Label 4700 1950 0 60 ~ 0
IN2 IN2
Wire Wire Line
5150 2150 4650 2150
Text Label 4700 2150 0 60 ~ 0 Text Label 4700 2150 0 60 ~ 0
IN1 IN1
Wire Wire Line
5650 1950 6150 1950
Wire Wire Line
5650 2050 6150 2050
Text Label 5850 1950 0 60 ~ 0 Text Label 5850 1950 0 60 ~ 0
IN4 IN4
Text Label 5850 2050 0 60 ~ 0 Text Label 5850 2050 0 60 ~ 0
IN3 IN3
Wire Wire Line
8000 5700 7350 5700
Text Label 7450 5700 0 60 ~ 0 Text Label 7450 5700 0 60 ~ 0
RS485_ENA RS485_ENA
Text Label 5800 2600 0 60 ~ 0 Text Label 5750 2650 0 60 ~ 0
RS485_ENA RS485_ENA
$Comp $Comp
L JUMPER_2-PIN JP1 L JUMPER_2-PIN JP1
...@@ -378,14 +275,8 @@ F 3 "" H 5350 4550 60 0001 C CNN ...@@ -378,14 +275,8 @@ F 3 "" H 5350 4550 60 0001 C CNN
1 5350 4450 1 5350 4450
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Wire Wire Line
5500 4450 5750 4450
Text GLabel 5750 4450 2 60 Input ~ 0 Text GLabel 5750 4450 2 60 Input ~ 0
PWR_BUT PWR_BUT
Wire Wire Line
5200 4450 4900 4450
Wire Wire Line
4900 4450 4900 4700
$Comp $Comp
L GND #PWR09 L GND #PWR09
U 1 1 577DCF84 U 1 1 577DCF84
...@@ -454,5 +345,114 @@ F 3 "" H 5900 1450 50 0000 C CNN ...@@ -454,5 +345,114 @@ F 3 "" H 5900 1450 50 0000 C CNN
$EndComp $EndComp
NoConn ~ 15550 4650 NoConn ~ 15550 4650
Wire Wire Line Wire Wire Line
5650 2600 6300 2600 2950 3550 3100 3550
Wire Wire Line
3100 3850 3100 3550
Wire Wire Line
2300 3850 3100 3850
Wire Wire Line
2300 3550 2300 3850
Wire Wire Line
2300 3550 2450 3550
Wire Wire Line
2450 3650 2300 3650
Connection ~ 2300 3650
Wire Wire Line
2950 3650 3100 3650
Connection ~ 3100 3650
Wire Wire Line
2700 3950 2700 3850
Connection ~ 2700 3850
Wire Wire Line
2950 1550 3100 1550
Wire Wire Line
3100 1550 3100 1250
Wire Wire Line
2950 1650 3300 1650
Wire Wire Line
3300 1650 3300 1250
Wire Wire Line
3550 1250 3550 1750
Wire Wire Line
3550 1750 2950 1750
Wire Wire Line
2450 1550 2300 1550
Wire Wire Line
2300 1550 2300 1250
Wire Wire Line
2450 1650 2100 1650
Wire Wire Line
2100 1650 2100 1250
Wire Wire Line
2450 1750 1850 1750
Wire Wire Line
1850 1750 1850 1250
Wire Wire Line
2950 1450 3750 1450
Wire Wire Line
2450 1450 1650 1450
Wire Wire Line
4900 1450 5150 1450
Wire Wire Line
5650 1450 5900 1450
Wire Wire Line
2950 2950 3300 2950
Wire Wire Line
3300 2950 3300 2850
Wire Wire Line
2950 3050 3300 3050
Wire Wire Line
2950 1850 3050 1850
Wire Wire Line
2450 1850 2350 1850
Wire Wire Line
2950 2650 3350 2650
Wire Wire Line
2950 2550 3350 2550
Wire Wire Line
8000 5200 7350 5200
Wire Wire Line
8000 5400 7350 5400
Wire Wire Line
8000 3450 7600 3450
Wire Wire Line
8000 3550 7600 3550
Wire Wire Line
8000 3650 7600 3650
Wire Wire Line
8000 3750 7600 3750
Wire Wire Line
8000 3950 7600 3950
Wire Wire Line
8000 4050 7600 4050
Wire Wire Line
8000 4150 7600 4150
Wire Wire Line
8000 4250 7600 4250
Wire Wire Line
2950 1950 3900 1950
Wire Wire Line
2450 2150 1850 2150
Wire Wire Line
2450 2550 1850 2550
Wire Wire Line
5150 1850 4650 1850
Wire Wire Line
5150 1950 4650 1950
Wire Wire Line
5150 2150 4650 2150
Wire Wire Line
5650 1950 6150 1950
Wire Wire Line
5650 2050 6150 2050
Wire Wire Line
8000 5700 7350 5700
Wire Wire Line
5500 4450 5750 4450
Wire Wire Line
5200 4450 4900 4450
Wire Wire Line
4900 4450 4900 4700
Wire Wire Line
5650 2650 6300 2650
$EndSCHEMATC $EndSCHEMATC
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -64,7 +64,7 @@ encoding utf-8 ...@@ -64,7 +64,7 @@ encoding utf-8
Sheet 1 5 Sheet 1 5
Title "mOsso" Title "mOsso"
Date "2016-06-24" Date "2016-06-24"
Rev "1.0" Rev "1.1"
Comp "Nexlab di Franco Lanza" Comp "Nexlab di Franco Lanza"
Comment1 "" Comment1 ""
Comment2 "" Comment2 ""
...@@ -258,12 +258,10 @@ Text Label 4700 2150 0 60 ~ 0 ...@@ -258,12 +258,10 @@ Text Label 4700 2150 0 60 ~ 0
IN1 IN1
Text Label 5850 1950 0 60 ~ 0 Text Label 5850 1950 0 60 ~ 0
IN4 IN4
Text Label 5850 2050 0 60 ~ 0 Text Label 5850 2150 0 60 ~ 0
IN3 IN3
Text Label 7450 5700 0 60 ~ 0 Text Label 7450 5700 0 60 ~ 0
RS485_ENA RS485_ENA
Text Label 5750 2650 0 60 ~ 0
RS485_ENA
$Comp $Comp
L JUMPER_2-PIN JP1 L JUMPER_2-PIN JP1
U 1 1 577DCC16 U 1 1 577DCC16
...@@ -347,11 +345,11 @@ NoConn ~ 15550 4650 ...@@ -347,11 +345,11 @@ NoConn ~ 15550 4650
Wire Wire Line Wire Wire Line
2950 3550 3100 3550 2950 3550 3100 3550
Wire Wire Line Wire Wire Line
3100 3850 3100 3550 3100 3550 3100 3850
Wire Wire Line Wire Wire Line
2300 3850 3100 3850 3100 3850 2300 3850
Wire Wire Line Wire Wire Line
2300 3550 2300 3850 2300 3850 2300 3550
Wire Wire Line Wire Wire Line
2300 3550 2450 3550 2300 3550 2450 3550
Wire Wire Line Wire Wire Line
...@@ -443,8 +441,6 @@ Wire Wire Line ...@@ -443,8 +441,6 @@ Wire Wire Line
5150 2150 4650 2150 5150 2150 4650 2150
Wire Wire Line Wire Wire Line
5650 1950 6150 1950 5650 1950 6150 1950
Wire Wire Line
5650 2050 6150 2050
Wire Wire Line Wire Wire Line
8000 5700 7350 5700 8000 5700 7350 5700
Wire Wire Line Wire Wire Line
...@@ -453,6 +449,10 @@ Wire Wire Line ...@@ -453,6 +449,10 @@ Wire Wire Line
5200 4450 4900 4450 5200 4450 4900 4450
Wire Wire Line Wire Wire Line
4900 4450 4900 4700 4900 4450 4900 4700
Text Label 5700 2250 0 60 ~ 0
RS485_ENA
Wire Wire Line
5650 2150 6150 2150
Wire Wire Line Wire Wire Line
5650 2650 6300 2650 5650 2250 6150 2250
$EndSCHEMATC $EndSCHEMATC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment