mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 09:06:00 +03:00
set main clock for using UART at 921600 bps
UART baud rate is main clock (MCK) divided by CR*16. The MCK values are chosen >= 48 MHz and <= 64 MHz to have a near integer value CR for a baud rate of 921600 bps. The end MCK frequency between simtrace and qmod differ slightly but are close to 58 MHz. Change-Id: Iaa4a97fc68494c93b9d128503515d88049de506c
This commit is contained in:
1 parent
e07640c35a
commit
e2b0f971e5
5 files changed
+31
-25
No files matched your search
@@ -53,8 +53,6 @@
|
||||
/** Core definition */
|
||||
#define cortexm3
|
||||
|
||||
#define BOARD_MCK 48000000
|
||||
|
||||
#define PIO_LED_RED PIO_PA17
|
||||
#define PIO_LED_GREEN PIO_PA18
|
||||
|
||||
|
||||
Reference in new issue
Block a user