I defer to the creator of BoneScript to answer that. I assume that if the
HDMi port were disabled, it frees this pin as well. But maybe not.

Gerald


On Thu, Jul 9, 2015 at 7:55 AM, jmschmitz12 <jmschmit...@gmail.com> wrote:

> Okay gotcha. Would you agree with my logic in the first part then (about
> the beaglescript)?
>
>
>
> Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone
> -------- Original message --------
> From: Gerald Coley <ger...@beagleboard.org>
> Date: 07/09/2015 8:33 AM (GMT-05:00)
> To: beagleboard@googlegroups.com
> Subject: Re: [beagleboard] Pin Acting Odd
>
> I can't speak for the SW implementations. I just know how the board was
> designed.
>
> Gerald
>
> On Thu, Jul 9, 2015 at 7:31 AM, <jmschmit...@gmail.com> wrote:
>
>> Okay I think I see what you are saying.  The MODE0 for GPIO3_21 is
>> "mcasp0_ahclkx",  so with that beaglescript code, when I say
>> "b.pinmode("P9_25",b.output)" it is outputting the results of the MODE0
>> (clock generator output) and not the MODE7(GPIO output) as I had expected?
>>
>> But if this were the case, in my Python ADAfruit code, I explicitly set
>> that pin to GPIO, so shouldn't behave like that?
>>
>> Thanks for your help, really trying to get a solid grasp on these
>> concepts!
>>
>> -Joe
>>
>> On Wednesday, July 8, 2015 at 10:14:00 PM UTC-4, Gerald wrote:
>>>
>>> Take a look at the schematic. GPIO3_21 is connected to the output of a
>>> clock generator. To use it you must disable the Oscillator.
>>>
>>> *Oscillator can be disabled via SW*
>>> *for power down modes or if*
>>> *GPIO3_21 needs to be used*
>>>
>>> My suggestion is to pick another pin to work with. Less headaches.
>>>
>>> Gerald
>>>
>>>
>>> On Wed, Jul 8, 2015 at 8:47 PM, <jmsch...@gmail.com> wrote:
>>>
>>>>
>>>> Hey all,
>>>>
>>>> I am pretty new to the BBB and I came across something pretty odd that
>>>> I have been trying to figure out for a few hours now as I was creating a
>>>> push button circuit:
>>>>
>>>> P9_25 is a GPIO pin.  I set it to input but noticed that it would not
>>>> respond to my button.  After some digging I realized that the pin itself
>>>> was acting funky, so I isolated it to run some tests with BB's Bonescript
>>>> tutorial on GPIO digitalWrite().  I ran this code below (apologies for the
>>>> sloppy picture) with the adjacent circuit configuration shown as well.
>>>> Obviously, the LED should turn off, but it doesn't:
>>>>
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-UVZwTNBSR00/VZ3RjMNpQiI/AAAAAAAAAGM/mjWtyKl5LTw/s1600/20150708_212210.jpg>
>>>> <https://lh3.googleusercontent.com/-lmn1_9_NGTM/VZ3PwVv6MLI/AAAAAAAAAF4/-yVeDLNf7fY/s1600/20150708_212158.jpg>
>>>>
>>>>
>>>> I then tried the same tests on other pins, such as P9_26, and it worked
>>>> perfectly, so that's where I'm startled.
>>>>
>>>>
>>>> I have two theories:
>>>>
>>>>
>>>> 1)  I messed with P9_25 in the past, and it is reconfigured in a weird
>>>> way; if someone has this hunch, could you please perhaps inform me how to
>>>> reset the pin to its original glory?
>>>>
>>>>
>>>> 2) The pin is busted.  Fingers crossed for #1.
>>>>
>>>>
>>>> If anybody has run into something similar, or has any idea what I
>>>> should do, please let me know!
>>>>
>>>>
>>>> Thank you for you time.
>>>>
>>>>
>>>> -Joe
>>>>
>>>> --
>>>> For more options, visit http://beagleboard.org/discuss
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "BeagleBoard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to beagleboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Gerald
>>>
>>> ger...@beagleboard.org
>>> http://beagleboard.org/
>>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Gerald
>
> ger...@beagleboard.org
> http://beagleboard.org/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/UpeUMNBIkKU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gerald

ger...@beagleboard.org
http://beagleboard.org/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to