#define IDAC_VAL(x) (x*20.0/VREF*4095)
ir_ppg.led_level = IDAC_VAL(8); // 10mA@20ohm
vs_ppg.led_level = IDAC_VAL(10); // 10mA@20ohm
how it reflect the signal while plotting
reference URL:
https://www.ti.com/lit/zip/slaae25.
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.
#define IDAC_VAL(x) (x*20.0/VREF*4095)
ir_ppg.led_level = IDAC_VAL(8); // 10mA@20ohm
vs_ppg.led_level = IDAC_VAL(10); // 10mA@20ohm
how it reflect the signal while plotting
reference URL:
https://www.ti.com/lit/zip/slaae25.
Hi GNANA,
The value be able to seeting is 0xFFF, but the actual value based on the LED model parameter, external circuit resistance, etc.
Thanks!
Best Regards
Johnson
**Attention** This is a public forum