Page 1 of 1

ATMEGA328PB

Posted: Sun Sep 18, 2022 7:28 am
by ChrisT66
Hello, since unfortunately the atmega328PB is (still) not selectable in Flowcode, I program this with the selection 328P. So far this has worked quite well.
My question: Are there things where I should be careful or known that does not work?
Greetings Chris

Re: ATMEGA328PB

Posted: Sun Sep 18, 2022 2:03 pm
by medelec35
Hi Chris,
If you look at this link, it would suggest the PB version is backwards compatible to the B version.
Therefore your project should work as intended.

Re: ATMEGA328PB

Posted: Sun Sep 18, 2022 2:13 pm
by ChrisT66
Thank you for your answer!
My problem is that each controller produces a different internal oscillator frequency at the same voltage. I.e. even if it is set to 8 MHz internally, it is 8 for one and maybe 7.9 for the other.
I want to have an ATMEGA8A and an ATMEGA328PB communicate via UART. Both are connected to the same supply voltage. Now the reception in the PB does not work at more than 5V, below 5V it does. Is there a possibility to calibrate the oscillator to a voltage via flowcode using OSCCAL?