We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I got a stm32f746 disco , I am running RTOS and have a gui Thread running. I am trying to send a string out Uart1 when a button is pressed on the GUI. The GUI is up and running, but when I try to send the data with button press all I am getting out is rubbish. The button press is calling a txData function which just transmits out a uint8_t buffer.
On startup when the UART is initialized I transmit out "Hello World" with the txData function to test the UART. This is working as I see "Hello Word" on hyperTherm that I am running when the board is initializing. But can't get it to work when being called from the GUI if anyone can help me on this thanks,
George.
Nowhere near enough detail to be able to answer this!
Have you used the debugger to see if the correct data is actually getting fed to the UART?
Have you checked carefully that nothing is reconfiguring the UART (or any clocks or other things which affect the UART) between the initial "Hello World" and button press?
Have you looked at the UART output with a logic analyser, scope, or similar to see what it's actually sending?