I am sure this is very easy to do. I am using a F5529 to read a LMT01 temperature sensor using the "Single Timer Sync Comparator Mode". I have the Comp_B set up and it works perfectly, and the CBOUT output of the comparator switches at the hysteresis levels I set. I can also set TimerA1 in counter mode with clock being TACLK input. What is the C-Code to connect the Comparator CBOUT to the Timer1 TACLK? I see on the MSP430F5529 Launch Pad that P1.6 is labeled CBOUT and TA1CLK but I do not think that means they are automatically connected internally? Also not that the F5529 Dirver Library states that "GPIO_setASPeripheralModuleFunctionInputPin" ...or OutputPin is not supported on the F5xxx and F6xxx family. Question #2 The LMT01 specification sheet Fig 33 to turn off the LMT01 set the GPIO output to "High Impedance State" as setting it Low would cause the LMT01 to be reversed bias. I want to set the GPIO Pin driving the VP of the LMT01 either to 1 for Power Applied (GPIO-setOutputHighOnPin......), or "High Impedance" for power removed (ie not to 0.) What is the command for High Impedance? Thanks, Lorne
↧