Skip to main content
AJadh.1777
Associate
November 28, 2019
Question

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.

  • November 28, 2019
  • 3 replies
  • 843 views

No assembly code is generated for UART initialize call function.

This topic has been closed for replies.

3 replies

Pavel A.
November 28, 2019

> 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
November 29, 2019

Yes. Its real.

Pavel A.
November 29, 2019

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)?