STM32VL Discovery serial problem
Posted: Wed May 15, 2013 2:31 pm
Hello,
I'm using the STM32VL Discovery for a school project.
We want to run chibios on this board. We chose the stable version 2.4.3. To test if it works and to make debugging easy we want to use the UART/SERIAL driver to put some feedback data on the terminal on our pc.
Now the problem is, there is no correct data showing up.
The serial driver is started as follows:
If i'm correct the settings are 38400 - 8 - N - 1 by default.
Then, to test if the serial driver works, the following code is used:
or
There is no character 't' printed at the display neither the text 'test'.
even the STM32VL Discovery demo doesn't work properly. When the test is started after reset, there is only garbage on the terminal window.
Are we doing something wrong? Or maybe the clock frequency isn't correct.
Stellaris
I'm using the STM32VL Discovery for a school project.
We want to run chibios on this board. We chose the stable version 2.4.3. To test if it works and to make debugging easy we want to use the UART/SERIAL driver to put some feedback data on the terminal on our pc.
Now the problem is, there is no correct data showing up.
The serial driver is started as follows:
Code: Select all
sdStart(&SD1, NULL);If i'm correct the settings are 38400 - 8 - N - 1 by default.
Then, to test if the serial driver works, the following code is used:
Code: Select all
sdPut(&SD1, "t");or
Code: Select all
chprintf((BaseChannel*)&SD2, "test");There is no character 't' printed at the display neither the text 'test'.
even the STM32VL Discovery demo doesn't work properly. When the test is started after reset, there is only garbage on the terminal window.
Are we doing something wrong? Or maybe the clock frequency isn't correct.
Stellaris