Testing the GPIO pins
#1
Based on the PDF attached to the post at http://forum.pine64.org/showthread.php?t...38#pid1238, I have been able to test all the pins as output by lighting a LED. 

However, I noticed that the LED isn't as bright when I use any of the PL pins. I don't have much experience here so could anyone explain the reason for this?

I also couldn't get PL10 to work at all as the LED wouldn't come on. All other pins on the Pi2, Euler and Exp bus work fine, however. Could this be a problem with my board or is there something I have to set to use this as an output pin?

Just for reference, these are the PL pins I tested
       GPIO   Pin No.
PL10    362    8 (Pi 2)
 PL9    361   27 (Pi 2)
 PL8    360   28 (Pi 2)
PL11    363    7 (Euler)
 PL7    359    2 (Exp)
  Reply
#2
I suspect that these pins have built-in current limiting resistors. I know this is true for at least the PL7 GP(359) !

PL7 is the system LED (on the board between the IR module female plug and the power button. (LED on the left)

This is designed for a 3mm low-power 2-4 ma LED. There is a 1000 ohm resistor in-line with this LED built-in. Hence, it is dimly lit (even with a low-power LED).
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#3
According to A64_Datasheet_V1.1.pdf, the ports typical voltages are :

VCC-IO,VCC-PC => 3.3V
VCC-PD,VCC-PE => 2.5V
VCC-PG,VCC-PL => 1.8V

(although I didn't check with voltmeter yet)
  Reply
#4
(08-10-2016, 09:44 AM)martinayotte Wrote: According to A64_Datasheet_V1.1.pdf, the ports typical voltages are :

VCC-IO,VCC-PC => 3.3V
VCC-PD,VCC-PE => 2.5V
VCC-PG,VCC-PL => 1.8V

(although I didn't check with voltmeter yet)

martinayotte,  thank you for this note;  the question now is the reverse, what are the maximum voltages for these pins on input ?!?   Is the maximum 3v3 on all GPIO pins, or is it (for instance)  1.8v on  PG, and PL ?

Wish we had the latest schematic and datasheet for the 2G A64 +
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#5
According to the same specs, it seems that all pins can tolerate up to 3.6V
  Reply
#6
(08-10-2016, 01:02 PM)martinayotte Wrote: According to the same specs, it seems that all pins can tolerate up to 3.6V

That is the assumption I have worked against ... but then again, I have only ever used the 'normal' GPIO pins on the PI bus...  I am now wondering if those output voltages are programable ?    martinayotte, where are you reading from... is this data sheet on the wiki ?  or in the user manual ?
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#7
It is coming from http://files.pine64.org/doc/datasheet/pi...t_V1.1.pdf
  Reply
#8
(08-10-2016, 05:24 PM)martinayotte Wrote: It is coming from http://files.pine64.org/doc/datasheet/pi...t_V1.1.pdf

thanks
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 131,636 12-15-2022, 08:40 PM
Last Post: Fadazo
  fm transmitter with gpio weasel18 2 4,830 09-10-2019, 04:28 AM
Last Post: desai_amogh
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,601 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,135 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,218 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,857 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 31,613 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,778 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,178 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,098 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 1 Guest(s)