[elektro] atmega soros break detect

Kovács József kj at faldeko.hu
Mon Apr 14 16:54:11 CEST 2014


2014.04.14. 16:40 keltezéssel, Fuzesi Arnold írta:
> Sziasztok!
>
> (framing_error_flag == 1) && (UDR==0x00) nem kellene mukodjon "break"
> detektalasra atmega soros periferian?
>
> Jön egy hosszú nulla a soroson, és nem tudom az uart-ot felhasznalva a fenti
> módon elcsipni, de nem ertem miert. Valaki esetleg átesett már rajta?
>
> Köszi,
> Arnold
>
>

Teljesül a hw feltétel a farming error-ra...?

------------
The framing error is caused
when the UART hardware sees a logic "0"
where the stop bit(s) should be (logic "1")
------------

KJ



More information about the Elektro mailing list