> -----Mensaje original-----
> De: Marc Kleine-Budde [mailto:[email protected]]
> Enviado el: Monday, February 28, 2011 1:40 PM
> Para: Jorge Fernandez Monteagudo
> CC: [email protected]
> Asunto: Re: [Socketcan-users] Minimum interface to sja1000
>
> On 02/28/2011 12:59 PM, Jorge Fernandez Monteagudo wrote:
> > Hi again,
> >
> > What's the minimum interface I've to implement in order to use a
> > SJA1000 can controller I've embedded in a FPGA which implements a PCI
> > device? I'm studying the ems_pci.c code, is it a good starting point?
> I have custom base address, irq and so on.
>
> If you want to connect a SJA1000 to a PCI Bus you have to use or
> implement a PCI Bridge. A bridges from "PLX" are often used to do this.
> Do you already have a FPGA connected to PCI?
>
> cheers, Marc
> --
> Pengutronix e.K.                  | Marc Kleine-Budde           |
> Industrial Linux Solutions        | Phone: +49-231-2826-924     |
> Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Yes, the FPGA implements the PCI bus controller and gives access to the
SJA1000 can controller. I must enable the memory windows where the SJA1000
is mapped and enable the interrupts. Then, I have to provide the base
address where the read and write operations must be done. Then, the
'ems_pci.c' is a good start?

Regards,
Jorge

Este mensaje se dirige exclusivamente a su destinatario y puede contener 
información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, 
queda notificado de que la utilización, divulgación y/o copia sin autorización 
está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje 
por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y 
proceda a su destrucción.

This message is intended exclusively for its addressee and may contain 
information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any 
dissemination, copy or disclosure of this communication is strictly prohibited 
by law. If this message has been received in error, please immediately notify 
us via e-mail and delete it.
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to