[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ETRAX 100LX OS-less: RS422 port problem
----- Original Message -----
Sent: den 21 oktober 2002 13:20
Subject: ETRAX 100LX OS-less: RS422 port problem
> Hello again, boys and girls!
> Well, I've got my stripped-down application running.
> It shuffles data between the RS422 and Ethernet ports.
> Except it doesn't.
> Specifically, it doesn't read any data from the serial port.
> The sending works fine, but nothing is received.
> I'm using DMA on both ports, and I simply don't get any
> interrupts for DMA channel 5 (serial 3 input).
> I enclose relevant extracts from the code, in the order of
> execution. What am I missing?
I assume you really tried to send 3030 bytes to it or the DMA
interrupt won't come unless you manually flush the DMA and FIFO
by generating the EOP manually (in the Linux driver we do
that with a timer now and then)
> Many thanks,
> /Uffe Sjöstedt