I am using a ATmega644P and would like have a second serial port.
The device has one but I can not see how to "use" it. (Pins 16 = RX1, pin 17 = TX1)
Have used "softserial" but while the Tx works on the 644, the Rx on ANY pin I program does not?
I have used softserial on my Duemilanove and it works, I just ran out of program space, so migrated to the 644.
I am using Sanguino 644 8MHz for the "Board"
Can any one advice pls.
Also can some point me to a "table" that lists what the letters mean after the ATmega chips, P/PU/V/A etc
"Also can some point me to a "table" that lists what the letters mean after the ATmega chips, P/PU/V/A etc"
That can be found in the datasheets.
In general, the first part:
Atmega644, 644A, 644P, 644PA,
The P stands for Pico power, while the A refers to an update,
and -PU, -AU, -MU, etc. refers to the packaging. DIP, quad flat pack, leadless, ball grid array, etc.
...select "microcontroller selector" for a parametric kind of search....
Hi
Thanks for the all your prompt reply's.
"Serial1".worked, but funny enough when I use "Serial0". it does not compile...
But "Serial." does, thanks anyway, system working, so I can move on.
"Letters" after chip number, thanks for the list.
Not sure about if "no 2nd serial" if P is missing thou.....
I thought I remember reading somewhere that the reference to no second serial port on the non-P 644 was an error and it does in fact have a second UART.
I keep meaning to get my 644P's and 644's bootloaded and actually prove it true or false, unless someone else can confirm.
tack:
I thought I remember reading somewhere that the reference to no second serial port on the non-P 644 was an error and it does in fact have a second UART.
I keep meaning to get my 644P's and 644's bootloaded and actually prove it true or false.
The Atmel datasheets are pretty clear on the matter. From the 644 datasheet:
The ATmega644 has one USART, USART0.
I've got a optiboot version hex file that works on the 644 chip:
jamesvote:
I am using a ATmega644P and would like have a second serial port.
The device has one but I can not see how to "use" it. (Pins 16 = RX1, pin 17 = TX1)
Have used "softserial" but while the Tx works on the 644, the Rx on ANY pin I program does not?
I have used softserial on my Duemilanove and it works, I just ran out of program space, so migrated to the 644.
I am using Sanguino 644 8MHz for the "Board"
Can any one advice pls.
Also can some point me to a "table" that lists what the letters mean after the ATmega chips, P/PU/V/A etc
Thanks
I have the same problem I need to use 3 serial ports, so in addition with Serial1 and serial0(Serial) i have to use a third one with softwareserial.h when Tx work perfectly Rx does not work on any pin.
My Atmega644P@Ext8MHz can send data but can't receive..
I have no experience with the 644p but I've using the 1284p and faced a similar problem in the past and I too was unable to receive on SoftwareSerial port. (The 1284p has a second hardware serial port but still I needed two more!)
The problem was solved after I switched to the Mighty Core and at the same time to the latest IDE 1.8.x leaving behind the 1.06. I am now using pins PB0 & PC4 for the receive pins of two SoftwareSerial ports. (Can only receive from one port at a time though)