I use MCBTR9 Board, the serial interface works in the ordinary system, but if the system is integrated with task(RTX), then it does not work. could you please advise me, what i do.
why do you think Ms. embedded likes me so much ;-) where are you girl!
Whoops - Tamir is a faster typist than me!
Have you tried the 'U' test by continuously transmitting a 'U' and scoping for a correct waveform?
When I did the same thing as you, it gave me the opportunity to better understand the clock options in STR912. There are a lot of setting that need to be right. I found I was transitting 'U' but at the wrong speed!
I found that the simulator was particularly good for this to check the baud and other values.
* verify connection settings (baudrate, stop bits...) * test TX line with scope to verify no signal * can you run your application in the simulator?
yes i initialized the UART0.
I suppose your example code for the UART of the MCBSTR9 works. have you remembered to initialize your UART before any task attempts to use it?
View all questions in Keil forum