ATmega RS232 problems using internal clock / 8

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
Niro
Posts: 77
Joined: Mon Jan 03, 2011 8:58 pm
Has thanked: 29 times
Been thanked: 10 times
Contact:

ATmega RS232 problems using internal clock / 8

Post by Niro »

Hi guys,

actually I'm using an ATmega328P with internal clock at 8MHz and the 'internal division by 8' to reduce the power consuption.
The software is still working now with 1Mhz but unfortunately I can't access the chip via RS232 anymore!
Maybe it has to do with the clock settings in the project options.

If I disable the 'internal division by 8' and set the clock to 8MHz everything is fine with SW and RS232.
If I enable the 'internal division by 8' and set the clock to 8MHz everything is fine with SW but RS232 does not respond.

Thinking the RS232 paramters for FlowCode are calculated from the clock settings, I changed the clock settings in the project options to 1MHz.
Unfortunately neither the SW nor the RS232 communication is working now.

Can anybody help to get the RS232 working with 'internal division by 8' ?

Many thanks!!
Niro
Attachments
Atmega328P_01.jpg
Atmega328P_01.jpg (65.9 KiB) Viewed 5378 times

Niro
Posts: 77
Joined: Mon Jan 03, 2011 8:58 pm
Has thanked: 29 times
Been thanked: 10 times
Contact:

Re: ATmega RS232 problems using internal clock / 8

Post by Niro »

....no ideas at all ??

Regards,
Niro

Post Reply