IMX8MP ECSPI3 dts file

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

IMX8MP ECSPI3 dts file

ソリューションへジャンプ
3,245件の閲覧回数
kartheek
Contributor III

Hi,

I have enabled ecspi3 on board. I have spi node. It is always high even when transmitting data. Can any one please verify my dts code for ecspi3 along with the mux values.

Thanks & Regards,

Kartheek

0 件の賞賛
返信
1 解決策
2,945件の閲覧回数
kartheek
Contributor III

Hi @Chavira,

Now ECSPI3 is working. We have connected wrong pins for MOSI, SCLK previously.

Now made the connections correctly.

Thanks for your valuable support.

Thanks & Regards,

Kartheek

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
3,221件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

HI @kartheek!

Thank you for contacting NXP Support!

 

Your device tree looks good, but I need to check the entire device tree.

 

Can you share the entire device tree file?

What board and BSP are you using?

What commands are you using to transmit data?

Can you share the wave forms of the SPI bus?

In our EVk boards we use the pad UART2_TXD for debug console, what pads are you using for your console?

 

Best Regards!

Chavira

 

0 件の賞賛
返信
3,044件の閲覧回数
kartheek
Contributor III

Hi @Chavira 

Thanks for your reply.

1. In imx8mp-hummingboard-pulse.dts & imx8mp-hummingboard-pulse.dtsi enabled  ECSPI3.

In imx8mp-sr-som.dtsi used UART4_TXD for debug console.

2. Used Humming board pulse board. 

Didn't get BSP term. Can you  give example of it?

3.  Commands used to transmit data.

$ spidev_test  -D  /dev/spidev2.0  -p "\0x01\0x43\0X9F\0x00\0x00\0x00\0x00\"

No waveforms are visible while transmitting data.

 

Thanks & Regards,

Kartheek

0 件の賞賛
返信
3,002件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @kartheek!

I have tried with our iMX8MP-EVK board and is working good.

 

I attached the device tree that I recommend to use.

 

The command that I use is the next:

 spidev_test  -D  /dev/spidev2.0  -p "\0x01\0x43\0X9F\0x00\0x00\0x00\0x00"

 

I am using the BSP 6.6.3

 

The BSP (board support package ) in other terms is the kernel version that you are using.

 

Best Regards!

Chavira

0 件の賞賛
返信
2,984件の閲覧回数
kartheek
Contributor III

Hi @Chavira ,

I have used the same dts provided. I am getting CS signal. But MOSI, SCLK signals are showing low. Is it recommended to have pull up resistors on MOSI and SCLK? Please confirm this.

Thanks & Regards,

Kartheek

0 件の賞賛
返信
2,946件の閲覧回数
kartheek
Contributor III

Hi @Chavira,

Now ECSPI3 is working. We have connected wrong pins for MOSI, SCLK previously.

Now made the connections correctly.

Thanks for your valuable support.

Thanks & Regards,

Kartheek

0 件の賞賛
返信