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