Hello
Precondition :
Old project: Imx7ulp,
New project : imx8 (working on imx8mm EVK)
I'm porting the same device used on the previous project (imx7ulp), on the imx8mm EVK board through SPI I/F.
Even though spi module is working fine with testing through Loopback, the IC chip is not working properly.
I figured out the difference the Clock signal pattern of SPI between old one (imx7ulp) and new board (imx8).
that is the the image attached.
There's a gap (about 1.5 period) between every 8 bits TX @ the previous board and chip. (this is working is fine)
@imx8mm EVK Board, there's no gap, the CLOCK signal changes with seamless. (I'm not sure this is a reason, but the PCB test with the previous board is OK)
How can I make the clk signal pattern of SPI like the image attached ?
here's set infomation of SPI @ imx8mm EVK Board.
/soc@0/bus@30000000/pinctrl@30330000/ecspi2cs
[ 1.365510] spi_imx 30830000.spi: registered master spi1
[ 1.365617] spi spi1.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz
[ 1.365625] spi spi1.0: setup mode 0, 8 bits/w, 500000 Hz max --> 0
[ 1.370396] /soc@0/bus@30800000/spi@30830000/spidev@0: buggy DT: spidev listed directly in DT
[ 1.378982] WARNING: CPU: 3 PID: 1 at drivers/spi/spidev.c:731 spidev_probe+0x170/0x238
format worked