This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
近期我在写显示屏ocmj4x8c的驱动,用串行模式,通过28069的SPI输入数据。sdata表示我要传入的数据,奇怪的是,在主循环里,我写spi_xmit(sdata)时,在spi数据管教上无输出,但当我在主循环里对sdata做改变时,比如sdata++,此时数据管教就有输出了。求各位大神指教!
你好,我现在对spi的数据传输有了一些疑问,28069的spi能指定传输的字长,但是buffer寄存器都是16位的,如果我指定字长为8位,想要发送0xF8(只想发送这8位),我应该往buffer寄存器里输入什么数据呢?是0xF800?望解答!