linbus
linbus copied to clipboard
Lin lin(master,4) and Lin lin(slave,15)
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:
- no full duplex uarts (no possible)
- only read is possible on the same time using library??
- other bug..