NXP RT1170 LIN Communication Demo User Guide

NXP RT1170 LIN demo user guide for porting the KW36 LIN 2.1 stack to the RT1176 EVK and verifying master and slave communication.


NXP RT1170 LIN Communication Demo User Guide - cover page
Brand
NXP
Category
Other
Document type
User Manual
Language
Chinese
Pages
6
File format
PDF
File size
897 KB
Published
30 November, 2026
Updated
30 November, 2026
Model
RT1170
MD5 checksum
0791829FC17A4BA35B5F0270384AB1D8

About this manual

This guide describes how to port the LIN 2.1 protocol stack from the KW36 project to the RT1176 EVK board and verify LIN master and slave communication. The RT1176 EVK has 12 independent LPUART interfaces supporting up to 20 Mbps, but no LIN transceiver and no LIN example code or stack in the SDK, so the demo uses two RT1170 EVK boards connected to two FRDM-KW36 boards through Arduino interfaces, with the KW36 LIN transceivers TJA1027 linked together.

The guide covers the functional requirements, code packages, software setup, hardware setup, the results of the experiment, and the difficulties encountered during code porting. It also explains the LIN protocol stack scheduling flow, auto baud rate adjustment, QTimer input capture and XBAR configuration, and the differences between Sleep and Idle modes. This manual is written in Chinese.

What's inside

  • 功能需求
  • 代码包软件
  • 硬件 Setup
  • 软件 Setup
  • 实验结果
  • 代码移植的几个难点
  • 实际通讯波形
  • 免责声明

Specifications

LPUART interfaces12 independent LPUART interfaces
Maximum baud rate20 Mbps
Break supportBreak send and interrupt receive on each LPUART
Serial port baud rate for results115200
Auto baud rate checkPulse width difference within 2%

Frequently asked questions

What is the purpose of the RT1170 LIN demo?

It ports the LIN 2.1 protocol stack from the KW36 project to the RT1176 EVK board and verifies LIN master and slave communication, including auto baud rate adjustment.

Which boards are used in the demo?

Two RT1170 EVK boards are used as LIN master and slave nodes, each connected to an FRDM-KW36 board through an Arduino interface, with the KW36 LIN transceivers linked together.

What is required to enable auto baud rate detection?

The Slave node RT1176 Arduino interface J9-Pin2 must be connected to J9-Pin12 as the Timer pulse capture input, and the macro linUserConfigSlave.autobaudEnable must be set to true.

Why must PTA18 be configured as a disabled high-impedance state?

If PTA18 is used as a GPIO output or LPUART TX function, the internal pull-up can cause large current and data errors on the LIN slave response, so it must be configured as a disabled high-impedance state.

Download PDF (897 KB)

More NXP Manuals


View all NXP manuals →