Canopen Library Driver Packages
Total Page:16
File Type:pdf, Size:1020Kb
CANopen LibraryDriver Packages Over view TMS32x msCAN ... ... ARM7 82527 The CANopen Driver Packages (DP) provide access to the hardware of the CANopen Library of port.The Win32 SJA100 DriverPackages are the keysfor the usage of the tar- get system independent of CANopen Library.They are designed for target systems with and without oper- ation systems. CANopen Description Stack The CANopen Driver Packages provide all necessary functions for User Application •initialization of the hardware Configuration possibilities •controlling the CAN Controller The driverprovides access to the CAN controller by •message filtering several means: •message buffering and •Memory Mapped Mode •provision of a timer period (addressing the CAN controller via the address space of the CPU) by means of a well defined interface. A CANopen •I/O Mapped Mode Driver Package is comprised from a CPU- (DP/CPU), (addressing the CAN controller via the I/O address aCAN- (DP/CAN) and where applicable a driverfor space of the CPU) an operating system (DP/OS).These drivers can be used in anycombination. •Latched Mode (addressing the CAN controller via address latches) The following table shows hardware combinations of CPU and CAN drivers that are often used by our cus- The used access method for accessing the CAN con- tomers. troller register depends heavily on the used hardware microcontroller family and can be adopted by means of access macros. The driverfor the FullCAN controller types provide the usage of CAN Controller Fujitsu 16FX ARM 7/9 F HC08/HCS12 Renesas M16C Freescale 56F8XXX Atmel AVR Fujitsu 16Lx TMS320Cxx Infineon XC16x Infineon C505 Atmel T89c51 Intel 80x86 Microchip dsPIC 8051 Family Microcontroller independant ANSI-C driver PowerPC Infineon C16xCy •FullCAN-Mode Integrated CAN SJA1000 filtering CAN messages in hardware for all channels Intel 82527/CC770 available (1 channel for sending or receiving) TouCAN/FlexCan CANary •FullCAN mode with 1 transmit channel msCAN one transmit channel for all transmit messages Bosch C_CAN all other channels are configured as receiving chan- Infineon TwinCAN/MultiCAN Microchip ECAN nels using the hardware filter Microchip MCP2515 •BasicCAN mode All drivers are available as documented ANSI-C 1transmit channel for all CAN messages source code. This allows easy and quick adoption to 1receiving channel for all CAN messages system specific hardware and trouble-free compilation with all ANSI-C compliant ANSI-C compilers. The last twomodes provide the possibility to use devices with FullCAN controller,that support more The comprehensive documentation ensures that the CAN objects as are provided from the hardware of the drivercan be easily ported to another hardware plat- CAN controller. form by the user. -1- July 2014 www.port.de Manydrivers do contain code for Predefined DriverPackages •step by step initial operation of the driver Order Code Name of System •quick error detection 0565/06 DP C505C •extensions that have been added due to customer microMODUL-505C/plain (Phytec)(on requests Request/8051 + 82527)1 •29Bit extented CAN Frames, besides the 11 Bit 0565/05 DP C515C Base-Frame format miniMODUL-515C/plain (Phytec) (on Request/8051 + 82527)1 that can be enabled via appropriate compiler defines. 0565/03 DP C167CS for miniMODUL-167C/plain (Phytec) Besides the drivers for processors with multiple CAN (C166 + 82527)1 controller there are several other drivers that support 0565/34 DP Infineon XC164CS configuration for multi-line usage with the CANopen (XC166 + TwinCAN) Library.Thus there is a wide range of drivers that can 0565/56 DP Infineon XMC4500 be used for multi-line devices. (XMC4500 + MultiCAN) Please note that there are possible hardware con- 0565/69 DP Infineon XE164 straints especially with older CAN controller. (XE166 + MultiCAN) Configuration of the driverisdone with the CANopen 0565/10 DP Atmel T89C51CC01/02/03 Design Tool,which is enclosed to the CANopen (8051 + CANary) Library as light version. 0565/35 DP Atmel AT90CAN32/128 (AVR + CANary) Resources 0565/47 DP Atmel AT91SAM7A3/SAM7X(C) (ARM7 with internal CAN) All drivers normally transmit and receive interrupt 0565/83 DP Atmel AT91SAM9263 drivenand therefore require the integration into the (32-bit AVR with internal CAN) interrupt system of the device. It also can be used in 0565/94 DP Atmel AT32UC3CO512 polling mode for special-purpose applications. (32-bit AVR with internal CAN) The time base for the CANopen Library can either be 0565/112 DP Atmel ATSAM4E provided by the CANopen Library itself by using a (32-bit ARM Cortex-M4 with internal timer or the timer interrupt function is called cycli- CAN) cally by another system timer. 0565/115 DP Atmel ATSAM4E-µC/OS (32-bit ARM Cortex-M4 with internal CAN) under µC/OS Order Information 0565/25 DP STMicroelectronics STR730 (with C_CAN) 0565/79 DP STMicroelectronics STR911 (with C_CAN) The CANopen Driver Packages are available as: 0565/117 DP STMicroelectronics STM32F0x •reviewed hardware/system driver(DP 0565/xx) for (with bxCAN) typical hardware configurations 0565/72 DP STMicroelectronics STM32F10x •freely selectable hardware driverCAN controller (with bxCAN) combinations (DP/CPU 0566/xx, DP/CAN 0565/107 DP STMicroelectronics STM32F107 0567/xx) (with bxCAN) 0565/98 DP STMicroelectronics STM32F2xx We recommend the purchase order of pre-configured (with bxCAN) driverpackages that in addition to the CPU and CAN 0565/110 DP STMicroelectronics STM32F3xx drivercontain ready to use examples. These have (with bxCAN) been prepared with project files for the compilers and 0565/106 DP STMicroelectronics STM32F4xx configurations we use. (with bxCAN) 0565/33 DP SiLabs C8051F040 Forapplication of the CANopen Library with operat- (8051 + C_CAN) ing systems likeWindows™ or LINUX™ port pro- 0565/80 DP SiLabs C8051F50x vides drivers for active and passive PCcards, parallel (8051 + C_CAN) dongles, PCMCIA cards, USB interface and external Ethernet to CAN converter (EtherCAN). 0565/07 DP Freescale HCS12(X) for MC9S12(X) family (HCS12(X) + msCAN) -2- July 2014 www.port.de Order Code Name of System Order Code Name of System 0565/67 DP Freescale MC56F8037 0565/55 DP RENESAS PD70F3577 (56800E + msCAN) (V850/E2-FG4L with aFCAN)1 0565/08 DP Freescale DSP56F807 0565/65 DP RENESAS PD70F3377 (DSP56800 + msCAN) (V850/ES-Fx3 with aFCAN)1 0565/38 DP Freescale MPC565/566 0565/93 DP RENESAS PD70F3476 (MPC5xx + TouCAN)1 (V850/E-SJ3 with aFCAN)1 0565/36 DP Coldfire5282/5223 0565/113 DP RENESAS PD70F4022 (with internal FlexCAN)1 (V850E2/ML4 with FCAN)1 0565/48 DP Freescale MC56F8323 0565/21 DP RENESAS M16C29 1 (56800E + FlexCAN) (with internal CAN) 0565/118 DP Freescale MC56F827xx 0565/22 DP RENESAS M32C/87 1 (MSCAN) (with internal CAN) 0565/30 DP Spansion MB90F543 0565/59 DP RENESAS RL78F13 (with internal Spansion CAN) (with internal CAN) 0565/66 DP Spansion MB96F348 0565/96 DP RENESAS RX63N (with C_CAN) (with internal CAN) 0565/78 DP Spansion MB91F467 0565/108 DP RENESAS RX62N (with C_CAN) (with internal CAN) 0565/109 DP Spansion MB9BF524K 0565/114 DP RENESAS R-IN32M3 (with C_CAN) (with FCN-CAN) 0565/31 DP TI TMS320LF2407 0565/116 DP RENESAS RX64M (TMS320 + internal CAN) (with internal CAN) 0565/32 DP TI TMS320F2808/2812 0565/119 DP RENESAS RL78F14 (TMS320 + eCAN) (with internal CAN) 0565/57 DP TI TMS320F28335 0565/73 DP Luminary LM3S2965 (TMS320 + eCAN) (Cortex-M3 with C_CAN) 0565/26 DP TI TMS470R1B1M 0565/92 DP Luminary LM3S5B91 (ARM7 with HECC) (Cortex-M3 with C_CAN) 0565/101 DP TI Sitara AM335x 0565/24 DP netX (ARM CortexA8with DCAN) (with internal CAN) 0565/103 DP TI Concerto FM28M35X 0565/13 DP CPC-Windows™ (ARM CortexM3with DCAN) CPC CANopen driverfor Windows™ 0565/19 DP Microchip dsPIC33F256 (EMS Wünsche)e.g. useable for passive (dsPIC33F with ECAN) CPC-PCI card, CPC-USB Interface 0565/28 DP Microchip PIC24H 0565/15 DP Peak-light Windows™ (PIC24H with ECAN) CANopen driverfor PCAN-light 0565/37 DP Microchip dsPIC30F6011/12/13/14 (PEAK-Service GmbH), (on request) (dsPIC30F60xx with CAN) 0565/29 DP Arcom Boards Windows™-CE 0565/99 DP Microchip PIC32MX with AIM104-CAN-Module (PIC32MX795 with ECAN) 0565/43 DP Microchip PIC18F2680 0565/50 DP can4linux (PIC18F2x8x with ECAN™) CANopen driverfor can4linux compati- 0565/44 DP Microchip MCP2515 ble hardware under LINUX™ (with SPI-Interface,example for XC164) 0565/14 DP CPC-Linux 0565/95 DP NXP LPC1768 CPC CANopen driverfor LINUX™, (with internal CAN) (EMS Wünsche)useable for passive 0565/39 DP NXP LPC2129 CPC-PCI card, CPC-USB Interface (with internal CAN) 0565/51 DP CAN232 Linux 0565/85 DP NXP LPC2368 Lawicel CAN232 driverfor LINUX™ (with internal CAN) 0565/52 DP CAN232 Windows™ 0565/74 DP NXP LPC2468 Lawicel CAN232 driverfor Windows™ (with internal CAN) 0565/53 DP SocketCAN 0565/46 DP Beck IPC@Chip 1x3 SocketCAN driverfor LINUX™ (with internal CAN) 0565/63 DP Kvaser 0565/49 DP RENESAS PD70F3231 CANopen driverfor Windows™ (V850/ES-FE2 with aFCAN)1 useable for cards with Kvaser Interface -3- July 2014 www.port.de Order Code Name of System CPU driver 0565/75 DP Kvaser/Kontron Order Code CPU type Kvaser CANlib on Kontron Board for 0567/01 DP/CPU Freescale MC683xx Windows™-CE (on request) 0565/70 DP horch LINUX™ 0567/02 DP/CPU Freescale MC680x0 CANopen drivercommunicate with the (on request) standard horch server by using TCP/IP 0567/05 DP/CPU Infineon C16x 0565/84 DP horch Windows™ 0567/06 DP/CPU TI TMS320F2000 CANopen drivercommunicate with the 0567/07 DP/CPU Spansion MB90F54x,49x standard horch server by using TCP/IP 0567/08 DP/CPU Freescale MPC823e 0565/87 DP SCIOPTA 0567/09 DP/CPU Atmel T89C51CC0x with FlexCAN