You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more a question than an issue. I tried to calculate the time to pass into EmonLibCM_setADC() as ADC_duration from the data sheet. While the data sheet calculates the formatting duration as 2/f_CLK_PER, EmonLibCM uses 2/f_CLK_ADC. The result is 36.75µs in the datasheet case and 39.3µs in the EmonLibCM case. The EmonLibCM value is more correct than the value calculated with the data sheet.
Do you have any explanation for your way of determining ADC_duration?
The text was updated successfully, but these errors were encountered:
This affects the avrdb branch.
This is more a question than an issue. I tried to calculate the time to pass into EmonLibCM_setADC() as ADC_duration from the data sheet. While the data sheet calculates the formatting duration as 2/f_CLK_PER, EmonLibCM uses 2/f_CLK_ADC. The result is 36.75µs in the datasheet case and 39.3µs in the EmonLibCM case. The EmonLibCM value is more correct than the value calculated with the data sheet.
Do you have any explanation for your way of determining ADC_duration?
The text was updated successfully, but these errors were encountered: