NXP Semiconductors MR-CANHUBK344 Software Evaluation Board User Manual

June 6, 2024
NXP Semiconductors

NXP Semiconductors MR-CANHUBK344 Software Evaluation Board User Manual

**Document information

**

Revision history

Contact information
For more information, please visit: http://www.nxp.com

Introduction

This document is the release notes for the MR-CANHUBK344 demonstration software which converts Ethernet to CAN and CAN to Ethernet using the IEEE 1722 ACF-CAN protocol.

The release notes also describe the contents of the kit, open issues, changes, fixes and limitations of the released version.

This release of the switch code supports all 6 CAN ports and 100BASE-T1 Ethernet port. The 100BASE-T1 port have automatic mode detection enabled so no further adjustments are needed.

Note that other code examples specific to Mobile Robotics team, vehicle software stacks and associated RTOSs may be found elsewhere on nxp.com/MR- CANHUBK344

Abbreviations

IEEE:  1722 Layer 2 transport protocol working group for time-sensitive streams
100BASE-T1:  Full-duplex single twisted pair ethernet
CAN:  Controller Area Network 1Mbps “classical CAN”, although may sometimes be inclusive of CAN FD
CAN FD:  CAN Flexible Data rate (up to 8Mbps)
CAN SIC:  CAN FD using Signal Improvement CAN PHY
CAN SCT:  CAN FD using Secure CAN Transceiver
JTAG:  Joint Test Action Group, interface commonly used for software debugging
KB:  1024 bytes
MAC:  Media Access Control, a MAC address is a so called physical address.
Mbps:  Million bits per second (10 6 bits/s)
NFC:  Near Field Communication
PCB:  Printed Circuit Board
SDK:  Software Development Kit

Contents

The released package consists of:

  • Hardware
    o MR-CANHUBK344 board
    o DCD-LZ Programming Adapter board (giving access to a console UART)
    o USB-UART adapter cable (attaches to DCD-LZ)
    o Power adapter cables, including JST-JH to common red SY connector, barrel connector, XT-60 Lipo battery connector
    o 6x CAN cables
    o 6x CAN Termination boards
    o 1x T1 Ethernet cable (using JST-GH connectors)
    o Generic JST-GH cables for UART/SPI/I2C/customizing to your specific needs.
    o Small OLED display
    o NFC antenna connected to Secure Element.

  • Documentation and software
    o MR-CANHUBK344 HW User Manual
    o MR-CANHUBK344 SW User Manual
    o MR_CANHUBK3_IEEE 1722.zip S32 Design Studio project file

Changes

**Table 1. Changes

**

Limitations

**Table 1 Limitations

**

Known issues

**Table 2 Known issues

**

Board connections

The MR-CANHUBK344 board includes several interfaces. The board has been designed for testing within the application space of small mobile robotics. This has defined the use of Linux foundation DroneCode connectors. These cable are easily assembled and customized using housings and pre-crimped cables. There is the added benefit of many off the shelf modules being able to plug in directly.
Cables are typically provided in the kit and may need to be cut or otherwise modified for your specific needs.

Power input

The power input connection and PMIC support a wide input voltage range from 5V to 40V and is suitable for direct connection to a battery. For example a 12V car battery or a 2s, 3S, 4S LiPo battery.

Figure 1 Connector locations MR-CANHUBK3 for the demo software

The power is to be supplied at the 5 pin P27 (Pin 1-2 power, Pin 3 NC, Pin 4-5 ground) connector at the top left corner of the board (see Figure 1). The board draws roughly 100mA @ 12V.

CAN bus connections

P12-P23 are CAN connectors with following pinout.

A CAN Bus generally requires termination at both ends, assuming this CANHUBK344 is at one end of the bus, connecting one of the included CAN-TERM termination boards on the corresponding CAN connector will accomplish termination for this end.

The CAN ports on MR-CANHUBK344 will source 5V power on pin 1 to connected devices. You may gently remove the Pin1 wire on the connector if this is not desired.

Note that while these CAN-TERM boards may be able to inject 5V through the USB connector interface, extra care and consideration should be taken to validate that this is what you intend for your system.

100Base-T1 Ethernet Connection

The T1 connector (P9) is an 2 pin JST-GH connector for 2 wire 100Mbps ethernet. The signals are capacitively coupled and are polarized P and N. On this board the TJA1103 T1 interface chip will auto-negotiate the polarity if it is reversed.

This cable will connect directly to other Mobile Robotics boards such as the UCANS32K1SIC, the UCANS32K1SCT, the RDDRONE-T1ETH8 and NavQPlus. RDDRONE- T1ADAPT may be used to translate to an RJ45 connection type.

Alternatively you may adapted this cable to other connector types as needed, by cutting the cable and soldering to the wires.

The Amber LED (D88) at the backside of the PCB indicates the link status. When flashing it indicates there is a link.

Main semiconductor components

This compact board holds some key components which are briefly described in this section. More detailed documentation on these components can be found on- line.

Figure 2 S32K344 Block diagram

S32K344 MCU

The S32K344 is an Automotive General Purpose MCU of NXP Semiconductors. Figure 2 gives the block diagram of this chip. The software discussed in this document is running on the Lockstep Arm Cortex M7 embedded in this chip. Note there are equivalent versions of this chip where the two cores are able to run independently (S32K324)

FS26 Functional Safety SBC

The FS26 is the ‘Safety System Basis Chip with Low Power Fit for ASIL D’ of NXP Semiconductors. Figure 3 gives the block diagram of this power supply chip. Although capable of much more, in this design it allows for a compact power supply design and high input voltage.

The FS26 is connected through SPI to the S32K344 and implements a challenger window watchdog. Sending challenges to the through SPI S32K344 as the window watchdog when the response is invalid or not during the timing window the FS26 will reset the S32K344 MCU.

In this included sample code, the challenge watchdog functionality has not been implemented. Instead during startup of the S32K344 the sample application sends a request to the FS26 to disable the watchdog functionality thus avoiding the S32K344 will go into reset.

Figure 3 FS26 Block diagram

Board bring up

As described in 6.1.2, the FS26 by default implements a challenger window watchdog that will reset the S32K344 MCU continuously if the challenge is not handled.

To circumvent this the FS26 must be put into debug mode. This is done by removing JP1 and then supplying exactly 12.0V on P27 or P28 and then inserting the JP1 jumper.

Once this is done, the reset LED D24 should no longer blink, indicating the S32K344 will not be reset continuously by the FS26.

S32 Design Example project

The included MR_CANHUBK3_IEEE 1722 .zip project file is compatible with S32 Design Studio for S32 Platform version 3.4

The following extensions are required to build the project

  • FreeRTOS for S32K3 2.0.0
  • S32K3 RTD AUTOSAR 4.4 Version 2.0.0
  • S32K3xx development package Version 3.4.3

FreeRTOS needs to be downloaded from S32K3 Reference Software package

Figure 4 gives an overview what the S32 Design Studio extension manager should show.

Figure 4 Required S32 Design Studio 3.4 extensions

To import the included MR_CANHUBK3_IEEE 1722 .zip , open File -> Import -> General -> Project from Folder or Archive and then select the Project.zip archive.

Once the project has been imported, right click on “MR_CANHUBK3_IEEE 1722” in the projects explorer and select S32 Configuration Tools -> Open Pins.

The S32 Pin tool perspective view will appear and in the menu there’s a button “Update Code” and select “OK” now the driver configuration files will be generated.

Go back to the Project Explorer right click on “MR_CANHUBK3_IEEE 1722” and select “Build Project”. Now you can flash the “MR_CANHUBK3_IEEE 1722.elf” using your programmer.

For more information regarding S32 Design Studio, S32 Configuration Tools and debugging please refer to the to the “Getting started with S32K3 & S32DS” guide

Application

Once “MR_CANHUBK3_IEEE 1722” has been successfully flashed on the MR- CANHUBK344 board, it will act as an ETH <-> CAN IEEE 1722 protocol converter.

CAN messages received on CAN0 through CAN5 will be converted to an IEEE 1722 ACF-CAN fame and will be broadcasted to the ethernet. To view incoming the CAN frames you can install Wireshark on a Windows / Linux machine.

You can also simulate CAN messages by pressing SW1 or SW2.
SW1 will send a CAN message to CAN0 and SW2 will send a CAN message to CAN1.
For a setup without CAN peripherals, you can connect CAN0 (P12) back to CAN1 (P14) to create a bus using included cable. Also connect the CAN-Term board to P13 to terminate the bus. When pressing either SW1 or SW2 both LEDs D7 and D22 turn on briefly indicating there’s CAN packet.
When connected to a PC running Wireshark it will show there’s a CAN packet send using IEEE 1722 as shown in Figure 5.

Figure 5 Wireshark output of an IEEE 1722 ACF-CAN Frame

Board status LEDs

The MR-CANHUBK344 has various LEDs to indicate status as shown in Figure 6. Under normal circumstances the state of the LEDs should as indicate in the table below.

Figure 6 Led overview

Legal information

Definitions

Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information.

Disclaimers

Limited warranty and liability — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors.

