Author Topic: ATtiny25/45/85 in Proteus: can't adjust 128 kHz  (Read 795 times)

0 Members and 1 Guest are viewing this topic.

Offline siealexTopic starter

  • Regular Contributor
  • *
  • Posts: 50
  • Country: ua
ATtiny25/45/85 in Proteus: can't adjust 128 kHz
« on: July 19, 2025, 09:30:54 am »
Yesterday I ran into a strange issue with ATtiny45/85 in Proteus.
The "project" is a simple melody beeper using an ATtiny45 clocked with its internal watchdog oscillator (128 kHz). The problem is that in Proteus this frequency is 5..7% higher than in real hardware, so the beeper sounds transposed upwards. The real frequency in hardware does not matter, but for the sake of convenience, the frequency in Proteus should match the hardware exactly (~1%).
However, if the CKSEL fuses are set to the internal oscillator, Proteus does NOT react to the frequency setting in the chip properties. And if those fuses are set to a low-frequency quartz oscillator, the frequency can be adjusted, but Proteus disables pins 2 and 3, which are two control inputs in my circuit.
Is it possible to circumvent this limitation?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf