MACH SYSTEMS CANFD-LIN-GW Скачать руководство пользователя страница 8

CAN FD LIN Gateway - User Manual 

 

 

 

 

MACH SYSTEMS s.r.o.

 

www.machsystems.cz

  

Page 

8

 of 

18

 

 

[email protected]

  

 

 

 

 

4.3

 

Pinout 

4.3.1

 

DSUB connectors 

CN1 (DSUB9M) 

Pin 

Name 

Note 

 

 

 

Front view

 

DO1 

5 V HSD 

CAN1_L 

 

Gnd 

 

LIN1 

 

Gnd 

 

AI1 / DI1 

0-5 V 

CAN1_H 

 

DO2 

5V push-pull 

Vin / Vbat 

Power input, also used for LIN bus 

Table 2 Connector 1 - Pin Assignment 

 

CN2 (DSUB9F) 

Pin 

Name 

Note 

 
 

 

Front view 

DO3 

5V push-pull 

CAN2_L 

 

Gnd 

 

RS-232 RxD 

In 

Gnd 

 

DO4 

LSD 

CAN2_H 

 

RS-232 TxD 

Out 

AI2 / DI2 

0-5 V 

Table 3 Connector 2 - Pin Assignment 

 

4.3.2

 

Switches 

DIP1, DIP2, and SW1 can be  used in a user’s application. The SW1 button can be  pressed by 

tweezers or a pencil. 

As of HW version 1.4, SW1 can be used to enter the system bootloader (see 5.2). 

HW version prior up to 1.3 (incl.): SW1 is connected to PC13 

HW version as of 1.4: SW1 is connected to PB8 

DIP switches and SW1 

 

Side view 

Table 4 Switches 

Содержание CANFD-LIN-GW

Страница 1: ...CAN FD LIN Gateway User Manual CHANGES Date Description Created By Review By 25 1 2021 Initial Release VB KH MM MM ...

Страница 2: ...8 4 3 2 Switches 8 4 4 CAN Bus Termination 9 4 5 Inputs and Outputs 9 4 6 USB 9 4 7 Galvanic Isolation 9 5 Usage 10 5 1 Example Project 10 5 2 System Bootloader 10 5 2 1 Bootloader Mode 10 5 2 2 Firmware Download 11 5 3 In Circuit Serial Programming 13 6 Legal Information 15 6 1 Usage Warning 15 6 2 Disposal and Recycling Information 15 6 3 Declaration of Conformity 16 6 4 Patents Copyrights and T...

Страница 3: ...Table 3 Connector 2 Pin Assignment 8 Table 4 Switches 8 Table 5 Inputs and Outputs 9 Table 5 Ordering Numbers 18 List of Figures Figure 1 CAN FD LIN Gateway 4 Figure 2 Block Diagram 4 Figure 3 Product Photos 6 Figure 4 Device Overview 7 Figure 5 Power Options 7 Figure 7 CAN Bus Termination 9 Figure 7 J5 ST LINK SWD Connection and Pinout 14 Figure 8 STM32CubeIDE Debugger Configuration 14 ...

Страница 4: ...l and a RS 232 port The interface also offers a microSD card slot and multiple digital analogue inputs and outputs which makes it suitable for a broad range of use cases such as protocol conversion network bridging data logging rest bus simulation and external peripheral control and monitoring Firmware can be developed in C C and can be transferred into the device over USB CAN RS 232 or a standard...

Страница 5: ...tex M4 MCU Freely programmable in C C language Free of charge IDE and C C compiler Programming examples available Firmware upload over USB CAN RS 232 or ICSP On board 16 Kbit EEPROM Externally or USB powered Table top use or DIN rail mount 3 Technical Specification Communication and Peripherals Channels 2 CAN HS ISO 11898 2 with CAN FD support ISO 11898 1 2015 CAN 2 0A B ISO CAN FD 1 LIN bus suppo...

Страница 6: ...4 is being driven MCU STM32G483 Arm 32 bit Cortex M4 with DSP and FPU 170 MHz 512 KB Flash 128 KB SRAM Transceivers CAN FD MCP2562FD LIN MCP2003B Mechanical Connectors 1 D SUB9M 1 D SUB9F 1 MicroSD slot 1 Micro USB Buttons and switches 2 DIP switches 1 Tactile switch Dimensions L x W x H 108 x 54 x 30 mm Weight 85 g Operating temperature 20 to 70 C Protection IP20 Placement Table adhesive pads inc...

Страница 7: ...es MicroSD card slot and a reset button Figure 4 Device Overview 4 2 Power The gateway can be powered externally via a DSUB connector or via a micro USB connector LIN bus needs the external power All Ground signals are connected When the external power is connected the power from USB gets internally disconnected by a MOSFET transistor Thus no power will be drawn from USB Figure 5 Power Options ...

