This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Logging over UART

Hi

I am working with the twi_scanner_pca10056 example found in the SDK. Using a oscilloscope I can detect the logging messages on pin P0.01, even though sdt_config.h defines

#ifndef UART_CONFIG_LOG_ENABLED
#define UART_CONFIG_LOG_ENABLED 0
#endif

However if I change the setting to (which I thought is necessary in order to direct debug messages to the UART)

#ifndef UART_CONFIG_LOG_ENABLED
#define UART_CONFIG_LOG_ENABLED 1
#endif

the application hangs when the first logging message is generated. Why?

Parents Reply Children
No Data
Related