Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:bpi [2020/08/05 04:52] – [Pickle Microchip PIC ICSP] darronboards:bpi [2023/11/05 17:41] (current) – [GPIO] darron
Line 70: 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, a GPIO extension cable may present male pins as
 +follows.
 +
 +<code>
 +  ______________________________________________________
 + /                                                     /
 ++-----------------------------------------------------+
 +|  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 |
 ++-------------------------___-------------------------+
 +</code>
 +
 +
 +
 === Pickle Microchip PIC ICSP === === Pickle Microchip PIC ICSP ===
  
 Along with USB serial we can use the BPi GPIOs to program PICMicros using [[projects:pickle|Pickle Microchip PIC ICSP]]. Along with USB serial we can use the BPi GPIOs to program PICMicros using [[projects:pickle|Pickle Microchip PIC ICSP]].
  
-Memory mapped I/O can be used to drive the GPIOs, however, the [[projects:gpio-bb|GPIO bit-bang driver for Linux]] may also be utilised on the BPi if preferred.+Install [[projects:gpio-bb|GPIO bit-bang driver for Linux]].
  
 == Low Voltage Programming with VPP at 3V3 == == Low Voltage Programming with VPP at 3V3 ==
Line 104: Line 121:
 (R3..R6) 470R. (R3..R6) 470R.
  
-DEVICE=BPI 
- or 
 DEVICE=GPIO-BB DEVICE=GPIO-BB
-IFACCE=/dev/gpio-bb+IFACE=/dev/gpio-bb
 </code> </code>
  
 +===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
 +
 +<code>
 +rmmod sun4i_gpadc sun4i_gpadc_iio
 +</code>
 +
 +NB blacklisting doesn't appear to work.
 === Resources === === Resources ===
-[[http://www.bananapi.org/p/product.html|What is Banana Pi?]]\\ + 
-[[http://dl.linux-sunxi.org/A20/A20%20user%20manual%20v1.3%2020141010.pdf|A20 User Manual]]\\+[[https://www.armbian.com/bananapi/|Armbian]] 
 [[http://linux-sunxi.org/A20/PIO|A20 I/O ports]] [[http://linux-sunxi.org/A20/PIO|A20 I/O ports]]