Hi I recently read the section GPIOs Warnings in the Wiki. But I am a bit confused how to avoid. 1. Am I right I should check in my Arduino sketch the pinout direction? 2. If I am aware of that, how can I reset the pinout direction for SAM3x8E? Thanks for your help!
If you only use one of the side , sam or imx6 you don`t need to be concerned . What they are saying is don`t set both sides to output !!!!. I`ve not 100% sure (99.9%) , but I think removing to power should reset all the port , then it will start running the program , so setting the ports up again , as per program
I am interested in this too. I do not want to damage my UDOO! I display all i.MX6 GPIO on screen using command: grep ^ /sys/class/gpio/*/direction (or similar, I don't have my notes in front of me). This gives me a nice view of everything. I want to do the same thing for the SAM3x portion of the UDOO, so that I can compare what they are, and to make sure they match properly. Can I do this from command line? Thanks!
In all my recent research, it looks as if the SAM3x pins must be assigned using Arduino programming only. The best advice is to initialise all pins to INPUT state, and proceed from there. That is what I will do. Once there is a new project idea, the Arduino pin state can be initialised properly, and nothing will be damaged.