I'm using UART1 ( P0.4 is TXD, P0.5 is RXD)
Initialization code is below
PERCFG = 0x00;
U1CSR = 0x80; // UART mode with idle status
U1GCR = 0x0B; // LSB first
U1BAUD = 0xD8; // BAUD 115,200
U1CSR |= 0x40; // Enable Receive
P2DIR |= PIN6; // Highest Priority for UART1 on Port0
P0SEL |= (PIN4 | PIN5); // Peripheral for RXD/TXD
Turning Off code is below
U1GCR = 0x00;
U1BAUD = 0x00;
U1CSR = 0x00;
P0DIR = 0x00;
P0SEL = 0x00;
PERCFG = 0x00;
U1UCR = 0x80;
When I'm using UART1, Current consumption is 3.5mA
and after turned-off UART1, Current consumption is 2.5mA in sleep mode(PM2)
I don't know why the UART1 is not turned-off perfectly.
UART0(SPI / Alt.2) is works fine. Current consumption is 70uA in sleep mode(PM2).
70uA is basic current consumption of my device.
What is the problem?