Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Transmitting variables by UART

Hi,
How are you guys?
I’m new stm32f103 and I want to send some variables by UART.
I could send constant numbers by CubeMX and AC6, but at the first I can’t use printf,sprinf,...
How can I send variables ???
Thank you...

Are you working with a development kit?
Also, have you initialized the UART port?

Hi
Thanks for your answer...
we don’t use development kit, but we are using a header board which is made by ourselves.
and we initialized UART port and successfully transmit constant numbers and words.


Sound like you need to figure out printf (see “printf through uart” thread first off)
Other than that you dont need printf to print characters to the uart of course..

Hi
thanks for your answer.
We used ” printf through UART” but it couldn’t help us.
and How can we transmit variables by UART without printf?