Atmega328P UART (software mode )
Posted: Fri Sep 06, 2024 1:33 am
Hi
There is a Bug in the Uart software mode
Uart is Transmitting ok, Interrupt also working but not Receiving Char or String
I make a simple program to receive 1 char and send it back but I always receive 0xFF
no matter what I Send.
I tried different pins, different Baud rates, but same problem
Channel 1 works fine , only software is the problem
Including the file here
There is a Bug in the Uart software mode
Uart is Transmitting ok, Interrupt also working but not Receiving Char or String
I make a simple program to receive 1 char and send it back but I always receive 0xFF
no matter what I Send.
I tried different pins, different Baud rates, but same problem
Channel 1 works fine , only software is the problem
Including the file here