Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: nuovaelectra on July 23, 2015, 11:13:02 AM

Title: use processing with gpio in A20
Post by: nuovaelectra on July 23, 2015, 11:13:02 AM
hello , I want to know if someone can help me use gpio " in and out pwm " in a20 .
I also read the temperature of two modules :
tc mod mk2 in spi .
with all this processing , because I 've done the whole program , and is the only one that I use .
given the time constraints, I have no time to start all over with other programs .
Thanks for your help.
Title: Re: use processing with gpio in A20
Post by: soenke on July 23, 2015, 08:41:42 PM
I'm not sure what you are planning to do, but what i know is that you can get gpio-output on/off to max. 2Mhz if you access it directly via memory. So based on that you can calculate a possible pwm resolution at your clock needs.
There are also 2 build-in-pwm channels on the A20.
If that is not enough i would recommend using a external i2c pwm chip like the PCA9531PW or something like that.