In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including – without limitation – lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory.

Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors.

Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof.

Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk.

Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification.

Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer’s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer’s applications and products planned, as well as for the planned application and use of customer’s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products.

NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer’s applications or products, or the application or use by customer’s third party customer(s). Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer’s third party customer(s). NXP does not accept any liability in this respect.

Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities.

Translations — A non-English (translated) version of a document is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions.

Evaluation products — This product is provided on an “as is” and “with all faults” basis for evaluation purposes only. NXP Semiconductors, its affiliates and their suppliers expressly disclaim all warranties, whether express, implied or statutory, including but not limited to the implied warranties of non- infringement, merchantability and fitness for a particular purpose. The entire risk as to the quality, or arising out of the use or performance, of this product remains with customer.

In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation damages for loss of business, business interruption, loss of use, loss of data or information, and the like) arising out the use of or inability to use the product, whether or not based on tort (including negligence), strict liability, breach of contract, breach of warranty or any other theory, even if advised of the possibility of such damages.

Notwithstanding any damages that customer might incur for any reason whatsoever (including without limitation, all damages referenced above and all direct or general damages), the entire liability of NXP Semiconductors, its affiliates and their suppliers and customer’s exclusive remedy for all of the foregoing shall be limited to actual damages incurred by customer based on reasonable reliance up to the greater of the amount actually paid by customer for the product or five dollars (US$5.00). The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails of its essential purpose.

Trademarks

Notice: All referenced brands, product names, service names and trademarks are property of their respective owners.

NXP — is a trademark of NXP Semiconductors N.V.

AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio, CoreLink, CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS, ULINKpro, μVision, Versatile — are trademarks or registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. The related technology may be protected by any or all of patents, copyrights, designs and trade secrets. All rights reserved.

Airfast — is a trademark of NXP B.V.
Altivec — is a trademark of NXP B.V.
Arteris — Portions of this document contain content provided by Arteris, Inc. or its subsidiaries (collectively, “Arteris”). Arteris is the sole owner of such content.
CodeWarrior — is a trademark of NXP B.V.
ColdFire — is a trademark of NXP B.V.
ColdFire+ — is a trademark of NXP B.V.
CoolFlux — is a trademark of NXP B.V.
CoolFlux DSP — is a trademark of NXP B.V.
EdgeLock — is a trademark of NXP B.V.
EdgeScale — is a trademark of NXP B.V.
elQ — is a trademark of NXP B.V.
Embrace — is a trademark of NXP B.V.
Freescale — is a trademark of NXP B.V.
GreenChip — is a trademark of NXP B.V.
ICODE and I-CODE — are trademarks of NXP B.V.
Immersiv3D — is a trademark of NXP B.V.
Legal information
I2C-bus — logo is a trademark of NXP B.V.
JCOP — is a trademark of NXP B.V.
Kinetis — is a trademark of NXP B.V.
Layerscape — is a trademark of NXP B.V.
MagniV — is a trademark of NXP B.V.
Mantis — is a trademark of NXP B.V.
MIFARE — is a trademark of NXP B.V.
MIFARE Classic — is a trademark of NXP B.V.
MIFARE FleX — is a trademark of NXP B.V.
MIFARE4Mobile — is a trademark of NXP B.V.
MIFARE Plus — is a trademark of NXP B.V.
MIFARE Ultralight — is a trademark of NXP B.V.
MiGLO — is a trademark of NXP B.V.
MOBILEGT — is a trademark of NXP B.V.
NTAG — is a trademark of NXP B.V.
NXP SECURE CONNECTIONS FOR A SMARTER WORLD — is a trademark of NXP B.V.
Oracle and Java — are registered trademarks of Oracle and/or its affiliates.
Processor Expert — is a trademark of NXP B.V.
QorIQ — is a trademark of NXP B.V.
QorIQ Qonverge — is a trademark of NXP B.V.
RoadLink — wordmark and logo are trademarks of NXP B.V.
SafeAssure — is a trademark of NXP B.V.
SafeAssure — logo is a trademark of NXP B.V.
SmartLX — is a trademark of NXP B.V.
SmartMX — is a trademark of NXP B.V.
StarCore — is a trademark of NXP B.V.
Symphony — is a trademark of NXP B.V.
Tower — is a trademark of NXP B.V.
UCODE — is a trademark of NXP B.V.
VortiQa — is a trademark of NXP B.V.
Vybrid — is a trademark of NXP B.V.

Please be aware that important notices concerning this document and the product(s) described herein, have been included in the section ‘Legal information’.

© NXP Semiconductors N.V. 2023. All rights reserved.
For more information, please visit: http://www.nxp.com

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

NXP Semiconductors User Manuals

Related Manuals