to send the c character. I'm not sure if this init code is right, because i'm new of STM world, and i would like some advice. Moreover, i tried to scope the TX pin and i saw only a constant 3.3voltage. I mean.. is this correct?
apb1 for usart2 and apb2 for gpiod and afio were enabled. The problem was that i'm a douche :D, because i tried to scope the output with a simple tester, not considering that with 9600bps i could not see anything different than 3.3V;
Now another question if you don't mind: i would like to connect the comstick to a gsm module via uart. Electrical features of the module require CMOS 2.8V, and i read on stm32f107 datasheet that gpio are compliant with TTL and CMOS. So electrically i think that they can be connected directly without any serial level converter. So i did... but it does not work. Consider that the gsm module ha autorate, so i exclude problems about rating, stopbit, parity, etc..
Have you any ideas of what could be the problem? Thx in advantage