AnsweredAssumed Answered

MX6Q SPI SLAVE MODIFY

Question asked by piter zheng on Nov 19, 2014

HI!

I use MX6Q sabreauto version, the kernel using Linux - 3.0.35.I have SPI1 / SPI2 / SPI5, now I'm going to do with SPI2 MASTER, other SLAVE.

I was according to the attachment "SPI_SLAVE.7z.zip" to modify

My configuration is as follows:

CONFIG_IMX6_SDP_MISCSPI=y

CONFIG_SPI_IMX_VER_2_3=y

#CONFIG_SPI_IMX_VER_2_3_SLAVE is not set

This is correct?

AND I use MCU connect the board.how do i test?

The MCU is in the attachment “USB2uis转接板用户手册(多功能版)R30.pdf

Wire connection way:

MISO - MISO,

MOSI MOSI -- -

SS - SS

CLK - CLK

GND - GND

Data is read 0 XFF.

Wire connection way:

MISO MOSI -- -

MOSI MISO -- -

SS - SS

CLK - CLK

GND - GND

Data is read 0 x00.

Can you help me?I need your help very much.Thank you

Original Attachment has been moved to: SPI_SLAVE.7z.zip

Outcomes