On 24.09.2010 10:54, Mariusz Janiak wrote: >>>>> Does Xenomai Peak CAN driver support PCAN-PCI Express card? >>>> >>>> Probably. What is the PCI vendor and device id of that card? >>> >>> I don't know. I don't have this card yet. How can I check it? >> >> Then I don't know either. Looking to Peak's own chrdev driver, it seems >> that it's supported be the standard PCI driver as well. Therefore I >> assume that it's supported by RT-Socket-CAN. But you could contact Peak >> for clarification. > > Thank you Wolfgang, I ask Peak about details. I thought that someone has > use PCAN-PCI Express card with Xenomai already. Thanks once again. >
Hi all, i added the PCI IDs of the PCAN-PCI-Express card in the SocketCAN SVN here: http://svn.berlios.de/wsvn/socketcan/trunk/kernel/2.6/drivers/net/can/sja1000/peak_pci.c?op=diff&rev=1182&peg=1182 BUT: It depends on the type of PEAK Expresss Card hardware, whether it works out of the box. If you have the opto isolated version IPEH-003003 or IPEH-003002 it should work out of the box. With the IPEH-003000 and IPEH-003001 (not opto isolated) the on-board CAN transceivers need to be initialized with some I2C (bitbang?) interface on the card. This is needed to set the Pin 8 (slope/standby) to ground. Of course i bought the dual channel IPEH-003001 and had no luck receiving any CAN traffic ;-) The IPEH-003000 and IPEH-003001 can be used without the I2C setup by connecting the Pin 8 of the 82C251 CAN transceivers to ground. The easiest way to do so is to connect Pin 8 to Pin 2 of the 82C251. As the control pin of the hardware is open-collector this patch doesn't kill the original control signal pin from the I2C controlled hardware. I got this information from Michael Maidhof from PEAK Systems and had no problems with my IPEH-003001 with the peak_pci.c driver so far. Regards, Oliver _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
