streetHawkk
Newbie level 5
Hi,
I am using the AVR32 microcontroller ev k1100 board and i need to use both the Timer control (TC) and the usart0, however the example shown can use only the usart1. In the conf_clock.h i tried to enable the peripheral clock for both but still the usart 0 is not working.
// ===== Peripheral Clock Management Options-> Enable USART1 for trace messages
#define CONFIG_SYSCLK_INIT_PBAMASK ((1 << SYSCLK_USART1)|(1 << SYSCLK_USART0))
Could anyone please suggest me how to enable the usart0 along with the TC. Any sample working code will be very useful to me.
I am using the AVR32 microcontroller ev k1100 board and i need to use both the Timer control (TC) and the usart0, however the example shown can use only the usart1. In the conf_clock.h i tried to enable the peripheral clock for both but still the usart 0 is not working.
// ===== Peripheral Clock Management Options-> Enable USART1 for trace messages
#define CONFIG_SYSCLK_INIT_PBAMASK ((1 << SYSCLK_USART1)|(1 << SYSCLK_USART0))
Could anyone please suggest me how to enable the usart0 along with the TC. Any sample working code will be very useful to me.