My answer would be the same as when I was TA'ing CS courses, "I don't know, why
don't try it and tell me what happens?"
My guess would be if the cap is big enough and you write directly to the FIOxDIR
pin to disable the digital drive and then the PINSEL register you might have it
work.
--- In ARMexpress@yahoogroups.com, "pompey2" wrote:
>
> " On reset or power up the AD pins are configured as AD inputs. To change
those to digital IOs, the user must individually specify a control direction
using INPUT x, OUTPUT x, DIR(x), or IO(x) commands. After that they will
remain digital IOs until the next reset or power up."
>
> Is there a non-disruptive way, writing '11' to the appropriate bits of Pinselx
for example, to switch back to AD Inputs? I'd like to discharge a capacitor to
Gnd, then measure the time to reach specific trip voltages as it recharges
through a thermistor, and would like to use 1 pin.
>
> Chris
Dual use AD pins
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: Dual use AD pins
Why not use in fact two pins, with suitable diodes, one to discharge, one to
read the value......just a thought.....
Greetings from
Andy Mathison
read the value......just a thought.....
Greetings from
Andy Mathison
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: Dual use AD pins
PMJI, but IMHO the support Cordium provides here is pretty decent. For one
thing, Bruce is clearly more than just a tech support drone, he actually knows a
great deal about the product he's supporting -- a rare luxury in any technology
field these days. (Even just fluent English is becoming scarce.)
More, he seems to reply to nearly every question here in a reasonably timely
fashion -- some companies neglect to respond at all, to multiple submissions of
the same issue. (I have a case in point under my skin at the moment, I don't
want to mention any names, but their initials are "Vivotek".)
When you consider that this is hardly a consumer-level sort of product, I think
support is well above par -- in fact, a big part of the reason I picked Cordium
was that they responded to my entry-level questions over a holiday weekend, no
less. (Embedded systems are just a hobby of mine, I'm a database app designer
by trade.)
Lastly, I can empathize with the "give it a try" reply, when trying it costs the
asker little more than creating a file and firing up the compiler. If you've
already tried it many different ways with no love, it's another matter, but...
When you can "ask" the machine in little more time than it takes to post a
question, "give it a try" is a valid response... from where I sit, anyway.
So in a nutshell my 2 cents would be: give credit where credit is due.
-MM
thing, Bruce is clearly more than just a tech support drone, he actually knows a
great deal about the product he's supporting -- a rare luxury in any technology
field these days. (Even just fluent English is becoming scarce.)

More, he seems to reply to nearly every question here in a reasonably timely
fashion -- some companies neglect to respond at all, to multiple submissions of
the same issue. (I have a case in point under my skin at the moment, I don't
want to mention any names, but their initials are "Vivotek".)
When you consider that this is hardly a consumer-level sort of product, I think
support is well above par -- in fact, a big part of the reason I picked Cordium
was that they responded to my entry-level questions over a holiday weekend, no
less. (Embedded systems are just a hobby of mine, I'm a database app designer
by trade.)
Lastly, I can empathize with the "give it a try" reply, when trying it costs the
asker little more than creating a file and firing up the compiler. If you've
already tried it many different ways with no love, it's another matter, but...
When you can "ask" the machine in little more time than it takes to post a
question, "give it a try" is a valid response... from where I sit, anyway.
So in a nutshell my 2 cents would be: give credit where credit is due.
-MM
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: Dual use AD pins
I agree. I think the support provided by Bruce has been excellent for me, and is
outstanding in my experience of tech support in general. However you have to
make an effort yourself. These are not simple products. If you are a real
neophyte you probably should be starting with something like the BasicStamp or
the Lego controller. You have to study and understand the docs, including the
ARM manuals, and test some code. Then you may come up with a sensible question
that I am sure Bruce will answer.
RNG
outstanding in my experience of tech support in general. However you have to
make an effort yourself. These are not simple products. If you are a real
neophyte you probably should be starting with something like the BasicStamp or
the Lego controller. You have to study and understand the docs, including the
ARM manuals, and test some code. Then you may come up with a sensible question
that I am sure Bruce will answer.
RNG