AnsweredAssumed Answered

ADSP-BF51x-UART example program in ee347  for  BF518

Question asked by minnu on Oct 19, 2011
Latest reply on Oct 19, 2011 by Andreas

I configured uart 0 for bf518 properly in code and hardware.

And changed bfdebugger.h as below.It is printing to console .What i need to change to print to uart.

 

#define __UART_IO_DEVICE__          1   /* Extend I/O support to a new device: Uart */
//#define __PRE_REGISTERING_DEVICE__  1   /* Pre-Register device: This replaces the PrimIO device for stdin, stdout & stderr */


/* multiple definitions at the same time will result in activation of only __DEBUG_UART__ without warning */
//#define __DEBUG_UART__              1   /* prints are directed to the UART, core mode */
#define __DEBUG_UART_DMA__          1   /* prints are directed to the UART,  dma mode */
//#define __DEBUG_FILE__              1   /* prints are directed to file DEBUG_FILE_NAME */
//#define __DEBUG_VDSP__              1   /* prints are directed to the VDSP console window (MUCH SLOWER!!!) */


// level of verbosity
#define __VERBOSITY__               2

Outcomes