Search found 4 matches

by pantelispv5
Mon Dec 15, 2025 5:56 pm
Forum: Projects - Embedded
Topic: Measure the supply voltage of an AVR
Replies: 0
Views: 9

Measure the supply voltage of an AVR

Hi, There. I need to measure the voltage that supplies the AVR 8bit ATtiny series using this very same MCU. Maybe I can use the Vgap reference 1.1V But I would like to ask if this can be done directly in Flowcode 11?
by pantelispv5
Mon Dec 15, 2025 5:50 pm
Forum: Projects - Embedded
Topic: Flowcode 11 PWM
Replies: 5
Views: 127

Re: Flowcode 11 PWM

As a sanity check I've just checked the settings in the Flowcode chip definition file and it all matches up with the datasheet. So I can't see why it's appearing backwards for you. As Steve suggests it could be the programmer being odd? I am not sure if it is a real programmer's weird definition in...
by pantelispv5
Fri Dec 12, 2025 12:36 pm
Forum: Projects - Embedded
Topic: Flowcode 11 PWM
Replies: 5
Views: 127

Re: Flowcode 11 PWM

My first step in debugging this is to make sure a "1 second flasher" program can be downloaded successfully and works as expected. This rules out so many issues with timing and the toolchain in general. Once you have done that and proved that there is not a timing or reprogramming issue, ...
by pantelispv5
Fri Dec 12, 2025 8:52 am
Forum: Projects - Embedded
Topic: Flowcode 11 PWM
Replies: 5
Views: 127

Flowcode 11 PWM

Hi, I have a fairly simple project and I need to use the PWM on channel 0 (channel 1 in Flowcode) in a ATtiny25 chip. Although the simulation seems fine the real chip do not seem to respond. I have checked the enable, prescaler, dutycycle, pin B0, etc. I use an ELNEC smartprog2 programmer and I firs...