diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/power.txt b/power.txt index 16834ac..ed2a8de 100644 --- a/power.txt +++ b/power.txt @@ -1,23 +1,23 @@ -3.3v 1)(2 5v - 3)(4 5v - 5)(6 GND - 7)(8 -GND 9)(10 - 11)(12 - 13)(14 GND - 15)(16 -3.3v 17)(18 - 19)(20 GND - 21)(22 - 23)(24 -GND 25)(26 - 27)(28 - 29)(30 GND - 31)(32 - 33)(34 GND - 35)(36 - 37)(38 -GND 39)(40 +3.3v 1)(2 5v + 3)(4 5v + 5)(6 GND + 7)(8 +GND 9)(10 + 11)(12 + 13)(14 GND + 15)(16 +3.3v 17)(18 + 19)(20 GND + 21)(22 + 23)(24 +GND 25)(26 + 27)(28 + 29)(30 GND + 31)(32 + 33)(34 GND + 35)(36 + 37)(38 +GND 39)(40 - Voltages - @@ -41,4 +41,4 @@ Generally the one that's most convenient or closest to the rest of your connections is tidier and easier, or alternatively the one closest to the supply pin that you use. -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. \ No newline at end of file +For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/power.txt b/power.txt index 16834ac..ed2a8de 100644 --- a/power.txt +++ b/power.txt @@ -1,23 +1,23 @@ -3.3v 1)(2 5v - 3)(4 5v - 5)(6 GND - 7)(8 -GND 9)(10 - 11)(12 - 13)(14 GND - 15)(16 -3.3v 17)(18 - 19)(20 GND - 21)(22 - 23)(24 -GND 25)(26 - 27)(28 - 29)(30 GND - 31)(32 - 33)(34 GND - 35)(36 - 37)(38 -GND 39)(40 +3.3v 1)(2 5v + 3)(4 5v + 5)(6 GND + 7)(8 +GND 9)(10 + 11)(12 + 13)(14 GND + 15)(16 +3.3v 17)(18 + 19)(20 GND + 21)(22 + 23)(24 +GND 25)(26 + 27)(28 + 29)(30 GND + 31)(32 + 33)(34 GND + 35)(36 + 37)(38 +GND 39)(40 - Voltages - @@ -41,4 +41,4 @@ Generally the one that's most convenient or closest to the rest of your connections is tidier and easier, or alternatively the one closest to the supply pin that you use. -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. \ No newline at end of file +For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. diff --git a/sdio.txt b/sdio.txt index 5dba9af..cf768ba 100644 --- a/sdio.txt +++ b/sdio.txt @@ -1,26 +1,26 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 DAT3 13)(14 -CLK 15)(16 CMD - 17)(18 DAT0 - 19)(20 - 21)(22 DAT1 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 +CLK 15)(16 CMD + 17)(18 DAT0 + 19)(20 + 21)(22 DAT1 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 DAT2 37)(38 - 39)(40 + 39)(40 SDIO is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. These pins are "SD host" on Alt0 and "eMMC" on Alt3 have yet to actually get this to work, there are conflicting pinouts on: -https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ \ No newline at end of file +https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/power.txt b/power.txt index 16834ac..ed2a8de 100644 --- a/power.txt +++ b/power.txt @@ -1,23 +1,23 @@ -3.3v 1)(2 5v - 3)(4 5v - 5)(6 GND - 7)(8 -GND 9)(10 - 11)(12 - 13)(14 GND - 15)(16 -3.3v 17)(18 - 19)(20 GND - 21)(22 - 23)(24 -GND 25)(26 - 27)(28 - 29)(30 GND - 31)(32 - 33)(34 GND - 35)(36 - 37)(38 -GND 39)(40 +3.3v 1)(2 5v + 3)(4 5v + 5)(6 GND + 7)(8 +GND 9)(10 + 11)(12 + 13)(14 GND + 15)(16 +3.3v 17)(18 + 19)(20 GND + 21)(22 + 23)(24 +GND 25)(26 + 27)(28 + 29)(30 GND + 31)(32 + 33)(34 GND + 35)(36 + 37)(38 +GND 39)(40 - Voltages - @@ -41,4 +41,4 @@ Generally the one that's most convenient or closest to the rest of your connections is tidier and easier, or alternatively the one closest to the supply pin that you use. -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. \ No newline at end of file +For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. diff --git a/sdio.txt b/sdio.txt index 5dba9af..cf768ba 100644 --- a/sdio.txt +++ b/sdio.txt @@ -1,26 +1,26 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 DAT3 13)(14 -CLK 15)(16 CMD - 17)(18 DAT0 - 19)(20 - 21)(22 DAT1 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 +CLK 15)(16 CMD + 17)(18 DAT0 + 19)(20 + 21)(22 DAT1 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 DAT2 37)(38 - 39)(40 + 39)(40 SDIO is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. These pins are "SD host" on Alt0 and "eMMC" on Alt3 have yet to actually get this to work, there are conflicting pinouts on: -https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ \ No newline at end of file +https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ diff --git a/software.txt b/software.txt index 02dd54e..2d41347 100644 --- a/software.txt +++ b/software.txt @@ -11,4 +11,4 @@ sigrok-cli & Pulseview - logic analyzer software -https://github.com/richardghirst/Panalyzer - logic analyzer \ No newline at end of file +https://github.com/richardghirst/Panalyzer - logic analyzer diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/power.txt b/power.txt index 16834ac..ed2a8de 100644 --- a/power.txt +++ b/power.txt @@ -1,23 +1,23 @@ -3.3v 1)(2 5v - 3)(4 5v - 5)(6 GND - 7)(8 -GND 9)(10 - 11)(12 - 13)(14 GND - 15)(16 -3.3v 17)(18 - 19)(20 GND - 21)(22 - 23)(24 -GND 25)(26 - 27)(28 - 29)(30 GND - 31)(32 - 33)(34 GND - 35)(36 - 37)(38 -GND 39)(40 +3.3v 1)(2 5v + 3)(4 5v + 5)(6 GND + 7)(8 +GND 9)(10 + 11)(12 + 13)(14 GND + 15)(16 +3.3v 17)(18 + 19)(20 GND + 21)(22 + 23)(24 +GND 25)(26 + 27)(28 + 29)(30 GND + 31)(32 + 33)(34 GND + 35)(36 + 37)(38 +GND 39)(40 - Voltages - @@ -41,4 +41,4 @@ Generally the one that's most convenient or closest to the rest of your connections is tidier and easier, or alternatively the one closest to the supply pin that you use. -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. \ No newline at end of file +For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. diff --git a/sdio.txt b/sdio.txt index 5dba9af..cf768ba 100644 --- a/sdio.txt +++ b/sdio.txt @@ -1,26 +1,26 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 DAT3 13)(14 -CLK 15)(16 CMD - 17)(18 DAT0 - 19)(20 - 21)(22 DAT1 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 +CLK 15)(16 CMD + 17)(18 DAT0 + 19)(20 + 21)(22 DAT1 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 DAT2 37)(38 - 39)(40 + 39)(40 SDIO is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. These pins are "SD host" on Alt0 and "eMMC" on Alt3 have yet to actually get this to work, there are conflicting pinouts on: -https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ \ No newline at end of file +https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ diff --git a/software.txt b/software.txt index 02dd54e..2d41347 100644 --- a/software.txt +++ b/software.txt @@ -11,4 +11,4 @@ sigrok-cli & Pulseview - logic analyzer software -https://github.com/richardghirst/Panalyzer - logic analyzer \ No newline at end of file +https://github.com/richardghirst/Panalyzer - logic analyzer diff --git a/spi.txt b/spi.txt index 0376ec9..0665ad2 100644 --- a/spi.txt +++ b/spi.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 SPI1 CE1 11)(12 SPI1 CE0 - 13)(14 - 15)(16 - 17)(18 + 13)(14 + 15)(16 + 17)(18 SPI0 MOSI 19)(20 SPI0 MISO 21)(22 SPI0 SCLK 23)(24 SPI0 CE0 - 25)(26 SPI0 CE1 - 27)(28 - 29)(30 - 31)(32 - 33)(34 + 25)(26 SPI0 CE1 + 27)(28 + 29)(30 + 31)(32 + 33)(34 SPI1 MISO 35)(36 SPI1 CE2 - 37)(38 SPI1 MOSI - 39)(40 SPI1 SCLK + 37)(38 SPI1 MOSI + 39)(40 SPI1 SCLK SPI0 pins in BCM mode are: 9 (MISO), 10 (MOSI), 11 (SCLK) + 7 (CE1) /8 (CE0) SPI0 pins in WiringPi are: 12, 13, 14 + 10/11 @@ -62,4 +62,4 @@ Don’t forget the spispeed=512. -Now you can use binwalk or fmk in the extracted firmware. \ No newline at end of file +Now you can use binwalk or fmk in the extracted firmware. diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/power.txt b/power.txt index 16834ac..ed2a8de 100644 --- a/power.txt +++ b/power.txt @@ -1,23 +1,23 @@ -3.3v 1)(2 5v - 3)(4 5v - 5)(6 GND - 7)(8 -GND 9)(10 - 11)(12 - 13)(14 GND - 15)(16 -3.3v 17)(18 - 19)(20 GND - 21)(22 - 23)(24 -GND 25)(26 - 27)(28 - 29)(30 GND - 31)(32 - 33)(34 GND - 35)(36 - 37)(38 -GND 39)(40 +3.3v 1)(2 5v + 3)(4 5v + 5)(6 GND + 7)(8 +GND 9)(10 + 11)(12 + 13)(14 GND + 15)(16 +3.3v 17)(18 + 19)(20 GND + 21)(22 + 23)(24 +GND 25)(26 + 27)(28 + 29)(30 GND + 31)(32 + 33)(34 GND + 35)(36 + 37)(38 +GND 39)(40 - Voltages - @@ -41,4 +41,4 @@ Generally the one that's most convenient or closest to the rest of your connections is tidier and easier, or alternatively the one closest to the supply pin that you use. -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. \ No newline at end of file +For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. diff --git a/sdio.txt b/sdio.txt index 5dba9af..cf768ba 100644 --- a/sdio.txt +++ b/sdio.txt @@ -1,26 +1,26 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 DAT3 13)(14 -CLK 15)(16 CMD - 17)(18 DAT0 - 19)(20 - 21)(22 DAT1 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 +CLK 15)(16 CMD + 17)(18 DAT0 + 19)(20 + 21)(22 DAT1 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 DAT2 37)(38 - 39)(40 + 39)(40 SDIO is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. These pins are "SD host" on Alt0 and "eMMC" on Alt3 have yet to actually get this to work, there are conflicting pinouts on: -https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ \ No newline at end of file +https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ diff --git a/software.txt b/software.txt index 02dd54e..2d41347 100644 --- a/software.txt +++ b/software.txt @@ -11,4 +11,4 @@ sigrok-cli & Pulseview - logic analyzer software -https://github.com/richardghirst/Panalyzer - logic analyzer \ No newline at end of file +https://github.com/richardghirst/Panalyzer - logic analyzer diff --git a/spi.txt b/spi.txt index 0376ec9..0665ad2 100644 --- a/spi.txt +++ b/spi.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 SPI1 CE1 11)(12 SPI1 CE0 - 13)(14 - 15)(16 - 17)(18 + 13)(14 + 15)(16 + 17)(18 SPI0 MOSI 19)(20 SPI0 MISO 21)(22 SPI0 SCLK 23)(24 SPI0 CE0 - 25)(26 SPI0 CE1 - 27)(28 - 29)(30 - 31)(32 - 33)(34 + 25)(26 SPI0 CE1 + 27)(28 + 29)(30 + 31)(32 + 33)(34 SPI1 MISO 35)(36 SPI1 CE2 - 37)(38 SPI1 MOSI - 39)(40 SPI1 SCLK + 37)(38 SPI1 MOSI + 39)(40 SPI1 SCLK SPI0 pins in BCM mode are: 9 (MISO), 10 (MOSI), 11 (SCLK) + 7 (CE1) /8 (CE0) SPI0 pins in WiringPi are: 12, 13, 14 + 10/11 @@ -62,4 +62,4 @@ Don’t forget the spispeed=512. -Now you can use binwalk or fmk in the extracted firmware. \ No newline at end of file +Now you can use binwalk or fmk in the extracted firmware. diff --git a/uart.txt b/uart.txt index 67336c0..66cf341 100644 --- a/uart.txt +++ b/uart.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 TX - 9)(10 RX - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 + 7)(8 TX + 9)(10 RX + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 UART pins in BCM mode are: 14, 15 UART pins in WiringPi are: 15, 16 @@ -41,4 +41,4 @@ 1) find baudrate (baudrate.py - https://github.com/devttys0/baudrate/blob/master/baudrate.py) 2) screen [device] [baud] e.g. $> screen /dev/ttyAMA0 9600 - exit with CTRL+a then CTRL+k \ No newline at end of file + exit with CTRL+a then CTRL+k diff --git a/1-wire.txt b/1-wire.txt index 0e2cc1f..6244807 100644 --- a/1-wire.txt +++ b/1-wire.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 DATA 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 - W1-GPIO - One-Wire Interface - To enable the one-wire interface you need to add the following line to /boot/config @@ -38,4 +38,3 @@ ls /sys/bus/w1/devices/ n.b. Using w1-gpio on the Raspberry Pi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1 or 17). Other means of connecting 1-Wire devices to the Raspberry Pi are also possible, such as using i2c to 1-Wire bridge chips. - diff --git a/URLs.txt b/URLs.txt index 511eaee..7cac0ac 100644 --- a/URLs.txt +++ b/URLs.txt @@ -9,4 +9,4 @@ https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ https://github.com/superzerg/logic-analyzer -https://sigrok.org/wiki/PulseView \ No newline at end of file +https://sigrok.org/wiki/PulseView diff --git a/dpi.txt b/dpi.txt index cd70f1c..0ae85ff 100644 --- a/dpi.txt +++ b/dpi.txt @@ -1,26 +1,26 @@ - 1)(2 -V-SYNC 3)(4 -H-SYNC 5)(6 -Blue 0 7)(8 Green 2 - 9)(10 Green 3 -Green 5 11)(12 Green 6 -Red 7 13)(14 -Red 2 15)(16 Red 3 - 17)(18 Red 4 -Blue 6 19)(20 -Blue 5 21)(22 Red 5 -Blue 7 23)(24 Blue 4 - 25)(26 Blue 3 -CLK 27)(28 DEN -Blue 1 29)(30 -Blue 2 31)(32 Green 0 -Green 1 33)(34 -Green 7 35)(36 Green 4 -Red 6 37)(38 Red 0 - 39)(40 Red 1 + 1)(2 +V-SYNC 3)(4 +H-SYNC 5)(6 +Blue 0 7)(8 Green 2 + 9)(10 Green 3 +Green 5 11)(12 Green 6 +Red 7 13)(14 +Red 2 15)(16 Red 3 + 17)(18 Red 4 +Blue 6 19)(20 +Blue 5 21)(22 Red 5 +Blue 7 23)(24 Blue 4 + 25)(26 Blue 3 +CLK 27)(28 DEN +Blue 1 29)(30 +Blue 2 31)(32 Green 0 +Green 1 33)(34 +Green 7 35)(36 Green 4 +Red 6 37)(38 Red 0 + 39)(40 Red 1 - DPI - Display Parallel Interface - - + One of the alternate functions selectable on bank 0 of the Raspbery Pi GPIO is DPI. DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. This interface allows parallel RGB displays to be attached to the Raspberry Pi GPIO either in RGB24 (8 bits for red, green and blue) or RGB666 (6 bits per colour) or RGB565 (5 bits red, 6 green, and 5 blue). It is available as alternate function 2 (ALT2) on GPIO bank 0. diff --git a/gpclk.txt b/gpclk.txt index f313bdf..4141602 100644 --- a/gpclk.txt +++ b/gpclk.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 -GPCLK0 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 -GPCLK1 29)(30 -GPCLK2 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 +GPCLK0 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 +GPCLK1 29)(30 +GPCLK2 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. @@ -33,4 +33,4 @@ 7 216 MHz HDMI auxiliary 8-15 0 Hz Ground -Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. \ No newline at end of file +Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096). Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is 1024 instead of 4096. diff --git a/gpio.txt b/gpio.txt index aa90bc4..2619ed5 100644 --- a/gpio.txt +++ b/gpio.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 BCM 2 3)(4 BCM 3 5)(6 - 7)(8 BCM 14 - 9)(10 BCM 15 + 7)(8 BCM 14 + 9)(10 BCM 15 BCM 17 11)(12 BCM 18 BCM 27 13)(14 BCM 22 15)(16 BCM 23 - 17)(18 BCM 24 + 17)(18 BCM 24 BCM 10 19)(20 BCM 9 21)(22 BCM 25 BCM 11 23)(24 BCM 8 - 25)(26 BCM 7 + 25)(26 BCM 7 BCM 0 27)(28 BCM 1 BCM 5 29)(30 BCM 6 31)(32 BCM 12 BCM 13 33)(34 BCM 19 35)(36 BCM 16 BCM 26 37)(38 BCM 20 - 39)(40 BCM 21 + 39)(40 BCM 21 BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero @@ -45,4 +45,4 @@ - Pinout command - -A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. \ No newline at end of file +A handy reference can be accessed on the Raspberry Pi by opening a Terminal window and running the command: "pinout". This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite. diff --git a/i2c.txt b/i2c.txt index ff5deca..99279d8 100644 --- a/i2c.txt +++ b/i2c.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 Data 3)(4 Clock 5)(6 - 7)(8 - 9)(10 - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 + 7)(8 + 9)(10 + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 EEPROM Data 27)(28 EEPROM Clock - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 I2C pins in BCM mode are: 2, 3 I2C pins in WiringPi are: 8, 9 @@ -64,4 +64,4 @@ -t is write delay To read data from it -./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 \ No newline at end of file +./eeprog -x /dev/i2c-1 0x50 -16 -r 0x00:0x10 diff --git a/jtag.txt b/jtag.txt index 94a7435..621b9c6 100644 --- a/jtag.txt +++ b/jtag.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 + 1)(2 + 3)(4 + 5)(6 TDI (Alt5) 7)(8 - 9)(10 - 11)(12 + 9)(10 + 11)(12 TMS (Alt4) 13)(14 TRST (Alt4) 15)(16 RTCK (Alt4) - 17)(18 TDO (Alt4) - 19)(20 - 21)(22 TCK (Alt4) - 23)(24 - 25)(26 - 27)(28 + 17)(18 TDO (Alt4) + 19)(20 + 21)(22 TCK (Alt4) + 23)(24 + 25)(26 + 27)(28 TDO (Alt5) 29)(30 RTCK (Alt5) 31)(32 TMS (Alt5) TCK (Alt5) 33)(34 - 35)(36 + 35)(36 TDI (Alt4) 37)(38 - 39)(40 + 39)(40 JTAG is generally refers to on-chip debugging interfaces that follow the IEEE 1149.x standard. The standard doesn’t mandate a certain connection – it just dictates a standard for communicating with chips in a device. It uses 5 pins: TCK, TMS, TDI, TDO and (options) TRST; which are (Test) Clock, Mode Select, Data In, Data Out, and Reset. @@ -67,4 +67,4 @@ Pins to be used are 3 – 5 – 7 – 11 – 13 – 15 and common ground. -This will take a bit of time as the GPIO is quite slow. \ No newline at end of file +This will take a bit of time as the GPIO is quite slow. diff --git a/logic_analyser.txt b/logic_analyser.txt index 68c70a0..4da4157 100644 --- a/logic_analyser.txt +++ b/logic_analyser.txt @@ -20,4 +20,4 @@ possibly better logic analyzer for the pi: https://github.com/richardghirst/Panalyzer -"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." \ No newline at end of file +"The basic idea is that it disables interrupts for a period, while sampling the GPIO pins once a microsecond. It then re-enables interupts and displays traces showing what the relevant GPIO pins were doing." diff --git a/pcm.txt b/pcm.txt index 202fdff..2cc918c 100644 --- a/pcm.txt +++ b/pcm.txt @@ -1,24 +1,24 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 CLK - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 -FS 35)(36 - 37)(38 DIN - 39)(40 DOUT + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 CLK + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 +FS 35)(36 + 37)(38 DIN + 39)(40 DOUT - PCM - Pulse-code Modulation - -PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. diff --git a/power.txt b/power.txt index 16834ac..ed2a8de 100644 --- a/power.txt +++ b/power.txt @@ -1,23 +1,23 @@ -3.3v 1)(2 5v - 3)(4 5v - 5)(6 GND - 7)(8 -GND 9)(10 - 11)(12 - 13)(14 GND - 15)(16 -3.3v 17)(18 - 19)(20 GND - 21)(22 - 23)(24 -GND 25)(26 - 27)(28 - 29)(30 GND - 31)(32 - 33)(34 GND - 35)(36 - 37)(38 -GND 39)(40 +3.3v 1)(2 5v + 3)(4 5v + 5)(6 GND + 7)(8 +GND 9)(10 + 11)(12 + 13)(14 GND + 15)(16 +3.3v 17)(18 + 19)(20 GND + 21)(22 + 23)(24 +GND 25)(26 + 27)(28 + 29)(30 GND + 31)(32 + 33)(34 GND + 35)(36 + 37)(38 +GND 39)(40 - Voltages - @@ -41,4 +41,4 @@ Generally the one that's most convenient or closest to the rest of your connections is tidier and easier, or alternatively the one closest to the supply pin that you use. -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. \ No newline at end of file +For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using the SPI connections, as these are right next to the important pins for SPI0. diff --git a/sdio.txt b/sdio.txt index 5dba9af..cf768ba 100644 --- a/sdio.txt +++ b/sdio.txt @@ -1,26 +1,26 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 - 11)(12 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 + 11)(12 DAT3 13)(14 -CLK 15)(16 CMD - 17)(18 DAT0 - 19)(20 - 21)(22 DAT1 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 +CLK 15)(16 CMD + 17)(18 DAT0 + 19)(20 + 21)(22 DAT1 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 DAT2 37)(38 - 39)(40 + 39)(40 SDIO is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. These pins are "SD host" on Alt0 and "eMMC" on Alt3 have yet to actually get this to work, there are conflicting pinouts on: -https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ \ No newline at end of file +https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/ diff --git a/software.txt b/software.txt index 02dd54e..2d41347 100644 --- a/software.txt +++ b/software.txt @@ -11,4 +11,4 @@ sigrok-cli & Pulseview - logic analyzer software -https://github.com/richardghirst/Panalyzer - logic analyzer \ No newline at end of file +https://github.com/richardghirst/Panalyzer - logic analyzer diff --git a/spi.txt b/spi.txt index 0376ec9..0665ad2 100644 --- a/spi.txt +++ b/spi.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 - 9)(10 + 1)(2 + 3)(4 + 5)(6 + 7)(8 + 9)(10 SPI1 CE1 11)(12 SPI1 CE0 - 13)(14 - 15)(16 - 17)(18 + 13)(14 + 15)(16 + 17)(18 SPI0 MOSI 19)(20 SPI0 MISO 21)(22 SPI0 SCLK 23)(24 SPI0 CE0 - 25)(26 SPI0 CE1 - 27)(28 - 29)(30 - 31)(32 - 33)(34 + 25)(26 SPI0 CE1 + 27)(28 + 29)(30 + 31)(32 + 33)(34 SPI1 MISO 35)(36 SPI1 CE2 - 37)(38 SPI1 MOSI - 39)(40 SPI1 SCLK + 37)(38 SPI1 MOSI + 39)(40 SPI1 SCLK SPI0 pins in BCM mode are: 9 (MISO), 10 (MOSI), 11 (SCLK) + 7 (CE1) /8 (CE0) SPI0 pins in WiringPi are: 12, 13, 14 + 10/11 @@ -62,4 +62,4 @@ Don’t forget the spispeed=512. -Now you can use binwalk or fmk in the extracted firmware. \ No newline at end of file +Now you can use binwalk or fmk in the extracted firmware. diff --git a/uart.txt b/uart.txt index 67336c0..66cf341 100644 --- a/uart.txt +++ b/uart.txt @@ -1,23 +1,23 @@ - 1)(2 - 3)(4 - 5)(6 - 7)(8 TX - 9)(10 RX - 11)(12 - 13)(14 - 15)(16 - 17)(18 - 19)(20 - 21)(22 - 23)(24 - 25)(26 - 27)(28 - 29)(30 - 31)(32 - 33)(34 - 35)(36 - 37)(38 - 39)(40 + 1)(2 + 3)(4 + 5)(6 + 7)(8 TX + 9)(10 RX + 11)(12 + 13)(14 + 15)(16 + 17)(18 + 19)(20 + 21)(22 + 23)(24 + 25)(26 + 27)(28 + 29)(30 + 31)(32 + 33)(34 + 35)(36 + 37)(38 + 39)(40 UART pins in BCM mode are: 14, 15 UART pins in WiringPi are: 15, 16 @@ -41,4 +41,4 @@ 1) find baudrate (baudrate.py - https://github.com/devttys0/baudrate/blob/master/baudrate.py) 2) screen [device] [baud] e.g. $> screen /dev/ttyAMA0 9600 - exit with CTRL+a then CTRL+k \ No newline at end of file + exit with CTRL+a then CTRL+k diff --git a/wiringpi.txt b/wiringpi.txt index 44c7b6b..3eaac7f 100644 --- a/wiringpi.txt +++ b/wiringpi.txt @@ -1,23 +1,23 @@ - 1)(2 + 1)(2 WPi 8 3)(4 WPi 9 5)(6 WPi 7 7)(8 WPi 15 - 9)(10 WPi 16 + 9)(10 WPi 16 WPi 0 11)(12 WPi 1 WPi 2 13)(14 WPi 3 15)(16 WPi 4 - 17)(18 WPi + 17)(18 WPi WPi 12 19)(20 WPi 13 21)(22 WPi 6 WPi 14 23)(24 WPi 10 - 25)(26 WPi 11 + 25)(26 WPi 11 WPi 30 27)(28 WPi 31 WPi 21 29)(30 WPi 22 31)(32 WPi 26 WPi 23 33)(34 WPi 24 35)(36 WPi 27 WPi 25 37)(38 WPi 28 - 39)(40 WPi 29 + 39)(40 WPi 29 - WiringPi - WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi. @@ -31,4 +31,4 @@ Installing to Python couldn't be easier, just: sudo pip install WiringPi -For more information about WiringPi you should visit the official WiringPi website. \ No newline at end of file +For more information about WiringPi you should visit the official WiringPi website.