You should match the firmware version of the mcu to the version of your Klippy install.
10k pullups to 3v3 for the SDA / SCL should be ‘ok’, even if there are programmable pullups from the mcu in use also. Are you sure you’ve got the SDA / SCL wired to the correct points on the Eddy Coil.
They’re not interchangeable signals, they need to be connected SDA to SDA and SCL to SCL…
I don’t know what to think anymore! I’ve run out of options to solve the problem(((
I’m looking at this diagram of the pull-up resistor and I see that on the other side there is a resistor 1k and a capacitor to GND
maybe that’s the problem???
No. They should be fine - I wouldn’t have suggested them if I thought the 1k and cap were issues. I might ask you to pull the caps, but I want to see what the I2C waveforms look like first.
Can we go back to what I last asked you for?
Give me an accurate state of where things are now and what you’ve done. I think you’re using PB6/PB7, as I suggested but have added additional resistors to the wiring. It might be helpful to provide a drawing/photograph to show exactly what the state of things are.
When you do a new experiment, show the oscilloscope view of the waveforms. That is really helpful to understanding what is happening as well as getting an idea whether or not there’s a chance that things will work.
Stop posting abbreviated/edited klipyy.log files. I would really like to see the complete file. If you think it is too large (although you should be able to .zip it and post it here), then do a Reset on the Mainsail “Machine” page and then post the new file after you’ve run a new test.
You seem to have indicated that you just have PB6/PB7 wired. I would still like a picture of what you have done and how things are wired.
You indicated that there is a problem with getting 'scope pictures of the data. With the soldering/desoldering (I was expecting that you would only use plug in connectors) I think it’s really critical to see what’s going on the lines. I don’t understand why you are unable to get a shot of what’s going on the line.
I’m looking at your latest klippy.log and the most recent error indicates that you are not getting a response from the I2C. This means that I would really like to see physically what you have (ie pictures) done and electrically ('scope images).
If I can make an observation, you are thrashing. I know what I’m asking for is pedantic but I think it’s important we work through things step by step and not get ahead and change things without fully understanding what’s going on currently or completely responding to my requests.
We’ll get there. There’s a reason for everything I’m asking you to do so please follow my instructions and requests before doing anything else.
I don’t mind questions, just be patient because I’m not sitting at the computer waiting for you to come back with information or requests.
Let’s work through this until we see the SDA/SCL lines wiggling.
It looks like to me that there is a software issue in how the pins are specified - my first thought is that the I2C pins on the EBB SB2240 are not being set up correctly.
@nefelim4ag I think you’re the expert here - do you see anything wrong with how @borysne has specified the Eddy Coil interface. The printer.cfg statement (taken from the klippy.log) is:
The only thing I can think of is that the PB6/PB7 being accessed are on the Manta M8P V2.0 but that should be specified by the i2c_mcu parameter - correct?
if the question is for me, then I think that everything is correct in the config! we indicate which MCU we are addressing
i2c_mcu = sb2240
i2c_bus = i2c1_PB6_PB7
when I was connected directly to the Manta MP8 v2. board via a long cable, the config was like this:
i2c_mcu: mcu
i2c_bus: i2c3_PA8_PC9
It’s strange where this calibration comes from if I’ve never managed to launch Eddy in a new pin configuration
This is probably an old calibration when the connection was via directly Manta mp8
What do you mean, “this config doesn’t work”? Are you scoping the lines?
Could you please share your printer.cfg with me?
I was asking that you continue with the the SB2240 but use your original configuration information that was in the Manta M8P V2 but didn’t have the “calibration” information.
Please be as descriptive as possible and include as much information as possible, even if it seems redundant.
I use original configuration that was in the Manta M8P V2 when i connected to eddy directly
the “calibration” information - I can go in printer.cfg and try to delete it!
but then after deleting the sensor i need to calibrate it! and I won’t be able to do it because we have problems with i2c