From: roger blofeld <blofeldus@yahoo.com>
To: jan_baldauf@ifm-electronic.com, linuxppc-embedded@ozlabs.org
Subject: Re: Help with MPC5200 + Bestcomm + Local Plus Bus.... same problem [ifm ScanMail: oK]
Date: Fri, 7 Dec 2007 10:41:22 -0800 (PST) [thread overview]
Message-ID: <515850.1420.qm@web53507.mail.re2.yahoo.com> (raw)
---- 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
next reply other threads:[~2007-12-07 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 18:41 roger blofeld [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-07 10:58 Help with MPC5200 + Bestcomm + Local Plus Bus.... same problem [ifm ScanMail: oK] jan_baldauf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515850.1420.qm@web53507.mail.re2.yahoo.com \
--to=blofeldus@yahoo.com \
--cc=jan_baldauf@ifm-electronic.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox