Guys, maybe you can suggest something.
I’ve got a printer with a BME280 sensor to monitor the chamber temperature.
From time to time it throws this error: MCU ‘mcu’ shutdown: i2c timeout
and accordingly the host crashes at the same time, along with the print.
I tried different connections, both to the Raspberry Pi and to the SKR.
The motor wires and the wire from the sensor to the host are shielded, and the shield is grounded.
The only thing I haven’t checked is what’s going on electrically with an oscilloscope.
So the question is, is there anything else I can do about it, or is the only option to just disable the damn thing?
🇷🇺 Оригинал
господа, мож вы чё подскажете.
имеется принтор с датчиком BME280, смотреть температуру в камере.
время от времени вываливается в ошибку: MCU ‘mcu’ shutdown: i2c timeout
соответственно хост в это время уходит в себя вместе с распечаткой.
подключение пробовал разное, и к малине и к skr.
заэкранированы и экраном посажены на заземление провода двигателей и провод от датчика до хоста.
единственное, не смотрел осцллографом, чего там в эфире свориться.
собственно вопрос, можно ли что-то еще с этим сделать или единственный выход - отключить его к хренам?
Wire length also affects i2c a lot.
🇷🇺 Оригинал
Длина проводов так же сильно вшияет на i2c
Ah, right, the wire is no longer than 30 cm.
🇷🇺 Оригинал
ах, да, провод не больше 30см
As an option, hook it up directly to some small MCU, and then connect that to the host over USB or something else.
🇷🇺 Оригинал
как вариант - посадить его прямо на какую-нибудь мелкую мцу, которую уже по усб или еще чему подрубить к хосту
What i2c_speed do you have set?
🇷🇺 Оригинал
i2c_speed какая у Вас выставлена?
Well, I don’t need it that badly )
i2c_speed: 100000
🇷🇺 Оригинал
ну не на столько он мне нужен )
i2c_speed: 100000
Set it to 10000 and test it.
🇷🇺 Оригинал
10000 поставьте и проверьте
Klipper won’t let me set it lower than 100000.
🇷🇺 Оригинал
клиппер не даёт поставить меньше 100000
Yeah, that’s a thing — then we need to look for other options.
🇷🇺 Оригинал
да есть такое - тогда ищем иные варианты
It would be nice if there were an option to disable error checking. Like, if it drops out, then whatever until the next restart.
🇷🇺 Оригинал
был бы классный вариант отключить контроль ошибок. ну типа отвалился и хрен с ним до следующего рестарта
Whether you watch it or not, it drops out, and Klipper immediately goes into full panic mode
just disable the check and forget about it)
🇷🇺 Оригинал
смотри не смотри, оно отваливатеся, а в клиппер сразу ахтунг начинается
отключи контроль и забей)
I think something like that exists in recent Klipper, but that’s specifically for the connection to the MCU.
🇷🇺 Оригинал
такое вроде есть в свежем клиппере, но это именно для соединения с мцу
For me, a year ago Klipper was already recent )))
🇷🇺 Оригинал
у меня уже год назад был свежий клиппер)))
Yeah, I saw some mentions of it in the commits, but apparently it doesn’t work, or maybe I misunderstood what it was about.
Klipper is up to date, literally just a couple of weeks old.
🇷🇺 Оригинал
да, я видел некие упомининия в коммитах, но видимо не работает, либо я не так понял о чем там.
клиппер свежий, буквально пару недель.
On the first point, could you point me to where to look for that, please?
On the second point, I tried different options. Both coax on the signal lines and just plain wires with no shielding, and I even twisted them.
No use at all.
🇷🇺 Оригинал
по первому пункту, ткните носом пожалуста, где это искать.
по второму пункту, пробовал разные варианты. и коаксиал на сигнальные линии и просто без экрана проводульки и косички плёл.
всё бестолку.
What about the connection points? I mean, how are sensor-to-cable and cable-to-board connections done?
🇷🇺 Оригинал
а точки коммутации какие? Ну датчик-кабель и кабель-плата как организованы?
In what sense?
The sensor is soldered to the wires, and on the other end there’s a Dupont connector plugged into the SKR Pro.
🇷🇺 Оригинал
в плане?
датчик припаян к проводам, на другом конце дюпон разъём, воткнут в скр про
Maybe this is some mod that migrated over from danger klipper; it’s not in the official docs, sorry.
You could look into danger klipper 
🇷🇺 Оригинал
Возможно это какой-то мод перекочевавший из danger klipper, в офф доке такго нет, пардон.
Можно рассмотреть danger klipper 
I’ll read up on it, thanks. But at first glance it looks like I’d have to rig up an extra MCU to make it work.
🇷🇺 Оригинал
почитаю. спасибо. но на первый взгляд придется городить дополнительный мцу для реализации.