Communication lost between RevPi Connect4 and DIO module

Topics about the Hardware of Revolution Pi
Post Reply
--michal--
Posts: 5
Joined: 17 Oct 2024, 11:00

Communication lost between RevPi Connect4 and DIO module

Post 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
Attachments
kern.rar
(2.25 KiB) Downloaded 159 times
User avatar
dirk
KUNBUS
Posts: 2157
Joined: 15 Dec 2016, 13:19

Re: Communication lost between RevPi Connect4 and DIO module

Post 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?
--michal--
Posts: 5
Joined: 17 Oct 2024, 11:00

Re: Communication lost between RevPi Connect4 and DIO module

Post 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
Attachments
RevPi+DIO.jpg
User avatar
dirk
KUNBUS
Posts: 2157
Joined: 15 Dec 2016, 13:19

Re: Communication lost between RevPi Connect4 and DIO module

Post 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.
--michal--
Posts: 5
Joined: 17 Oct 2024, 11:00

Re: Communication lost between RevPi Connect4 and DIO module

Post 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.
Attachments
kern.zip
(13.12 KiB) Downloaded 131 times
User avatar
dirk
KUNBUS
Posts: 2157
Joined: 15 Dec 2016, 13:19

Re: Communication lost between RevPi Connect4 and DIO module

Post 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.
Post Reply