mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
A10: Serial clock is OSC24M. From Alan Carvalho de Assis
This commit is contained in:
parent
fc2ff5ad75
commit
e37c12e88c
2 changed files with 12 additions and 6 deletions
|
|
@ -150,10 +150,13 @@
|
|||
#define CONSOLE_FCR_VALUE (UART_FCR_RT_HALF | UART_FCR_XFIFOR |\
|
||||
UART_FCR_RFIFOR | UART_FCR_FIFOE)
|
||||
|
||||
/* SCLK is the UART input clock */
|
||||
/* SCLK is the UART input clock.
|
||||
*
|
||||
* Through experimentation, it has been found that the serial clock is
|
||||
* OSC24M
|
||||
*/
|
||||
|
||||
#define A1X_SCLK 0
|
||||
#warning What is the correct value of SCLK
|
||||
#define A1X_SCLK 24000000
|
||||
|
||||
/* The output baud rate is equal to the serial clock (SCLK) frequency divided
|
||||
* by sixteen times the value of the baud rate divisor, as follows:
|
||||
|
|
|
|||
|
|
@ -77,10 +77,13 @@
|
|||
|
||||
#if defined(USE_SERIALDRIVER) && defined(HAVE_UART_DEVICE)
|
||||
|
||||
/* SCLK is the UART input clock */
|
||||
/* SCLK is the UART input clock.
|
||||
*
|
||||
* Through experimentation, it has been found that the serial clock is
|
||||
* OSC24M
|
||||
*/
|
||||
|
||||
#define A1X_SCLK 0
|
||||
#warning What is the correct value of SCLK
|
||||
#define A1X_SCLK 24000000
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue