We are developing products using i.MX8M-Puls.
Our board uses the 5th I2C port for connection with the PMIC.
We added the following to the script file for MSCALE_DDR_Tool_v3.31.
#### PMIC Configuration (BUCK6 1.1V to 1.2V) for I2C5 #### memory set 0x303301D4 32 0x00000002 #IOMUXC_SW_MUX_CTL_PAD_SPDIF_TX memory set 0x303301D8 32 0x00000002 #IOMUXC_SW_MUX_CTL_PAD_SPDIF_RX memory set 0x30330434 32 0x000000C6 #SW_PAD_CTL_PAD_SPDIF_TX memory set 0x30330438 32 0x000000C6 #SW_PAD_CTL_PAD_SPDIF_RX sysparam set pmic_cfg 0x0425 sysparam set pmic_set 0x1E18
But it doesn't seem to work.
The i.MX8M series (excluding PLUS) support 4-ports for I2C.
Only the PLUS has 6-ports for I2C, more than those.
So DDR Tool seems to be unable to use I2C5 and I2C6.
Could you please fix the DDR Tool so that our board can finish the DDR calibration?
It can be a preliminary version that can only use I2C5, we need it ASAP.
thanks for reporting the issue. Indeed, I can see in the source code that the DDR Tool can only work with 4 I2C ports on i.MX8MPlus. Unfortunately, I am not the maintainer of the DDR Tool nor I have the build environment setup on my machine therefore, I need to ask a colleague of mine to help modifying the tool.
@haidong_zheng , could you please help with the below request?
Hello @haidong_zheng, @jan_spurek,
Sorry, I couldn't report the results even though you modified the program immediately.
We have reviewed the .ds file and tried various things, but we see messages like this:
I tried to observe the I2C5 waveform with an oscilloscope, but I2C5 remains pulled up and there is no change.
Now I can calibrate by changing PMIC settings from external chip, so fixing DDR_TOOL is no longer urgent.
I'll report back a little later once my research has progressed further.