Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:bpi [2015/10/06 22:43] – [GPIO] darron | boards:bpi [2023/11/05 17:41] (current) – [GPIO] darron | ||
---|---|---|---|
Line 31: | Line 31: | ||
</ | </ | ||
- | This is the relationship between the Banana Pi GPIO, RPi GPIO, A20 I/O and the Linux sysfs interface. | + | This is the relationship between the Banana Pi IO, [[: |
- | ^Banana Pi IO ^Raspberry Pi GPIO^ A20 I/ | + | ^Banana Pi IO ^ CON3 pin ^ Raspberry Pi GPIO^ A20 I/ |
- | | 0 | 17 | I19 | 275 | | + | | 0 | 11 | 17 | I19 | 275 | |
- | | 1 | 18 | H02 | 226 | | + | | 1 | 12 | 18 | H02 | 226 | |
- | | 2 | 27 | I18 | 274 | | + | | 2 | 13 | 21/27 | I18 | 274 | |
- | | 3 | 22 | I17 | 273 | | + | | 3 | 15 | 22 | I17 | 273 | |
- | | 4 | 23 | H20 | 244 | | + | | 4 | 16 | 23 | H20 | 244 | |
- | | 5 | 24 | H21 | 245 | | + | | 5 | 18 | 24 | H21 | 245 | |
- | | 6 | 25 | I16 | 272 | | + | | 6 | 22 | 25 | I16 | 272 | |
- | | 7 | 4 | I03 | 259 | | + | | 7 | 7 |
- | A ribbon cable may be used to extend the GPIOs. In this instance a female presentation will be given. | + | The BPi IO designation is also used by WiringPi. |
+ | |||
+ | A ribbon cable may be used to extend the GPIOs. In this instance a female presentation will be given (see picture). | ||
< | < | ||
______________________________________________________ | ______________________________________________________ | ||
Line 54: | Line 56: | ||
+-------------------------___-------------------------+ | +-------------------------___-------------------------+ | ||
</ | </ | ||
- | The naming | + | The above ribbon header |
< | < | ||
Line 66: | Line 68: | ||
+-------------------------___-------------------------+ | +-------------------------___-------------------------+ | ||
</ | </ | ||
- | This numbering above is for sysfs. | ||
+ | The above ribbon header numbering is for the Linux sysfs interface. | ||
+ | |||
+ | Alternatively, | ||
+ | follows. | ||
+ | |||
+ | < | ||
+ | ______________________________________________________ | ||
+ | / | ||
+ | +-----------------------------------------------------+ | ||
+ | | 0V 267 269 268 3V 273 274 275 0V 259 52 53 3V | 1 | ||
+ | | | | ||
+ | | | | ||
+ | | 270 266 272 0V 245 244 0V 226 225 224 0V 5V 5V | | ||
+ | +-------------------------___-------------------------+ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | === Pickle Microchip PIC ICSP === | ||
+ | |||
+ | Along with USB serial we can use the BPi GPIOs to program PICMicros using [[projects: | ||
+ | |||
+ | Install [[projects: | ||
+ | |||
+ | == Low Voltage Programming with VPP at 3V3 == | ||
+ | |||
+ | Low voltage ICSP at 3V3 can be performed directly from the BPi GPIOs. | ||
+ | |||
+ | The following connections refer to the BPi GPIO header. Ensure that power is only ever applied from GPIO 3V3 on PIN 1 and never 5V. | ||
+ | |||
+ | Single common data I/O connection (BPi or GPIO bit-bang driver) | ||
+ | < | ||
+ | BPi A20 | ||
+ | | ||
+ | |||
+ | | ||
+ | | | ||
+ | | ||
+ | | | ||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | | | ||
+ | /// | ||
+ | (R1) 10K !MCLR pull-up | ||
+ | (R2) 10K where appropriate (PGM is not present on all devices). | ||
+ | (R3..R6) 470R. | ||
+ | |||
+ | DEVICE=GPIO-BB | ||
+ | IFACE=/ | ||
+ | </ | ||
+ | |||
+ | ===Issues=== | ||
+ | |||
+ | Excessive CPU load can be seen in kernel process | ||
+ | `events_freezable_power' | ||
+ | |||
+ | This has been seen in Debian BOOKWORM and goes back | ||
+ | some time. | ||
+ | |||
+ | Add the following to rc.local to solve this | ||
+ | |||
+ | < | ||
+ | rmmod sun4i_gpadc sun4i_gpadc_iio | ||
+ | </ | ||
+ | |||
+ | NB blacklisting doesn' | ||
=== Resources === | === Resources === | ||
- | [[http://www.bananapi.org/p/product.html|What is Banana Pi?]]\\ | + | |
- | [[http:// | + | [[https://www.armbian.com/bananapi/|Armbian]] |
[[http:// | [[http:// |