Jump to content

Olinuxino Micro A20 - newest Vanilla - GPIO - no luck


barish

Recommended Posts

Hi there,

 

I've been trying for a few hours now to get the GPIOs working with the mainline kernel (ARMBIAN Debian GNU/Linux 8 (jessie) 4.5.2-sunxi). According to the board layout photo, I am using PG0, PG1, PG2 and PG3. With the legacy kernel, they export as GPIO1-PG0 a.s.o. accordingly and work perfectly.

 

So I calculate the GPIO pin number: G is 7th letter, 7 - 1 is 6, 6 * 32 is 192. GPIO192 exports fine, I can set it to output, change the value to 1 but there's no voltage!

 

Can anyone help me, please?

Link to comment
Share on other sites

I found out now that on GPIO port 3, the PH0 works when addressed as GPIO224. Could it be that the LCD is activated by default and thus PGxxx are not working? If so, how could I deactivate LCD?

 

Thanks for any help.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines