Would someone be able to explain how i use the SPI on the IMX8 plus SoM. I want to do a simple read/write to some EEPROM on a carrier PCB just to check it works.
I've got the provided Yocto image working and I'm able to use buses like the i2c quite easily but the SPI bus for the EEPROM doesn't appear enabled. I've checked the kernel logs using dmesg | grep SPI* and i can see the SPI NOR flash on the SoM is enabled but that's not what i want.
I guess the the device tree needs to be changed and/or the driver that i think is occupying the bus unbinded but I don't know how to do this. If i could just access the SPI via U-Boot that would be great.
Any help would be hugely appreciated, I'm completely new to this.
Thanks in advance.
DTS
Hi @NewToThis!
Thank you for contacting NXP Support!
What board are you using?
What BSP are you using?
Please check the device tree of the imx8mp evk, the memory is declared in the node flexspi
Best Regards!
Chavira
Hi @NewToThis!
I have tried to see the device tree of the board that you want to use without success.
Maybe the SPI bus is enabled on the board.
For this case I recommend contacting advantech support to get a clarification of this, also I noticed that they have documentation about their boards that you can consult for the usage of the board.
Best Regards!
Chavira