Electrical – How to simulate adc with avr simulator 2

avrsimulation

I would like to know is there a way to simulate (without involving real hardware) analogue input for the ADC pin with stimuli file in avr simulator 2?

I've failed simulating it in Proteus and in my opinion it does not provide enough flexibility and most important speed.

Best Answer

You can't.

As per the documentation:

The simulator is not a complete model of the device. While digital logic is simulated cycle-accurately, all analog periphery is presently lacking

The simulations are not real simulations of hardware, they simulate the behaviour of the digital circuitry. There is no implementation of the analogue functionality in the simulations.