Skip to content

Lin lin(master,4) and Lin lin(slave,15) #35

@wchpikus

Description

@wchpikus

Hi.
Could you tell me, haw can i create object master and slave at the same time?
I have one slave what listen, and works well,second uart is as master and will resend frame.
Off-course 2 different uarts (esp32).

I try to do this way:
Lin 1 and lin 2 chip.
Lin 1 is connected to master (revived request) and lin 2 to device.
Rx lin 1 connected to tx on lin2 (to resend request from master to device).
I read on lin 2 respond and like to resend it to master ( read-filter-resend) when master send next request.
All the time when i like to resend, data is putted to the end of frame (behind respond of device), and do not possible to send it to master in correct time.
It is look like:

  1. no full duplex uarts (no possible)
  2. only read is possible on the same time using library??
  3. other bug..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions