Anyone used the sspi command in a recent version of uboot?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Anyone used the sspi command in a recent version of uboot?

1,810件の閲覧回数
EdSutter
Senior Contributor II

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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

784件の閲覧回数
YixingKong
Senior Contributor IV

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

0 件の賞賛
返信

784件の閲覧回数
EdSutter
Senior Contributor II

Yixing,

Apparently nobody uses this command, so I guess you can close it.

It has not been answered/resolved.

Ed

0 件の賞賛
返信