Context: iMX6D custom hardware, derived from SABRESD evaluation board.
I have an SPI peripheral device that I was hoping I could test out with the 'spi' command in uboot.
In looking at that code (cmd_spi.c) and it appears that there is no option to just do a write to
a device (without a followup read). The call to spi_xfer passes dout and din, both of which are always real
pointers (as opposed to NULL). Below that, the spi_xchg_single() function checks dout & din for NULL to determine if
the access is a read and/or a write. Since I can't set din to null in the cmd_spi.c code, it appears that I don't
have that option.
Has anyone used this command?
Is this a valid approach to testing out an SPI peripheral?
One nit... why is it called 'sspi' instead of just 'spi'?
Ed
Ed
We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow to resolved the
issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.
Thanks,
Yixing
Yixing,
Apparently nobody uses this command, so I guess you can close it.
It has not been answered/resolved.
Ed