I’m using a Colibri-imx8qxp core with our custom carrier board based on the reference design.
We are using M41t83 IC for off core RTC when system down.
Below is the device tree overlay I used to drive m41t83
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
Thank you for reaching out with your question about the M41T83 RTC on your Colibri iMX8QXP module. The error message ‘Can’t clear HT bit’ typically indicates a configuration or communication issue with the RTC device. Here are some steps you can take to troubleshoot and resolve this issue:
Verify Device Tree Overlay:
Ensure that the device tree overlay correctly specifies the compatible string for the M41T83 RTC. The line compatible = "st,m41t83"; appears correct, but it’s always good to double-check against the RTC’s datasheet.
Confirm that the I2C address (reg = <0x68>;) matches your hardware setup.
Review RTC Initialization:
The ‘HT’ bit (Halt Update) in RTCs like the M41T83 is used to halt clock updates. If this bit cannot be cleared, it might indicate a communication issue or that the RTC is not properly initialized.
Ensure that the RTC is powered correctly and that any required pull-up resistors on the I2C lines are in place.
Kernel and Driver Support:
Verify that the kernel version you are using supports the M41T83 RTC. Check if there are any patches or updates required for the RTC driver.
Test with a Known Good Configuration:
If possible, test the RTC with a known good configuration or on a different setup to rule out software configuration issues.
By following these steps, you should be able to identify and resolve the issue with the RTC setup. If the problem persists, reviewing the device tree bindings documentation for the RTC might provide additional insights.
I hope this helps! If you have any further questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem: