* SCC character recognition/DMA
@ 2001-07-31 15:28 Pergola, Michael
2001-07-31 18:40 ` Dan Malek
0 siblings, 1 reply; 4+ messages in thread
From: Pergola, Michael @ 2001-07-31 15:28 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'; +Cc: Support (E-mail)
All,
I have an Embedded Planet with a LITE_DW Motorola 823 PPC
using a HIOX interface board.
Has anyone attempted to utilize the character-recognition
feature of the SCC ports with any success?
Also, I have been researching the uart.c and related files but I
don't see if DMA is used to shuttle data to/from the serial
ports. Has that been attempted?
Regards,
Michael Pergola
Software Engineer
Danfoss Air-Conditioning & Refrigeration Division
7941 Corporate Blvd.
Baltimore, MD 21236 (410) 931-8250 x4259
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SCC character recognition/DMA
2001-07-31 15:28 Pergola, Michael
@ 2001-07-31 18:40 ` Dan Malek
0 siblings, 0 replies; 4+ messages in thread
From: Dan Malek @ 2001-07-31 18:40 UTC (permalink / raw)
To: Pergola, Michael
Cc: 'linuxppc-embedded@lists.linuxppc.org', Support (E-mail)
"Pergola, Michael" wrote:
> Has anyone attempted to utilize the character-recognition
> feature of the SCC ports with any success?
Yes, it does work, just make sure you have an SCC to use (there
is only one on the 823, which is typically wired for Ethernet).
> ...... but I
> don't see if DMA is used to shuttle data to/from the serial
> ports. Has that been attempted?
The DMA must be used. It is the only way the CPM moves data to/from
the devices. There is no programmed I/O to 8xx peripherals except
the GPIO pins.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: SCC character recognition/DMA
@ 2001-07-31 19:07 Pergola, Michael
2001-07-31 19:17 ` Dan Malek
0 siblings, 1 reply; 4+ messages in thread
From: Pergola, Michael @ 2001-07-31 19:07 UTC (permalink / raw)
To: 'Dan Malek'; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
> -----Original Message-----
> From: Dan Malek [SMTP:dan@mvista.com]
> Sent: Tuesday, July 31, 2001 2:41 PM
> To: Pergola, Michael
> Cc: 'linuxppc-embedded@lists.linuxppc.org'; Support (E-mail)
> Subject: Re: SCC character recognition/DMA
>
> "Pergola, Michael" wrote:
>
> > Has anyone attempted to utilize the character-recognition
> > feature of the SCC ports with any success?
>
> Yes, it does work, just make sure you have an SCC to use (there
> is only one on the 823, which is typically wired for Ethernet).
[Pergola, Michael]
The 823e that comes with the Embedded Planet Dev Box
has 3 SCCs but one is dedicated to USB while another is
used for Ethernet. I guess my real question is, rather then
re-invent the code, is there an implementation of the
character recognition out there in GPL land?
Michael Pergola
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SCC character recognition/DMA
2001-07-31 19:07 SCC character recognition/DMA Pergola, Michael
@ 2001-07-31 19:17 ` Dan Malek
0 siblings, 0 replies; 4+ messages in thread
From: Dan Malek @ 2001-07-31 19:17 UTC (permalink / raw)
To: Pergola, Michael; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
"Pergola, Michael" wrote:
> The 823e that comes with the Embedded Planet Dev Box
> has 3 SCCs but one is dedicated to USB while another is
> used for Ethernet.
Not exactly. The USB controller is a USB controller. It is
mapped into the address space of one SCC, and may use some of that
peripheral hardware, but it is not configurable as a SCC.
Since you have the 823e, yes SCC3 can be used.
> .... I guess my real question is, rather then
> re-invent the code, is there an implementation of the
> character recognition out there in GPL land?
I believe all the "character recognition" does is either map characters
or terminate buffer operations. If the device is still used as a uart,
just modify the driver to initialize the characters you want (as it
stores defaults right now). You can be a little more fancy and add an
ioctl() if you want. If you want a custom driver that isn't a uart,
then you have to write a new driver.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-07-31 19:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-31 19:07 SCC character recognition/DMA Pergola, Michael
2001-07-31 19:17 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2001-07-31 15:28 Pergola, Michael
2001-07-31 18:40 ` Dan Malek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).