Skip to content

Conversation

@thenguyenyf
Copy link
Contributor

@thenguyenyf thenguyenyf commented Sep 15, 2025

Overview

This PR introduce the Local Interconnect Network (LIN) driver, which complies with the LIN Specification Package Rev2.1 (published by LIN CiA) and standardized as ISO 17987.

The first PR to initialize the LIN device driver, that implementing the physical layer and a part of the data link layer which closely related to hardware (doesn't include scheduling).

Screenshot 2025-09-15 105003

In progress tasks

  • Initialize the LIN driver API
  • Add simple zTest
  • Add a skeleton driver for development starting point

Remaining tasks

  • Support first driver (lin_renesas_ra_sci_b.c)
  • Add a new sample for LIN driver

@sonarqubecloud
Copy link

@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_renesas zephyrproject-rtos/hal_renesas@d010390 zephyrproject-rtos/hal_renesas#174 zephyrproject-rtos/hal_renesas#174/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_renesas DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Dec 1, 2025
@thenguyenyf thenguyenyf force-pushed the introduce_lin_driver branch 3 times, most recently from 1d9a9c4 to 9a450c8 Compare December 1, 2025 07:12
@thenguyenyf thenguyenyf marked this pull request as ready for review December 1, 2025 07:59
@zephyrbot zephyrbot added area: Devicetree area: Boards/SoCs platform: Renesas RA Renesas Electronics Corporation, RA platform: Renesas Renesas area: Devicetree Bindings area: Samples Samples area: Tests Issues related to a particular existing or missing test labels Dec 1, 2025
@thenguyenyf thenguyenyf changed the title [WIP] Introduce LIN driver API [RFC] Introduce LIN driver API Dec 1, 2025
Add new LIN controller API and LIN skeleton driver.
This device driver complies with the LIN CiA Specification rev2.1
and implement the physical layer and a part of the data link layer.
The LIN skeleton code is also included as the starting point for
LIN driver development

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Add simple LIN loopback test to check basic read/write operation

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Update hal_renesas rev to support SCI_B LIN

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Initial support for Renesas RA SCI_B LIN

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Enable lin mode support on Renesas RA SCI B

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Add ek_ra8m1 lin_api test support

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Introduce new sample for lin driver act as a master node to control
the ncv7430 led controller IC as a slave node

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Add new sample for LIN act as responder (slave) node

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs area: Devicetree Bindings area: Devicetree area: Samples Samples area: Tests Issues related to a particular existing or missing test DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_renesas platform: Renesas RA Renesas Electronics Corporation, RA platform: Renesas Renesas

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants