AnsweredAssumed Answered

ECSPI1 on imx6q

Question asked by Cerveau stephane on Oct 2, 2013
Latest reply on Oct 4, 2013 by Cerveau stephane

Dear all,

 

I'm trying to activate cspi1 on gpio 4-6 and 4-7 for sabre sd.

So i had in my board file :

MX6Q_PAD_KEY_COL0__ECSPI1_SCLK,
MX6Q_PAD_KEY_ROW0__ECSPI1_MOSI,
MX6Q_PAD_KEY_ROW1__GPIO_4_9,

 

But after the boot my line MOSI is high, if i understand well it should be low. In addition to this when i ask for a spi_write i dont see any signal on either SCLK or MOSI.

The only thing working is the Chip select.

I have to precise that i initialize also CSPI3 in my code but i dont have a way to test it.

 

Please help me to understand how do i have to setup my spi1 lines.

Outcomes