Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
It looks like you’re having trouble detecting SPI devices on your Colibri iMX6 custom carrier board. Let’s go through some steps to help resolve this issue:
Device Tree Configuration: You’ve made changes to the device tree files, which is a good start. Ensure that the ecspi3 node is correctly set to “okay” and that the spidev node is properly configured. Double-check that the pin configurations match your hardware setup.
Check for Conflicts: If your board setup includes an MCP2515 SPI CAN controller, it might be enabled by default, which can interfere with SPI device detection. Make sure to disable the MCP2515 node in the device tree by setting its status to “disabled”.
Verify Device Nodes: After booting, check the /dev directory for spidev nodes. If they are missing, it suggests the SPI interface isn’t initialized correctly.
Examine Boot Logs: Use the dmesg command to review the boot logs for any errors related to SPI initialization. Look for messages that might indicate issues with your device tree configuration or driver loading.
TorizonCore Overlays: If you’re using TorizonCore, ensure the correct device tree overlay is applied. You may need to adjust the overlays.txt file in the /boot directory to include the appropriate SPI overlay.
By following these steps, you should be able to identify and resolve the issue with SPI device detection. If the problem persists, carefully review your device tree modifications for any potential conflicts.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: