mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 09:45:55 +08:00
SAMA5D4: USART peripheral clock appears to be MCK/2
This commit is contained in:
@@ -149,10 +149,10 @@
|
||||
# undef HAVE_UART_CONSOLE
|
||||
#endif
|
||||
|
||||
/* The UART/USART modules are driven by the main clock (MCK). */
|
||||
/* The UART/USART modules are driven by the peripheral clock (MCK or MCK2). */
|
||||
|
||||
#define SAM_USART_CLOCK BOARD_MCK_FREQUENCY /* Frequency of the main clock */
|
||||
#define SAM_MR_USCLKS UART_MR_USCLKS_MCK /* Source = Main clock */
|
||||
#define SAM_USART_CLOCK BOARD_USART_FREQUENCY /* Frequency of the USART clock */
|
||||
#define SAM_MR_USCLKS UART_MR_USCLKS_MCK /* Source = Main clock */
|
||||
|
||||
/* Select USART parameters for the selected console */
|
||||
|
||||
|
||||
@@ -382,10 +382,10 @@
|
||||
# define USART4_ASSIGNED 1
|
||||
#endif
|
||||
|
||||
/* The UART/USART modules are driven by the main clock (MCK). */
|
||||
/* The UART/USART modules are driven by the peripheral clock (MCK or MCK2). */
|
||||
|
||||
#define SAM_USART_CLOCK BOARD_MCK_FREQUENCY /* Frequency of the main clock */
|
||||
#define SAM_MR_USCLKS UART_MR_USCLKS_MCK /* Source = Main clock */
|
||||
#define SAM_USART_CLOCK BOARD_USART_FREQUENCY /* Frequency of the USART clock */
|
||||
#define SAM_MR_USCLKS UART_MR_USCLKS_MCK /* Source = Main clock */
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
|
||||
Reference in New Issue
Block a user