MAX14830 chip communication stop after some time

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAX14830 chip communication stop after some time

999 Views
surendradhobale
Contributor III

Hello,

   I am using the ix6ul based custom board, We have connected max14830 chip on the SPI bus. Kernel we are using is 4.9. We observed that communication is stoped after some time. On MAX14830 expander, able to read revision id of the chip.and able to open the ports (/dev/ttyMAX0, /dev/ttyMAX1)

I am doing the loopback test, reception of the data getting correctly. But after some time ( say 3 -4 min) ports becomes hang or communiaction stops. If we exit from the port and restart the same port again,then no communication happend.

After reboot of the board and communication happens but for littel time.

Added some prints, at the stopped condition , interrupt pin goes high. and unable to exceute the isr of max310x. SPI clk or MISO, MOSI activity stops.

SPI bus is running on 5MHz. Is there any timing related issue. We have read the status register on SPI bus it always same in working and non working state.

Doesnot understand the problem ?

 

what could be the problem in such issue of stop communication after some time.

Labels (2)
0 Kudos
Reply
1 Reply

718 Views
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

one can try to narrow down issue by using ecspi without sdma and with

minimal linux configuration. After hanging check CCM_CCGR1 register

if ecspi clocks are enabled, try with kernel boot parameter enable_wait_mode=off.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------