I would like to disable UART0 and shift UART1 to P0.4 and P0.5 pins, to use DB9(RS232) port on the board.
I have done step by step topic from Chinese site, but have not success.
Could somebody help me with this trouble? Or give me a link to Configuration Wisard 2 tutorial with UART1 examle
Discussion Forums
8-bit MCUs
Answered
Answered
Hi Alexander,
There is a help menu inside the config2 program that gives an overview of how to use the tool. If you can give more specific information about the error I may be able to help you.
Also consider the configurator tool which is part of Simplicity Studio. This tool is newer and is better supported than config2.
Regards,
Joe
0
The new 'hardware configurator' tool may don't support C8051F340.
c8051F340 Uart1 & Configuration Wisard 2 - not working for me
I have follow this manual:
http://blog.sina.com.cn/s/blog_59d2dc8c0100abw2.html
I cannot find any other in English.
My board is C8051F340(12Mhz).
I would like to disable UART0 and shift UART1 to P0.4 and P0.5 pins, to use DB9(RS232) port on the board.
I have done step by step topic from Chinese site, but have not success.
Could somebody help me with this trouble? Or give me a link to Configuration Wisard 2 tutorial with UART1 examle
Hi Alexander,
There is a help menu inside the config2 program that gives an overview of how to use the tool. If you can give more specific information about the error I may be able to help you.
Also consider the configurator tool which is part of Simplicity Studio. This tool is newer and is better supported than config2.
Regards,
Joe
The new 'hardware configurator' tool may don't support C8051F340.
https://www.silabs.com/community/mcu/8-bit/knowledge-base.entry.html/2015/08/20/config_2_supportfor-ccMc
I do choose my board:
I am beginning from PortIO configuration:
port P0.4 (TX) set to push-pull and UART1 shift to P0.4 & P0.5
Oscillators:
and
next UART1
and Watchdog Timer
as a result a have next config for my UART1
add main
Hi,
maybe try Port init before Uart init ?
Do you see any activity on the pins if you view it with an oscilloscope?
Do you see any activity if, instead of using printf you write directly to the SBUF1 register?
Regards,
Joe
Disabling the watchdog timer within the main function may be too late, see: https://www.silabs.com/community/mcu/8-bit/knowledge-base.entry.html/2014/07/10/mcu_constantly_reset-2DbM