I think there is practical way to test the resolution of the AVR pwm frequency. I mentioned a previous link on how to set up some servo code. I would determine the freq. of interest, then load the registers accordingly. From that point add to the register by one and note the frequency change and so forth would inform just what resolution is possible?
No increased resolution for HPWM and AVRs. Byte sized variables were used to keep library overhead low so that HPWM will also work on say a tiny13A. Increasing the frequency resolution would be an interesting project.
Glad you got it sorted.
I found my Nano and it was already to go on a breadboard! So I programmed the chip per previous OP gcb program. Again I am using AVRISP MarkII programmer and GCB 0.99.01 compiler. ChipID# 0x1E950F Freq. 3974 Duty 49% I will try the AVRDude programmer next.
The device signature still not lining up. Have you tried to use device for AVRDude as -p m328p ?
Copied the make hex output window from 0.99.01 from help example, no errors: 20:03:04 G+Stool started with parameter 'hex' -> processing C:\GCB@Syn\G+Stools\makeHEX.bat Source-File = C:\GCB@Syn_Programs\Forum\HPWM_Nano_m328.gcb Target-File = C:\GCB@Syn_Programs\Forum\HPWM_Nano_m328.hex Compiler Version: 0.99.01 2022-01-27 (Windows 64 bit) : Build 1073 Program Memory: 724/32768 bytes (2.21%) RAM: 11/2048 bytes (0.54%) OSC: 16Mhz Chip: MEGA328 Duration: 1.8 Seconds. EDIT: Can you blink an led by just...
Copied the make hex output window from 0.99.01 from help example, no errors: 20:03:04 G+Stool started with parameter 'hex' -> processing C:\GCB@Syn\G+Stools\makeHEX.bat Source-File = C:\GCB@Syn_Programs\Forum\HPWM_Nano_m328.gcb Target-File = C:\GCB@Syn_Programs\Forum\HPWM_Nano_m328.hex Compiler Version: 0.99.01 2022-01-27 (Windows 64 bit) : Build 1073 Program Memory: 724/32768 bytes (2.21%) RAM: 11/2048 bytes (0.54%) OSC: 16Mhz Chip: MEGA328 Duration: 1.8 Seconds. EDIT: Can you blink an led by just...
Copied the make hex output window from 0.99.01 from help example, no errors: 20:03:04 G+Stool started with parameter 'hex' -> processing C:\GCB@Syn\G+Stools\makeHEX.bat Source-File = C:\GCB@Syn_Programs\Forum\HPWM_Nano_m328.gcb Target-File = C:\GCB@Syn_Programs\Forum\HPWM_Nano_m328.hex Compiler Version: 0.99.01 2022-01-27 (Windows 64 bit) : Build 1073 Program Memory: 724/32768 bytes (2.21%) RAM: 11/2048 bytes (0.54%) OSC: 16Mhz Chip: MEGA328 Duration: 1.8 Seconds. EDIT: Can you blink an led by just...