Thank you for your suggestion.
I am still getting errors after removing those entries.
piControl: AIO addr 31: communication failed (req:20,ret:-5)
-
- Posts: 44
- Joined: 24 Jan 2024, 19:07
-
- Posts: 44
- Joined: 24 Jan 2024, 19:07
Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)
I have noticed that when there are too many warnings, I can no longer read updated Analog inputs. I keep getting an old value returned.
I will be reverting back to the old kernel in the short term
I will be reverting back to the old kernel in the short term
Code: Select all
sudo apt install raspberrypi-kernel=1:9.20230926+1-5.10.152-1+revpi11+1
Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Hi,
we did some investigation and nailed it down to probably an issue in the serial communication with lower (<=9600) baudrates. The same issue can be observed with kernel 5.10, but only less frequent. At the moment our developers are checking how this can be solved with our driver or an upstream patch of the Linux kernel.
It is possble for your modbus devices to operate at a higher baudrate like 115200? This should solve the issue with the current kernel.
Nicolai
we did some investigation and nailed it down to probably an issue in the serial communication with lower (<=9600) baudrates. The same issue can be observed with kernel 5.10, but only less frequent. At the moment our developers are checking how this can be solved with our driver or an upstream patch of the Linux kernel.
It is possble for your modbus devices to operate at a higher baudrate like 115200? This should solve the issue with the current kernel.
Nicolai
-
- Posts: 44
- Joined: 24 Jan 2024, 19:07
Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Thank you very much for investigating. That is very helpful. I will have a look at the devices connected and see if they can all be changed.
-
- Posts: 44
- Joined: 24 Jan 2024, 19:07
Re: piControl: AIO addr 31: communication failed (req:20,ret:-5)
Hi,
Unfortunately, this energy meter only supports up to 9600 baud, so the modbus speed will have to remain at 9600 for now.
https://cdn.shopify.com/s/files/1/0558/ ... 1659968927
Unfortunately, this energy meter only supports up to 9600 baud, so the modbus speed will have to remain at 9600 for now.
https://cdn.shopify.com/s/files/1/0558/ ... 1659968927