infobot has quit [Read error: Connection reset by peer]
infobot has joined #qi-hardware
dandon has quit [Read error: Connection reset by peer]
_whitelogger has joined #qi-hardware
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
<promach>
DocScrutinizer05: do you have any idea why 16550 UART needs to have two separate 8-bits divisor latches instead of one single 16-bit divisor latch ?
wej has quit [Ping timeout: 258 seconds]
wej has joined #qi-hardware
tavish has joined #qi-hardware
erichvk_ has joined #qi-hardware
dandon has joined #qi-hardware
sb0 has joined #qi-hardware
pcercuei has joined #qi-hardware
pcercuei has quit [Quit: brb]
sb0 has quit [Quit: Leaving]
pcercuei has joined #qi-hardware
tavish has quit [Quit: Leaving]
<DocScrutinizer05>
promach: for stuff like 1200/75 or somesuch? generally for different baud speeds for TX and RX
<promach>
what 1200/75 ?
<DocScrutinizer05>
1200bd uplink, 75bd downlink
<DocScrutinizer05>
or vice versa
wpwrak has quit [Read error: Connection reset by peer]
wpwrak has joined #qi-hardware
<promach>
DocScrutinizer05: have you ever used 1.5 stop bits for UART ?
<DocScrutinizer05>
nope :-)
<DocScrutinizer05>
actually stopbit settings are non-critical
<DocScrutinizer05>
it's the least severe "error" that can happen in serial transmission. sending with one stopbit and receiving with 2 is "worst", causing an error flag but no data corruption or other problems. Sending with two or 1.5 and receiving with 1 stopbit goes unnoticed
<DocScrutinizer05>
after all when you have a delay in providing next byte to send, you have an arbitrary high number of virtual stopbits anyway
<DocScrutinizer05>
basically you need the stopbits only to have an edge to sense when next startbit arrives at RX
* erichvk_
will have trouble sleeping, not knowing if serialised data structures are necessarily a kolmogorov space
<DocScrutinizer05>
so in theory you could even use zero stopbits, which would rely on delays and bytes ending with a stopbit-level bit, to sync the RX hardware to TX
<wpwrak>
0 stop is likely to get you a lot of framing errors, even if you always have a little bit of delay. also, implementations probably won't look for a start bit until after the stop bit time (after all, they're still checking for framing errors at that point)
<DocScrutinizer05>
I said "in theory". There are no RL implementations of that
<DocScrutinizer05>
afaik
<DocScrutinizer05>
any implementation would of course *not* check for framing errors
<wpwrak>
ok. joerg's UART+. well, why not. i guess it would work. you'd just have to make sure you get _any_ edge every once in a while, for clock synchronization.
<DocScrutinizer05>
there are encodings (some sort of modified NRZ?) that don't use "stopbits" and introduce an escape of sorts (a special 'inverted' symbol) when too many bytes in a row don't provide an implicit "stopbit" symbol, I.E last bit sent is not different to the startbit-symbol for too long
<wpwrak>
or "bit stuffing"
<DocScrutinizer05>
this is not called UART though
<wpwrak>
.. which may be what you mean with the inverted symbol
<DocScrutinizer05>
yep
<DocScrutinizer05>
I was a tad fuzzy with that description above. It's literally over a decade since I last looked into it
<wpwrak>
i.e., tx: if you've sent N zero bits and are about to send another zero, send a one first, and reset the counter
<DocScrutinizer05>
:nod:
<wpwrak>
rx: if you've received N zero bits, discard the next one. if the next is a zero, raise hell.
<DocScrutinizer05>
:nod: 2
<DocScrutinizer05>
the "escape"
erichvk_ has quit [Ping timeout: 240 seconds]
pcercuei has quit [Quit: leaving]
tavish has joined #qi-hardware
pcercuei has joined #qi-hardware
wildlander has joined #qi-hardware
pcercuei has quit [Ping timeout: 255 seconds]
sb0 has joined #qi-hardware
tavish has quit [Quit: Leaving]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
DocScrutinizer05 has quit [Remote host closed the connection]
kristian1aul has joined #qi-hardware
eintopf_ has joined #qi-hardware
eintopf has quit [Remote host closed the connection]
kristianpaul has quit [Remote host closed the connection]
Nik05 has quit [Remote host closed the connection]