attinyX5 ADC simulation incorrect behavior
attinyX5 ADC simulation incorrect behavior: a task in LegoFlow-SWE (Harbor dataset). The BIN and IPR bits in the ADC’s secondary mux/control register (ADCSRB) are not properly implemented. When BIN is enabled for a conversion, the ADC result should follow the attinyX5 datasheet behavior for…
The task
The BIN and IPR bits in the ADC’s secondary mux/control register (ADCSRB) are not properly implemented. When BIN is enabled for a conversion, the ADC result should follow the attinyX5 datasheet behavior for bipolar/binary mode used with differential inputs. When IPR is enabled, the result should reflect the proper…
Part of Lego-X/LegoFlow-SWE.