Hi Steve,
It did look like there are two inputs, thanks for confirmation.
I do have a 11x1 user guide.
When I run the program, I don't get a timer_A interrupt,
the CA1 terminal has a 1.5v on it (.5*VCC), that doesn't seem
to make sense, it should have 3.0V on it once the cap charges,
which is as far as my code goes as yet.
Steve Underwood wrote:
Hi Kelly,
I think Fig 16-1 in the MSP430x1xx family user's guide (slau049d) is
pretty explicit. It shows there are genuinely two comparator inputs, and
the register bits you need to control to make use of them. Do you have
that document, or are you struggling with just the datasheet for the
1121 itself? You really must have that user's guide to understand most
of the peripherals properly.
Regards,
Steve
Kelly Murray wrote:
I'm working on a little NiCd/MH battery charger using the 1121 chip.
I need to get a temp and voltage level on the battery, and am trying
to use the comparator for this. I've looked over the slaa129 thermostat
example, as well as the fet110_ca_temp.S example.
The theory of slope is clear to me.
My circuit is not working as expected.
I find the description of the comparator
configuration a bit confusing in the TI docs. let me start
with one simple question, do CA0 and CA1 provide two seperate inputs?
I have not seen that explicitly mentioned anywhere, and all examples
use only CA0. My circuit currently being tested uses CA1 for the
thermistor temp reading.
thanks,
Kelly Murray
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users