* Re: Help with MPC5200 + Bestcomm + Local Plus Bus.... same problem [ifm ScanMail: oK]
@ 2007-12-07 18:41 roger blofeld
0 siblings, 0 replies; 2+ messages in thread
From: roger blofeld @ 2007-12-07 18:41 UTC (permalink / raw)
To: jan_baldauf, linuxppc-embedded
---- Original Message ----
From: "jan_baldauf@ifm-electronic.com" <jan_baldauf@ifm-electronic.com>
To: linuxppc-embedded@ozlabs.org
Sent: Friday, December 7, 2007 4:58:56 AM
Subject: Help with MPC5200 + Bestcomm + Local Plus Bus.... same problem [ifm ScanMail: oK]
Hello Roger,
i have read your message. I have now the same problem. I use a CPLD on the Local Plus Bus. The CPLD generates interrupts for the MPC5200B processor. Because of the quick signals, i want to use the Bestcomm unit, to push the Data ( 3 x 16 bit register) directly into the memory. I use the same Kernel. It would be nice, if you could help me, to program a linux driver for that. Or maybe you have any examples. So looking forward for you reply. Thanks a lot for your time.
best regards Jan Baldauf
------
Jan,
I never did get my FPGA driver working with the bestcomm unit. I ended up doing a half-baked version where I would program the lpc to transfer the data into the FIFO and generate an interrupt when it finished. I could then copy the data quickly from the FIFO to memory (The FIFO interface is wider and faster than my FPGA, so I do reduce processor loading somewhat over directly reading the FPGA) That works OK for small data transfers, but is not optimal.
In the current mainline there is support for a "gen_bd" bestcomm task which I presume is to be used for the purpose you imply. Perhaps somebody has an example of using that?
good luck!
-rb
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
^ permalink raw reply [flat|nested] 2+ messages in thread* Help with MPC5200 + Bestcomm + Local Plus Bus.... same problem [ifm ScanMail: oK]
@ 2007-12-07 10:58 jan_baldauf
0 siblings, 0 replies; 2+ messages in thread
From: jan_baldauf @ 2007-12-07 10:58 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
Hello Roger,
i have read your message. I have now the same problem. I use a CPLD on the
Local Plus Bus. The CPLD generates interrupts for the MPC5200B processor.
Because of the quick signals, i want to use the Bestcomm unit, to push the
Data ( 3 x 16 bit register) directly into the memory. I use the same
Kernel. It would be nice, if you could help me, to program a linux driver
for that. Or maybe you have any examples. So looking forward for you
reply. Thanks a lot for your time.
best regards Jan Baldauf
[-- Attachment #2: Type: text/html, Size: 645 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-07 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 18:41 Help with MPC5200 + Bestcomm + Local Plus Bus.... same problem [ifm ScanMail: oK] roger blofeld
-- strict thread matches above, loose matches on Subject: below --
2007-12-07 10:58 jan_baldauf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox