ATMEGA328PB

For general Flowcode discussion that does not belong in the other sections.
Post Reply
ChrisT66
Posts: 37
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 12:47 pm
Been thanked: 1 time

ATMEGA328PB

Post 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

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

Re: ATMEGA328PB

Post 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.
Martin

ChrisT66
Posts: 37
Joined: Mon Dec 07, 2020 12:47 pm
Been thanked: 1 time

Re: ATMEGA328PB

Post 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?

Post Reply