Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wchpikus opened this issue May 19, 2019 · 0 comments
Open

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

wchpikus opened this issue May 19, 2019 · 0 comments

Comments

@wchpikus
Copy link

wchpikus commented May 19, 2019

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..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant