mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
SAMA5D4: USART peripheral clock appears to be MCK/2
This commit is contained in:
parent
b31f34cf94
commit
aecddf9b52
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue