This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to disable the UART Hardware Flow Control?

In the Example "ble_app_cts_c_s132_pca10040 " messages are send to the UART output, by default the UART Hardware Flow control is active. I would like to disable the Hardware Flow Control. In the File pca10040.h i find the define HWFC true, but if i search the project HWFC doesn't seem to be used. In the function "log_uart_init()" the Hardware Flowcontrol seems to be fixed to APP_UART_FLOW_CONTROL_ENABLED, I could change it there but then i am modifying the standard driver nrf_log.c

  • You are right. There is no support for configuring the UART in any way using the logging library. The library is experimental in it's current state, so this may change in the future. For now you have to modify the implementation in nrf_log.c, though I agree that this is not elegant. I have suggested internally that this should be improved.

Related