Browse Source

MLK-16467 serial_lpuart: Fix FIFO_RXFE definition in LPUART driver

Accroding to RM, the Receive FIFO Enable (RXFE) field in LPUART FIFO register
is bit 3, so the definition should change to 0x08 not 0x40.
Otherwise the Receive FIFO is not disabled.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 6e798b31d3)
Ye Li 3 years ago
parent
commit
20c5ed6461
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      drivers/serial/serial_lpuart.c

+ 1
- 1
drivers/serial/serial_lpuart.c View File

@ -42,7 +42,7 @@
#define CTRL_RE (1 << 18)
#define FIFO_TXFE 0x80
#define FIFO_RXFE 0x40
#define FIFO_RXFE 0x08
#define WATER_TXWATER_OFF 1
#define WATER_RXWATER_OFF 16


Loading…
Cancel
Save