Other Parts Discussed in Thread: AFE031
Tool/software: Code Composer Studio
Hi,
I was going through the code of boostxl_afe031_dacmode_main.c. I want to use this for my work but I didn't find any explanation regarding
//
// NOTE: Firmware gain values calibrated w/1500nF, 1.5kV line coupling capacitor
// and multiplied by 1024 to enable faster integer division (i.e. logical shift).
//
Uint32 GAIN_SPACE_x1024 = 676; // SPACE Gain x 1024
Uint32 GAIN_MARK_x1024 = 558; // MARK Gain x 1024
Can anyone suggest where I can find the relevant info. of how to choose the gain values?
Thanks .
Best Regards
Ankur Chauhan