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

Printf ( UART ) causing TWI not to work

Hi all,

I had a working TWI connection combined with BLE advertising. When I added uart code for printing to putty this TWI connection was no longer functional.

So I deleted the added UART code and discovered the TWI connection stopped working as soon as I open a serial connection in putty( 38400 baud, COM7). Even when nothing in my code even metioned uart connection using usb. When I unplug my usb connection to my nRF51 DK and reconnect ( and thus disabling putty ) TWI starts working again.

My guess is it has something to do with priorities?

Kind regards,

Nils

Related