SAMA5D4: USART peripheral clock appears to be MCK/2

This commit is contained in:
Gregory Nutt 2014-06-20 11:40:36 -06:00
parent b31f34cf94
commit aecddf9b52
2 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -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