Advertisement

Quick Links

CHANGES
Date
25.1.2021
CAN FD LIN Gateway
User Manual
Description
Initial Release
Created By
VB, KH, MM
Review By
MM

Advertisement

Table of Contents
loading

Summary of Contents for MACH SYSTEMS CANFD-LIN-GW

  • Page 1 CAN FD LIN Gateway User Manual CHANGES Date Description Created By Review By 25.1.2021 Initial Release VB, KH, MM...
  • Page 2: Table Of Contents

    Usage Warning ........................15 Disposal and Recycling Information ..................15 Declaration of Conformity ..................... 16 Patents, Copyrights and Trademarks ..................17 References ............................. 17 Ordering Information ........................18 Contact ............................18 MACH SYSTEMS s.r.o. Page 2 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 3 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 MACH SYSTEMS s.r.o. Page 3 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 4: About

    CAN FD LIN Gateway - User Manual 1 About This document describes the use of the CAN FD LIN Gateway. P/N: CANFD-LIN-GW Web: https://www.machsystems.cz/en/products/embedded-networking/gateways-and-bus- converters/canfd-lin-gateway Figure 1 CAN FD LIN Gateway 2 Introduction The CAN FD LIN Gateway is a freely programmable router/data-logger/simulator that features two CAN FD channels, a LIN channel, and a RS-232 port.
  • Page 5: Features

    Debugging ST-LINK SWD (a programming header needed) Non-volatile memory Internal 16 Kbit EEPROM External microSD card slot (a card is not part of delivery) LEDs 3 Dual-color LED 1 Power LED MACH SYSTEMS s.r.o. Page 5 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 6: Table 1 Technical Specification

    108 x 54 x 30 mm Weight 85 g Operating temperature -20 to 70 °C Protection IP20 Placement Table (adhesive pads included) DIN-rail mount (clip sold separately) Table 1 Technical Specification Figure 3 - Product Photos MACH SYSTEMS s.r.o. Page 6 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 7: Device Description

    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 MACH SYSTEMS s.r.o. Page 7 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 8: Pinout

    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 MACH SYSTEMS s.r.o. Page 8 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 9: Can Bus Termination

    COM port. 4.7 Galvanic Isolation The device does not have any galvanic isolation. The user has to make sure there are no ground loop in his setup. MACH SYSTEMS s.r.o. Page 9 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 10: Usage

    An example how to call from CAN RX interrupt (taken from source code example in Chapter 5.1): /* It is strongly suggested to keep the possibility to jump to System Booloader from application */ MACH SYSTEMS s.r.o. Page 10 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 11: Firmware Download

    2. Turn the device off 3. Enter the system bootloader as described in 5.2.1 4. Connect one of the following ports to the PC: a. Micro USB cable (this also powers the device) MACH SYSTEMS s.r.o. Page 11 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 12 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 similar to this one. MACH SYSTEMS s.r.o. Page 12 of 18 www.machsystems.cz...
  • Page 13: In-Circuit Serial Programming

    The ST’s ST-LINK SWD connection can be used for both programming and debugging the code directly on the device. The device’s enclosure will have to be open in order to access ICSP pads. The SWD signals are available over J5 as depicted in Figure 7. MACH SYSTEMS s.r.o. Page 13 of 18 www.machsystems.cz...
  • Page 14: 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 MACH SYSTEMS s.r.o. Page 14 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 15: Legal Information

    CORRECTION OF DEFECTS, AND MACH SYSTEMS s.r.o. HEREBY EXPRESSLY DISCLAIMS ANY LIABILITY OVER AND ABOVE THE REFUNDING OF THE PRICE PAID FOR THIS DEVICE, SINCE MACH SYSTEMS s.r.o. DOES NOT HAVE ANY INFLUENCE ON THE IMPLEMENTATIONS OF THE HIGHER-LEVEL SYSTEM, WHICH MAY BE DEFECTIVE.
  • Page 16: Declaration Of Conformity

    CAN FD LIN Gateway - User Manual 6.3 Declaration of Conformity MACH SYSTEMS s.r.o. Page 16 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 17: Patents, Copyrights And Trademarks

    [2] „CAN FD LIN Gateway Github Repository,“ [Online]. Available: https://github.com/mach- systems/CANFD-LIN-Gateway. [3] „CAN FD LIN Gateway - CAN Bootloader Application Note,“ [Online]. Available: https://www.machsystems.cz/wp-content/uploads/2021/01/CAN-FD-LIN-Gateway-CAN- Bootloader-AN.pdf. [4] „STM32CubeProgrammer Web Site,“ [Online]. Available: https://www.st.com/en/development- tools/stm32cubeprog.html. MACH SYSTEMS s.r.o. Page 17 of 18 www.machsystems.cz info@machsystems.cz...
  • Page 18: Ordering Information

    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 MACH SYSTEMS s.r.o. Page 18 of 18 www.machsystems.cz...

Table of Contents