Page 1 of 1

Communication lost between RevPi Connect4 and DIO module

Posted: 07 Nov 2024, 10:50
by --michal--
Hello,

for our project we used Revolution PI Connect (Operating System: Debian GNU/Linux 11 (bullseye), Kernel: Linux 6.1.46-rt13-v8) with DIO module.
When reading statuses sometimes communication between PI and DIO module is interrupted.
The system reports the following errors:
[852886.893917] pi-bridge serial1- 0: receiver head error in io-req
[852886.893930] piControl: DIO addr 32: communication failed (req:6,ret:-5)
[853847.504857] pi-bridge serial1-0: receiver head error in io-req
[853847.504871] piControl: DIO addr 32: communication failed (req:6,ret: -5)
[855768.834127] pi-bridge serial1-0: receiver head error in io-req
[855768.834142] piControl: DIO addr 32: communication failed
[855768.846441] pi-bridge serial1-0: data reception error in io-req(len: 6)
[855768.846456] piControl: DIO addr 32: communication failed (request:6,ret:-5)

What can I do to fix this problem?
I am attaching the full kernel.log.

Best regards,

Michal

Re: Communication lost between RevPi Connect4 and DIO module

Posted: 07 Nov 2024, 15:21
by dirk
Hi Michal, can you send an update picture of the setup? Try to perform a firmware update:
https://revolutionpi.com/en/tutorials/i ... are-update
How often does the error occur?

Re: Communication lost between RevPi Connect4 and DIO module

Posted: 11 Nov 2024, 11:31
by --michal--
Hi, errors occur within minutes to hours (information from kernel.log) .
Only the DIO module is connected to the RevPi on the right side.
Device List:
2 devices found:
Address: 0 module type: 136 (0x88) RevPi Connect 4 V1.0
Module present
input offset: 0 length: 6
output offset: 6 length: 7
Address: 32 module type: 96 (0x60) RevPi DIO V1.5
Module present
input offset: 13 length: 70
output offset: 83 length: 18

Re: Communication lost between RevPi Connect4 and DIO module

Posted: 12 Nov 2024, 09:52
by dirk
Hello --michal-, can you try placing the RevPi DIO module on the left side of the RevPi Connect 4 module? To do this, you must also adjust the PiCtory configuration. However, you can drag the module over to the left-hand side here. At the end you have to execute File -> Save as default configuration and Tools -> Reset Driver.

Re: Communication lost between RevPi Connect4 and DIO module

Posted: 15 Nov 2024, 08:39
by --michal--
Hello, I have edited the DIO module connection and the configuration for RevPI.
The problem with communication between the PI and the DIO module still persists.
I am attaching the kernel log from our test device.

Re: Communication lost between RevPi Connect4 and DIO module

Posted: 20 Nov 2024, 09:01
by dirk
Hello --michal-, okay this is unchanged, the communication problems on the PiBridge also appear here. Please contact the seller from whom you purchased the RevPi DIO module and start the RMA process. If you purchased the module directly from us, then create a "Defective Device" request or email us to support@kunbus.com with the details of the proof of purchase and the content of the Data Matrix code on the front page.