how to turn UART off

CCP1CON
Posts: 10
Joined: Fri Oct 23, 2015 4:18 am

how to turn UART off

Postby CCP1CON » Sun Dec 27, 2015 5:47 pm

Hello all,

during boot and wifi connetion UART0 outputs some messages I dont wanna see.
But I cannot find a way to turn it off.
Is there a UART enable bit? Or can I set UART_CLKDIV to zero?

thanks Carsten

CCP1CON
Posts: 10
Joined: Fri Oct 23, 2015 4:18 am

Re: how to turn UART off

Postby CCP1CON » Mon Dec 28, 2015 6:12 pm

I found this in the datasheet:

If the printed information [on UART0] exerts any influence on the functionality of your device [yes it disturbs my communication protocol], you’d better block the printing during the power-on period by changing (U0TXD,U0RXD) to (MTDO,MTCK).


But dont see how to do that.
Any hint is welcome.

Thanks

CCP1CON
Posts: 10
Joined: Fri Oct 23, 2015 4:18 am

Re: how to turn UART off

Postby CCP1CON » Tue Dec 29, 2015 3:08 am

found this too: :D

system_uart_swap();
system_uart_de_swap();

Who is online

Users browsing this forum: No registered users and 19 guests