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
Atmega328P UART (software mode )
-
- Posts: 186
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 54 times
- Been thanked: 26 times
-
- Matrix Staff
- Posts: 2086
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 702 times
Re: Atmega328P UART (software mode )
Hi Alan.
I have just tried using IOC with UART in SW mode and baud = 19200.
Its working for me OK.
I have just tried using IOC with UART in SW mode and baud = 19200.
Its working for me OK.
- Attachments
-
- Uart IOC RX test Uno.fcfx
- (14.94 KiB) Downloaded 152 times
Martin