From 272eedbb654ccdd6ecd562fb58f6e68a8d4fae1d Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sun, 17 Jan 2021 14:16:17 +0100 Subject: [PATCH] Add UART for Zigbee and wire up control signals --- CM4.kicad_sch | 180 ++++++++++++++++++++++++++++++++------------ LightBlue.kicad_pro | 2 +- LightBlue.kicad_sch | 87 ++++++++++++++++++++- Radio.kicad_sch | 58 ++++++++++++++ 4 files changed, 275 insertions(+), 52 deletions(-) diff --git a/CM4.kicad_sch b/CM4.kicad_sch index c7fb01c..ceef41e 100644 --- a/CM4.kicad_sch +++ b/CM4.kicad_sch @@ -2025,71 +2025,71 @@ ) ) - (bus_alias "SD" (members "D[0..3]" "CMD" "CLK" "PWR")) - (bus_alias "PCIe" (members "~RST" "~CLKREQ" "CLK+" "CLK-" "TX+" "TX-" "RX+" "RX-")) (bus_alias "HDMI" (members "D0+" "D0-" "D1+" "D1-" "D2+" "D2-" "CLK+" "CLK-" "CEC" "HPD" "SDA" "SCL")) + (bus_alias "PCIe" (members "~RST" "~CLKREQ" "CLK+" "CLK-" "TX+" "TX-" "RX+" "RX-")) + (bus_alias "SD" (members "D[0..3]" "CMD" "CLK" "PWR")) (junction (at 260.35 82.55) (diameter 1.016) (color 0 0 0 0)) (junction (at 262.89 82.55) (diameter 1.016) (color 0 0 0 0)) (junction (at 265.43 82.55) (diameter 1.016) (color 0 0 0 0)) (junction (at 267.97 82.55) (diameter 1.016) (color 0 0 0 0)) (junction (at 270.51 82.55) (diameter 1.016) (color 0 0 0 0)) - (no_connect (at 210.82 55.88)) - (no_connect (at 210.82 129.54)) - (no_connect (at 160.02 35.56)) - (no_connect (at 210.82 132.08)) - (no_connect (at 210.82 40.64)) - (no_connect (at 210.82 43.18)) - (no_connect (at 160.02 116.84)) - (no_connect (at 160.02 114.3)) - (no_connect (at 210.82 48.26)) - (no_connect (at 210.82 53.34)) - (no_connect (at 210.82 137.16)) - (no_connect (at 210.82 60.96)) - (no_connect (at 210.82 111.76)) - (no_connect (at 160.02 119.38)) - (no_connect (at 210.82 114.3)) - (no_connect (at 210.82 35.56)) (no_connect (at 38.1 45.72)) - (no_connect (at 210.82 109.22)) - (no_connect (at 160.02 104.14)) - (no_connect (at 210.82 104.14)) - (no_connect (at 160.02 109.22)) - (no_connect (at 210.82 38.1)) (no_connect (at 38.1 66.04)) (no_connect (at 38.1 68.58)) (no_connect (at 38.1 71.12)) (no_connect (at 38.1 73.66)) - (no_connect (at 210.82 101.6)) (no_connect (at 38.1 91.44)) - (no_connect (at 160.02 81.28)) - (no_connect (at 210.82 121.92)) - (no_connect (at 160.02 83.82)) - (no_connect (at 210.82 119.38)) - (no_connect (at 160.02 86.36)) (no_connect (at 38.1 93.98)) - (no_connect (at 210.82 127)) - (no_connect (at 160.02 91.44)) - (no_connect (at 88.9 73.66)) - (no_connect (at 255.27 67.31)) - (no_connect (at 160.02 121.92)) - (no_connect (at 210.82 106.68)) - (no_connect (at 160.02 106.68)) - (no_connect (at 160.02 88.9)) - (no_connect (at 210.82 139.7)) - (no_connect (at 210.82 45.72)) - (no_connect (at 210.82 58.42)) - (no_connect (at 210.82 124.46)) - (no_connect (at 210.82 142.24)) - (no_connect (at 210.82 63.5)) - (no_connect (at 160.02 93.98)) - (no_connect (at 210.82 134.62)) - (no_connect (at 210.82 50.8)) - (no_connect (at 160.02 99.06)) (no_connect (at 88.9 63.5)) (no_connect (at 88.9 71.12)) - (no_connect (at 160.02 111.76)) + (no_connect (at 88.9 73.66)) + (no_connect (at 160.02 35.56)) + (no_connect (at 160.02 81.28)) + (no_connect (at 160.02 83.82)) + (no_connect (at 160.02 86.36)) + (no_connect (at 160.02 88.9)) + (no_connect (at 160.02 91.44)) + (no_connect (at 160.02 93.98)) + (no_connect (at 160.02 99.06)) (no_connect (at 160.02 101.6)) + (no_connect (at 160.02 104.14)) + (no_connect (at 160.02 106.68)) + (no_connect (at 160.02 109.22)) + (no_connect (at 160.02 111.76)) + (no_connect (at 160.02 114.3)) + (no_connect (at 160.02 116.84)) + (no_connect (at 160.02 119.38)) + (no_connect (at 160.02 121.92)) + (no_connect (at 210.82 35.56)) + (no_connect (at 210.82 38.1)) + (no_connect (at 210.82 40.64)) + (no_connect (at 210.82 43.18)) + (no_connect (at 210.82 45.72)) + (no_connect (at 210.82 48.26)) + (no_connect (at 210.82 50.8)) + (no_connect (at 210.82 53.34)) + (no_connect (at 210.82 55.88)) + (no_connect (at 210.82 58.42)) + (no_connect (at 210.82 60.96)) + (no_connect (at 210.82 63.5)) + (no_connect (at 210.82 101.6)) + (no_connect (at 210.82 104.14)) + (no_connect (at 210.82 106.68)) + (no_connect (at 210.82 109.22)) + (no_connect (at 210.82 111.76)) + (no_connect (at 210.82 114.3)) + (no_connect (at 210.82 119.38)) + (no_connect (at 210.82 121.92)) + (no_connect (at 210.82 124.46)) + (no_connect (at 210.82 127)) + (no_connect (at 210.82 129.54)) + (no_connect (at 210.82 132.08)) + (no_connect (at 210.82 134.62)) + (no_connect (at 210.82 137.16)) + (no_connect (at 210.82 139.7)) + (no_connect (at 210.82 142.24)) + (no_connect (at 255.27 67.31)) (bus_entry (at 24.13 40.64) (size 2.54 2.54) (stroke (width 0.1524) (type solid) (color 0 0 0 0)) @@ -2157,6 +2157,18 @@ (bus_entry (at 104.14 68.58) (size 2.54 -2.54) (stroke (width 0.1524) (type solid) (color 0 0 0 0)) ) + (bus_entry (at 104.14 91.44) (size -2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + (bus_entry (at 104.14 93.98) (size -2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + (bus_entry (at 104.14 96.52) (size -2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + (bus_entry (at 104.14 99.06) (size -2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) (bus_entry (at 104.14 106.68) (size -2.54 2.54) (stroke (width 0.1524) (type solid) (color 0 0 0 0)) ) @@ -2296,9 +2308,24 @@ (wire (pts (xy 34.29 88.9) (xy 38.1 88.9)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (wire (pts (xy 35.56 124.46) (xy 38.1 124.46)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 35.56 127) (xy 38.1 127)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 35.56 129.54) (xy 38.1 129.54)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 35.56 132.08) (xy 38.1 132.08)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (wire (pts (xy 35.56 137.16) (xy 38.1 137.16)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (wire (pts (xy 35.56 139.7) (xy 38.1 139.7)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (wire (pts (xy 63.5 149.86) (xy 63.5 152.4)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) @@ -2338,6 +2365,18 @@ (wire (pts (xy 88.9 68.58) (xy 104.14 68.58)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (wire (pts (xy 88.9 93.98) (xy 101.6 93.98)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 88.9 96.52) (xy 101.6 96.52)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 88.9 99.06) (xy 101.6 99.06)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 88.9 101.6) (xy 101.6 101.6)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (wire (pts (xy 88.9 109.22) (xy 101.6 109.22)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) @@ -2545,6 +2584,18 @@ (bus (pts (xy 102.87 127) (xy 102.87 129.54)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (bus (pts (xy 104.14 88.9) (xy 104.14 91.44)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 104.14 91.44) (xy 104.14 93.98)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 104.14 93.98) (xy 104.14 96.52)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 104.14 96.52) (xy 104.14 99.06)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (bus (pts (xy 104.14 106.68) (xy 107.95 106.68)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) @@ -2590,6 +2641,9 @@ (bus (pts (xy 106.68 124.46) (xy 102.87 124.46)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (bus (pts (xy 107.95 88.9) (xy 104.14 88.9)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (bus (pts (xy 133.35 50.8) (xy 139.7 50.8)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) @@ -2756,6 +2810,18 @@ (label "ETH.LED_YELLOW" (at 88.9 68.58 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) + (label "UART.TXD" (at 88.9 93.98 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (label "UART.RXD" (at 88.9 96.52 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (label "UART.CTS" (at 88.9 99.06 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (label "UART.RTS" (at 88.9 101.6 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) (label "CM4_DBG.TX" (at 88.9 109.22 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) @@ -2889,15 +2955,33 @@ (hierarchical_label "SD{SD}" (shape bidirectional) (at 21.59 39.37 180) (effects (font (size 1.27 1.27)) (justify right)) ) + (hierarchical_label "RUN_PG" (shape bidirectional) (at 35.56 124.46 180) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (hierarchical_label "nRPI_BOOT" (shape input) (at 35.56 127 180) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (hierarchical_label "LED_nPWR" (shape output) (at 35.56 129.54 180) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (hierarchical_label "LED_nACT" (shape output) (at 35.56 132.08 180) + (effects (font (size 1.27 1.27)) (justify right)) + ) (hierarchical_label "~EXTRST" (shape output) (at 35.56 137.16 180) (effects (font (size 1.27 1.27)) (justify right)) ) + (hierarchical_label "GLOBAL_EN" (shape output) (at 35.56 139.7 180) + (effects (font (size 1.27 1.27)) (justify right)) + ) (hierarchical_label "I2S{I2S}" (shape output) (at 105.41 116.84 0) (effects (font (size 1.27 1.27)) (justify left)) ) (hierarchical_label "{I2C}" (shape bidirectional) (at 106.68 124.46 0) (effects (font (size 1.27 1.27)) (justify left)) ) + (hierarchical_label "Zigbee{UART}" (shape bidirectional) (at 107.95 88.9 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) (hierarchical_label "CM4_DBG{TX RX}" (shape bidirectional) (at 107.95 106.68 0) (effects (font (size 1.27 1.27)) (justify left)) ) diff --git a/LightBlue.kicad_pro b/LightBlue.kicad_pro index ddab4e4..aea234f 100644 --- a/LightBlue.kicad_pro +++ b/LightBlue.kicad_pro @@ -479,7 +479,7 @@ }, "sheets": [ [ - "8ca9faa9-e48d-446f-a95d-e9341757ae01", + "7c248bd3-8232-4777-a40c-eab53460cf85", "" ], [ diff --git a/LightBlue.kicad_sch b/LightBlue.kicad_sch index cc1bdcc..5174a12 100644 --- a/LightBlue.kicad_sch +++ b/LightBlue.kicad_sch @@ -130,6 +130,51 @@ (wire (pts (xy 92.71 92.71) (xy 92.71 41.91)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (wire (pts (xy 103.505 41.91) (xy 109.855 41.91)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 103.505 80.01) (xy 103.505 41.91)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 104.775 44.45) (xy 109.855 44.45)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 104.775 77.47) (xy 104.775 44.45)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 106.045 46.99) (xy 109.855 46.99)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 106.045 74.93) (xy 106.045 46.99)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 107.315 52.07) (xy 109.855 52.07)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 107.315 72.39) (xy 107.315 52.07)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 108.585 54.61) (xy 109.855 54.61)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 108.585 69.215) (xy 108.585 54.61)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 109.855 69.215) (xy 108.585 69.215)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 109.855 72.39) (xy 107.315 72.39)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 109.855 74.93) (xy 106.045 74.93)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 109.855 77.47) (xy 104.775 77.47)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 109.855 80.01) (xy 103.505 80.01)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (wire (pts (xy 109.855 92.71) (xy 92.71 92.71)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) @@ -166,10 +211,10 @@ (bus (pts (xy 97.79 125.73) (xy 110.49 125.73)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) - (bus (pts (xy 101.6 41.91) (xy 109.855 41.91)) + (bus (pts (xy 101.6 39.37) (xy 101.6 83.82)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) - (bus (pts (xy 101.6 83.82) (xy 101.6 41.91)) + (bus (pts (xy 101.6 39.37) (xy 109.855 39.37)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) (bus (pts (xy 101.6 83.82) (xy 109.855 83.82)) @@ -190,12 +235,21 @@ (bus (pts (xy 109.855 97.79) (xy 97.79 97.79)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (bus (pts (xy 157.48 69.215) (xy 163.83 69.215)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (bus (pts (xy 157.48 76.2) (xy 170.18 76.2)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) (bus (pts (xy 157.48 97.79) (xy 170.18 97.79)) (stroke (width 0) (type solid) (color 0 0 0 0)) ) + (bus (pts (xy 163.83 43.815) (xy 190.5 43.815)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 163.83 69.215) (xy 163.83 43.815)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) (label "{I2C}" (at 101.6 83.82 0) (effects (font (size 1.27 1.27)) (justify left bottom)) @@ -435,6 +489,9 @@ (property "Sheet file" "Radio.kicad_sch" (id 1) (at 190.5 61.4689 0) (effects (font (size 1.27 1.27)) (justify left top)) ) + (pin "Zigbee{UART}" bidirectional (at 190.5 43.815 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) ) (sheet (at 110.49 120.65) (size 36.83 20.32) @@ -489,6 +546,24 @@ (pin "SD{SD}" bidirectional (at 157.48 76.2 0) (effects (font (size 1.27 1.27)) (justify right)) ) + (pin "Zigbee{UART}" bidirectional (at 157.48 69.215 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (pin "GLOBAL_EN" output (at 109.855 74.93 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (pin "LED_nACT" output (at 109.855 77.47 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (pin "LED_nPWR" output (at 109.855 80.01 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (pin "RUN_PG" bidirectional (at 109.855 72.39 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (pin "nRPI_BOOT" input (at 109.855 69.215 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) ) (sheet (at 24.13 62.23) (size 35.56 20.32) @@ -534,7 +609,13 @@ (pin "LED_nACT" input (at 109.855 44.45 180) (effects (font (size 1.27 1.27)) (justify left)) ) - (pin "{I2C}" bidirectional (at 109.855 41.91 180) + (pin "{I2C}" bidirectional (at 109.855 39.37 180) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (pin "M.2_nACT" input (at 157.48 52.07 0) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (pin "LED_nPWR" input (at 109.855 41.91 180) (effects (font (size 1.27 1.27)) (justify left)) ) ) diff --git a/Radio.kicad_sch b/Radio.kicad_sch index f33eb23..ec87f9b 100644 --- a/Radio.kicad_sch +++ b/Radio.kicad_sch @@ -207,6 +207,64 @@ ) + (bus_entry (at 43.815 59.69) (size 2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + (bus_entry (at 43.815 62.23) (size 2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + (bus_entry (at 43.815 64.77) (size 2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + (bus_entry (at 43.815 67.31) (size 2.54 2.54) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + ) + + (wire (pts (xy 59.055 62.23) (xy 46.355 62.23)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 59.055 64.77) (xy 46.355 64.77)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 59.055 67.31) (xy 46.355 67.31)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (wire (pts (xy 59.055 69.85) (xy 46.355 69.85)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 40.005 57.15) (xy 43.815 57.15)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 43.815 57.15) (xy 43.815 59.69)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 43.815 59.69) (xy 43.815 62.23)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 43.815 62.23) (xy 43.815 64.77)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + (bus (pts (xy 43.815 64.77) (xy 43.815 67.31)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + ) + + (label "UART.TXD" (at 59.055 62.23 180) + (effects (font (size 1.27 1.27)) (justify right bottom)) + ) + (label "UART.RXD" (at 59.055 64.77 180) + (effects (font (size 1.27 1.27)) (justify right bottom)) + ) + (label "UART.CTS" (at 59.055 67.31 180) + (effects (font (size 1.27 1.27)) (justify right bottom)) + ) + (label "UART.RTS" (at 59.055 69.85 180) + (effects (font (size 1.27 1.27)) (justify right bottom)) + ) + + (hierarchical_label "Zigbee{UART}" (shape bidirectional) (at 40.005 57.15 180) + (effects (font (size 1.27 1.27)) (justify right)) + ) + (symbol (lib_id "Connector:Conn_Coaxial") (at 191.77 62.23 0) (unit 1) (in_bom yes) (on_board yes) (uuid "c09c8cca-c855-4542-a876-1781079d5d54")