Hi,
Can I make an SPI transfer by directly writing to registers using memtool.
I am following the below steps, but i do not see any data transfer in CRO
/unit_tests/memtool -32 0x5A030010=0x01
/unit_tests/memtool -32 0x5A030024=0x0B
/unit_tests/memtool -32 0x5A030040=0x03
/unit_tests/memtool -32 0x5A030058=0x00200020
/unit_tests/memtool -32 0x5A030060=0x00200007
/unit_tests/memtool -32 0x5A030064=0x0F
I assume my DTS is correct since data transfer is happening via spidev
Regards,
Ajith
#SPI
you should access though memtool,
memtool\test - imx-test - i.MX Driver Test Application Software
but for imx8QM, which is under preproduction, we don't have enough information to support, maybe you can get support from professional support:
NXP Professional Services | NXP
one maybe refer to the imx6 as an example:
https://community.nxp.com/message/874559?commentID=874559#comment-874559
Hi Joan,
Thanks for the reply.
I am accessing the registers through memtool, but no luck in SPI transfer.
The only thing i am missing is configuring the LPCG register of LPSPI.
I couldn't find anywhere in reference manual or internet the bit information for LPCG register.
Can you please share it?
Regards,
Ajith