[Solved] Atmel Studio 6.0 SP2, Arduino Due/X ASF DACC example

Hi,
I have the same problem with receiving characters via programming port. To solve the problem, did you just put the code (mentioned below) for this to work or is it also required to use the pull-up resistors along with the macros (also mentioned below)? Besides, does this solution still requires the use of the 5V power connector?

Thanks in advance :slight_smile:

/* ------------------------------------------------------------------------ */
/* UART                                                                     */
/* ------------------------------------------------------------------------ */
/*! UART pins (UTXD0 and URXD0) definitions, PA8,9. (labeled RX0->0 and TX0->1)*/
#define PINS_UART        (PIO_PA8A_URXD | PIO_PA9A_UTXD)
#define PINS_UART_FLAGS  (PIO_PERIPH_A | PIO_PULLUP)

#define PINS_UART_MASK (PIO_PA8A_URXD | PIO_PA9A_UTXD)
#define PINS_UART_PIO  PIOA
#define PINS_UART_ID   ID_PIOA
#define PINS_UART_TYPE PIO_PERIPH_A
#define PINS_UART_ATTR PIO_PULLUP