Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:bpi [2015/11/03 22:23] – darron | boards:bpi [2023/11/05 17:41] (current) – [GPIO] darron | ||
---|---|---|---|
Line 33: | Line 33: | ||
This is the relationship between the Banana Pi IO, [[: | 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 |
+ | |||
+ | 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). | A ribbon cable may be used to extend the GPIOs. In this instance a female presentation will be given (see picture). | ||
Line 68: | Line 70: | ||
The above ribbon header numbering is for the Linux sysfs interface. | 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 === | === Pickle Microchip PIC ICSP === | ||
Along with USB serial we can use the BPi GPIOs to program PICMicros using [[projects: | Along with USB serial we can use the BPi GPIOs to program PICMicros using [[projects: | ||
- | Memory mapped I/O can be used to drive the GPIOs, however, the [[projects: | + | Install |
== Low Voltage Programming with VPP at 3V3 == | == Low Voltage Programming with VPP at 3V3 == | ||
Line 101: | Line 120: | ||
(R2) 10K where appropriate (PGM is not present on all devices). | (R2) 10K where appropriate (PGM is not present on all devices). | ||
(R3..R6) 470R. | (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:// |