brook has quit [Remote host closed the connection]
brook has joined #beagle
Shadyman has joined #beagle
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
otisolsen70 has joined #beagle
nslu2-log_ has joined #beagle
nslu2-log has quit [Ping timeout: 246 seconds]
nparafe_ has joined #beagle
nslu2-log_ is now known as nslu2-log
dinuxbg_ has joined #beagle
Shadyman has quit [*.net *.split]
buckket has quit [*.net *.split]
nparafe has quit [*.net *.split]
dyCrazyEd has quit [*.net *.split]
philenotfound has quit [*.net *.split]
frostsnow has quit [*.net *.split]
dinuxbg has quit [*.net *.split]
frostsnow has joined #beagle
philenotfound has joined #beagle
dyCrazyEd has joined #beagle
buckket has joined #beagle
Shadyman has joined #beagle
ikarso has joined #beagle
xet7 has quit [Quit: Leaving]
Shadyman has quit [Quit: Leaving.]
outrageous has quit [Remote host closed the connection]
outrageous has joined #beagle
ft has quit [Quit: leaving]
rob_w has joined #beagle
florian has joined #beagle
set_ has quit [Remote host closed the connection]
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
set_ has joined #beagle
xet7 has joined #beagle
otisolsen70 has quit [Ping timeout: 268 seconds]
xet7 has quit [Remote host closed the connection]
brook has quit [Remote host closed the connection]
brook has joined #beagle
chococandy has joined #beagle
chococandy has quit [Client Quit]
brook has quit [Remote host closed the connection]
brook has joined #beagle
chococandy has joined #beagle
Duality has joined #beagle
<Duality>
hey
<Duality>
I am working with an am335x and want to read some serial rs485 data the first byte I receive has the mark set (high parity bit always) and three following space (low parity bit always) but now is my question is there any way to tell linux to not substitute parity errors with 0x00 and just give the value anyway
brook has quit [Remote host closed the connection]
<Duality>
I tried several things with termios and IGNPAR + setting parity space
<Duality>
but I am really scratching my head lol I have been going through so many permutations of settings but nothing works.
<Duality>
I can see when I ONLY set space parity I get the 3 data bytes just fine first one is always 0x00 but when I set the mark parity I get the first byte just fine but the three following are always 0x00
Steve__ has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
Steve_ has quit [Ping timeout: 255 seconds]
brook has joined #beagle
chococandy has quit [Ping timeout: 260 seconds]
buzzmarshall has joined #beagle
brook has quit [Ping timeout: 255 seconds]
brook has joined #beagle
<zmatt>
Duality: so basically you just want 9 data bits :P
<zmatt>
what you want is possible in theory at the hw level (although it precludes using dma), though I'm pretty sure not using the linux serial driver... you could use uio instead (which gives userspace direct access to a peripheral and its interrupts) or have pru handle reception and forward the messages to userspace e.g. via a ringbuffer
<zmatt>
do you also need to transmit or only receive?
<zmatt>
an uart is not super difficult to work with, though it's kinda crufty due to being covered in layers of backwards compatibility with ancient uarts, which in particular makes initialization kinda messy (iirc the AM335x TRM actually gets it wrong)
<zmatt>
of course if you're doing half-duplex rs485 transmit and receive then you'll probably want to use pru rather than uio to get reliable timing
brook has quit [Remote host closed the connection]
ft has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
florian has quit [Quit: Ex-Chat]
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
vagrantc has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
Shadyman has joined #beagle
brook has quit [Remote host closed the connection]
nslu2-log has quit [Quit: Caught sigterm, terminating...]
brook has joined #beagle
rob_w has quit [Read error: Connection reset by peer]
jfsimon1981 has quit [Remote host closed the connection]
jfsimon1981 has joined #beagle
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981 has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]