Skip to content

Commit 0e504da

Browse files
thinkbergtheotherjimmy
authored andcommitted
fix uart settings
1 parent b1a5325 commit 0e504da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/peripheral_clock_defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/* Array for LPUART module clocks */
3737
#define LPUART_CLOCK_FREQS \
3838
{ \
39-
kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk \
39+
kCLOCK_PllFllSelClk, kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk, kCLOCK_Osc0ErClk \
4040
}
4141

4242
/* Array for I2C module clocks */

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/serial_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void serial_init(serial_t *obj, PinName tx, PinName rx)
4848
MBED_ASSERT((int)obj->index != NC);
4949

5050
/* Set the LPUART clock source */
51-
CLOCK_SetLpuartClock(2U);
51+
CLOCK_SetLpuartClock(1U);
5252

5353
lpuart_config_t config;
5454
LPUART_GetDefaultConfig(&config);

0 commit comments

Comments
 (0)