cancel
Showing results for 
Search instead for 
Did you mean: 

I am using a microcontroller STM32F103C8T6. The code has been generated from STM32 CubeMx and exported to keil. I have enabled both the UARTs. While transmitting the frames, I could observe only 0x00 getting transmitted in both the ports.

AJadh.1777
Associate

No assembly code is generated for UART initialize call function.

3 REPLIES 3
Pavel A.
Evangelist III

> No assembly code is generated for UART initialize call function.

Really? Cube has generated C code, but it won't translate to any "assembly"?

--pa

AJadh.1777
Associate

Yes. Its real.

Is this C code in the generated stm32....hal_msp.c file? And in Keil, do you use the ARMCC compiler (v5) or gcc-like compiler (v6)?