<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I don’t know if this is the answer, but a lot of the GPIOs that you can’t get to work are wired to a 4GB NAND eMMC chip using the MMC1 bus.<div class=""><br class=""></div><div class="">GPIO1_16 is tied to GPIO2_0 through R160 and R161 as shown on page 3 of the schematics. I have no idea why that would be.<br class=""><div class=""><br class=""></div><div class="">A<br class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 2015-July-28, at 21:30, Angelo Fraietta <<a href="mailto:newsgroups@smartcontroller.com.au" class="">newsgroups@smartcontroller.com.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I have done some more tests to check whether all inputs actually work.<div class="">I set all as inputs like this in the init</div><div class=""><div class=""> *(unsigned long *)(GPIO0_ADDR+OE_ADDR) = 0xFFFFFFFF;</div><div class=""> *(unsigned long *)(GPIO1_ADDR+OE_ADDR) = 0xFFFFFFFF;</div><div class=""> *(unsigned long *)(GPIO2_ADDR+OE_ADDR) = 0xFFFFFFFF;</div><div class=""> *(unsigned long *)(GPIO3_ADDR+OE_ADDR) = 0xFFFFFFFF;</div></div><div class=""><br class=""></div><div class="">And read them in a task while switching the pins between 1 and zero</div><div class=""><br class=""></div><div class=""><div class=""> data_0 = *(unsigned long *)(GPIO0_ADDR+GPIO_DATAIN);</div><div class=""> data_1 = *(unsigned long *)(GPIO1_ADDR+GPIO_DATAIN);</div><div class=""> data_2 = *(unsigned long *)(GPIO2_ADDR+GPIO_DATAIN);</div><div class=""> data_3 = *(unsigned long *)(GPIO3_ADDR+GPIO_DATAIN);</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I found that GPIO1_0 to GPIO1_3 did not work</div><div class="">I found that GPIO1_30 and GPIO1_31 did not work<br class=""></div><div class="">I found that GPIO0_4 and GPIO0_5 did not work<br class=""></div><div class=""><br class=""></div><div class="">I found GPIO1_16 is actually GPIO2_0 - which is very strange as all the other GPIO2 are on P8</div><div class="">I found none of GPIO3 read a value</div><div class=""><br class=""></div><div class="">Anyone have have any suggestions? Maybe an incorrect address for GPIO3?</div><div class=""><div class="">#define GPIO0_ADDR 0x44E07000</div><div class="">#define GPIO1_ADDR 0x4804C000</div><div class="">#define GPIO2_ADDR 0x481AC000</div><div class="">#define GPIO3_ADDR 0x481AF000</div></div><div class=""><br class=""></div><div class="">Thanks</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 29, 2015 at 11:49 AM, Chris Johns <span dir="ltr" class=""><<a href="mailto:chrisj@rtems.org" target="_blank" class="">chrisj@rtems.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 29/07/2015 2:01 am, Joel Sherrill wrote:<br class="">
><br class="">
><br class="">
> On 7/28/2015 8:39 AM, Mr. Andrei Chichak wrote:<br class="">
>> Hey Angelo,<br class="">
>><br class="">
</span>>> If you have about an hour, listen to the <a href="http://embedded.fm/" rel="noreferrer" target="_blank" class="">embedded.fm</a> podcast #110<br class="">
>> (<a href="http://www.embedded.fm/" rel="noreferrer" target="_blank" class="">www.embedded.fm</a> <<a href="http://www.embedded.fm/" rel="noreferrer" target="_blank" class="">http://www.embedded.fm</a>> or iTunes). They talk with<br class="">
>> Jason Kridner of <a href="http://Beagleboard.org" class="">Beagleboard.org</a> <<a href="http://beagleboard.org/" rel="noreferrer" target="_blank" class="">http://Beagleboard.org</a>>, also from<br class="">
<span class="">>> TI. He wants people to send him queries about the Beagle Boards, like<br class="">
>> your pinout questions.<br class="">
>><br class="">
>> RTEMS even comes up in the conversation.<br class="">
>><br class="">
><br class="">
> I saw a tweet on this last week. I need to listen to Jason also.<br class="">
</span>> He is a nice guy and the <a href="http://embedded.fm/" rel="noreferrer" target="_blank" class="">embedded.fm</a> podcast is a great resource.<br class="">
><br class="">
<br class="">
Great podcast.<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
Chris<br class="">
</font></span></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></body></html>