Go Down

Topic: Atmega644 Serial1 Problems (Read 365 times) previous topic - next topic


I'm still working on a Arduino project with a atmega644 uC. I would like to read a serial signal on serial0 (working fine) and print a second signal on serial1 (did't worked) I dont know what i'm doing wrong.

Does anyone have an idea what could be the problem?


" print a second signal on serial1"

Print it to where? It will not show up on the serial monitor. Do you have Serial1.begin(speed) in setup()?
You can use an FTDI Basic or equivalent with the Tx1/RX1 and Serial.print1("stuff")" to a 2nd instance of Arduino IDE, or some COM program running on a different USB port.

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Thanks for your reply.

Yes i've tested the second serial signal (TX1/RX1) with a FTDI Converter and the following code:

void setup(){
void loop(){

Furthermore i've add a logic analyzer but i wasnt able to recognize any signal.
Do you have an idea where the problem is?


Jan 04, 2018, 07:35 am Last Edit: Jan 04, 2018, 07:41 am by Budvar10
I think, ATmega644 has just 1 serial port. You should use P, A or PA version if you want  2nd serial port.

Read this http://www.microchip.com/wwwproducts/en/ATmega644. Consider 1284P if it is new design. It is same model with 128k flash - twice more.
Arduino clone with ATmega1284P   http://forum.arduino.cc/index.php?topic=277260.0

Go Up