This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2650: Sensor Controller COMPA Settling Time

Part Number: CC2650


Hello,

I'm using the CC2650 chip with the Sensor Controller to measure COMPA cross over against a custom voltage reference and am trying to debug some odd behavior.

In the sensor control example code for COMPA the code cites an unknown settling time:

// Enable COMPA
compaEnable();

// Select COMPA reference and input
compaSelectGpioRef(AUXIO_A_REFERENCE);
compaSelectGpioInput(AUXIO_A_SIGNAL);

... Do other tasks while the COMPA output stabilizes

// Check the COMPA output
compaGetOutput(output.value);

// Disable COMPA
compaDisable(); 

The CC2650 datasheet does not elaborate on the compa stabilization time, can someone advise how long the settling time would be if using a external voltage reference? Where is this covered in a datasheet?

  • Hello Ben,
    This depend on the capacitance and or drive level on the input lines. COMPA is an analog comparator (not clocked) and therefore it will reflect the input immediately. You can try to profile this yourselves for your specific application by storing results in a buffer immediately after you select known input levels.