Страница 8: ...nment CN2 DSUB9F Pin Name Note Front view 1 DO3 5V push pull 2 CAN2_L 3 Gnd 4 RS 232 RxD In 5 Gnd 6 DO4 LSD 7 CAN2_H 8 RS 232 TxD Out 9 AI2 DI2 0 5 V Table 3 Connector 2 Pin Assignment 4 3 2 Switches DIP1 DIP2 and SW1 can be used in a user s application The SW1 button can be pressed by tweezers or a pencil As of HW version 1 4 SW1 can be used to enter the system bootloader see 5 2 HW version prior...

Страница 9: ...t 0 5 V DO1 Output HSD Output 5 V max 0 5 A PWM capable DO2 Output Push pull Digital Output 5 V max 0 5 A PWM capable DO3 Output Push pull Digital Output 5 V max 0 5 A PWM capable DO4 Output LSD Output max 40 V 1 5 A PWM capable Table 5 Inputs and Outputs A load connected to a digital output pins DO1 DO3 may draw significant current In case digital outputs are used in a user application it is stro...

Страница 10: ...ammatically 5 2 System Bootloader The STM32G4 MCU contains a system bootloader which is pre programmed in ROM during manufacture The system bootloader supports USB and RS 232 it does not support flashing over CAN bus If the possibility to upload a firmware over CAN bus is needed the OpenBLT bootloader described in 3 can be used It should be noted that when the device enters the system bootloader w...

Страница 11: ...e enclosure For hardware versions as of v1 4 SW1 switch can be used to enter the system bootloader on power up Disconnect the USB and the external power supply Press and hold SW1 Connect the power supply either USB or external The device will enter the system bootloader Release SW1 Firmware can be flashed as described in 5 2 2 5 2 2 Firmware Download The STM32CubeProgrammer application can be used...

Страница 12: ...vely 5 Further the steps are very similar for all the ports In the STM32CubeProgrammer a Click on the refresh arrows button to see available ports b Select the interface USB or UART c Select the correct port d You do not have to change the UART settings provided that the baud rate is lower or equal to 115200 Procedure of connecting to the USB is almost identical e Click connect You will see screen...

Страница 13: ...cted ST LINK 7 In order to flash a new firmware open an elf file by Open file button and press Download button A hex file can be used also but the Address of 0x8000000 has to be chosen manually If you want to exit the bootloader you must restart the device 5 3 In Circuit Serial Programming The ST s ST LINK SWD connection can be used for both programming and debugging the code directly on the devic...

Страница 14: ...ms cz Figure 7 J5 ST LINK SWD Connection and Pinout An ST LINK v2 or v3 debugger and a TagConnect TC2030 NL header 1 is needed p n TC2030 CTX NL STDC14 Please make sure SWD Interface is selected in STM32CubeIDE project configuration as shown in Figure 8 Figure 8 STM32CubeIDE Debugger Configuration ...

Страница 15: ...ENT WITH THIS DEVICE YOU MAY POTENTIALLY CAUSE A CHANGE IN THE OPERATION OF THE SYSTEM MODULE DEVICE CIRCUIT OR OUTPUT TURN ON OR ACTIVATE A MODULE DEVICE CIRCUIT OUTPUT OR FUNCTION TURN OFF OR DEACTIVATE A MODULE DEVICE CIRCUIT OUTPUT OR FUNCTION INHIBIT TURN OFF OR DEACTIVATE NORMAL OPERATION MODIFY THE BEHAVIOR OF A DISTRIBUTED PRODUCT ACTIVATE AN UNINTENDED OPERATION PLACE THE SYSTEM MODULE DE...

Страница 16: ...CAN FD LIN Gateway User Manual MACH SYSTEMS s r o www machsystems cz Page 16 of 18 info machsystems cz 6 3 Declaration of Conformity ...

Страница 17: ...rademark of Arm Limited or its subsidiaries in the US and or elsewhere Kvaser is a registered trademark of Kvaser AB in Sweden and other countries 7 References 1 TagConnect TC2030 IDC NL Online Available https www tag connect com product tc2030 ctx nl stdc14 for use with stm32 processors with stlink v3 2 CAN FD LIN Gateway Github Repository Online Available https github com mach systems CANFD LIN ...

Страница 18: ...ystems cz 8 Ordering Information Product Number Description CANFD LIN GW CAN FD LIN Gateway DIN CLIP Clip for mounting on a DIN rail Table 6 Ordering Numbers 9 Contact MACH SYSTEMS s r o www machsystems cz info machsystems cz Czech Republic Company registration 29413893 EU VAT number CZ29413893 ...

Отзывы: