SC16IS762 problem

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

SC16IS762 problem

624 Views
wangliang
Contributor I

Hello :

I am using sc16is762 .

I use a serial tool send 90 bytes one time.

It happend sometimes that   the data read from spi  RHR register do not update.

The fifo rx level  read  rxlen = sc16is7xx_port_read(port, SC16IS7XX_RXLVL_REG);

it is 0x40 ,show that the fifo is full.

But I use  this function to read the fifo

  regmap_raw_read(s->regmap, SC16IS7XX_RHR_REG,  s->buf, rxlen);

But the fifo still the same ,it do not update again.but I only send 90 bytes.

If I read the fifo ,the fifo should cleared,It seems that the chip is halt .

Does anyone know how to fix it ?

wangl

0 Kudos
Reply
0 Replies