2006-07-27 01:41 AM
2006-07-26 09:30 PM
Hi,
I am using DEV3 emulator. In my program I set bit 1 in MCCSR to 1 to enable Main Clock Output. The problem is that the frequency I measure on this pin is half the frequency I have set in the Debug instruments/MCU configuration box. If I set Fosc to 16MHz I measure 8MHz on the MCO pin, if I set Fosc to 8MHz I measure 4MHz. I checked this with ST7FDALI and ST7LITE. Is this the way it should be or not? Thanks2006-07-27 01:41 AM
Hi,
Main Clock Output is FCPU which is Fosc/2 (have a look to the clock managment block diagram). Then it is normal you get half the frequence you enter. This abswer also your PWM problem. Best regards Laurent