IMX8mm SPI issue with XR20M1172 spi to dual uart

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8mm SPI issue with XR20M1172 spi to dual uart

5,656 次查看
Himanishu
Contributor I

I am using IMX8MM processor and connecting SPI to dual UART XR20M1172 over spi2 but I am getting error.

Device tree entry :

xr20m1172: xr20m1172@0 {
            compatible = "exar,xr20m1172";
            reg = <0>;
            clock-frequency = <14745600>;
            interrupt-parent = <&gpio>;
            interrupts = <&gpio 6 IRQ_TYPE_EDGE_FALLING>;
            gpio-controller;
        };
 

 

Getting below logs from console 

root@lec-imx8mm:~# dmesg | grep spi
[ 2.856874] spi_drv_probe+0x4c/0xe4
[ 2.925573] spi_add_device+0xf4/0x1f0
[ 2.929322] of_register_spi_device+0x20c/0x39c
[ 2.933853] spi_register_controller+0x5f0/0x8d0
[ 2.938471] spi_bitbang_start+0x4c/0x80
[ 2.942396] spi_imx_probe+0x420/0x6a0

I have attached the complete dmesg file for reference 

 

0 项奖励
回复
4 回复数

5,628 次查看
joanxie
NXP TechSupport
NXP TechSupport

what error do you get? could you get any signal from your device? and pls tell me your bsp version and send to me your entire dts file

0 项奖励
回复

5,617 次查看
Himanishu
Contributor I

Linux kernel version 5.10.72

I have attached the XR20M1172 driver file, device tree file and dmesg file for reference.

on chip select pin continuous 3.3 voltage observing and no node created in /dev/

 

0 项奖励
回复

5,476 次查看
Himanishu
Contributor I

@joanxie Did you get a chance to see the above details 

0 项奖励
回复

5,456 次查看
joanxie
NXP TechSupport
NXP TechSupport

refer to the logfile, I don't find any error message about SPI

0 项奖励
回复