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


UART printf example is not working on STM32F779Eval Board

Hi,

I am using UART example provided in STM32Cube_FW_F7_V1.8.0 folder. I am using minicom (tried putty also) as serial console to print the data. I have made the hardware setup and requirements as mentioned in Readme file.

The USART is configured as follows:
- BaudRate = 9600 baud
- Word Length = 8 Bits (7 data bit + 1 parity bit)
- One Stop Bit
- Odd parity
- Hardware flow control disabled (RTS and CTS signals)
- Reception and transmission are enabled in the time

STM32F769I-EVAL Set-up
Connect a null-modem female/female RS232 cable between the DB9 connector
CN7 (USART1) and PC serial port if you want to display data on the HyperTerminal.
jumper’s are set to JP11 is on RS232_RX position, and jumper JP21 is on USART1_RX position .

But still UART console is not printing the message. What could be the issue?

Thanks in Advance,
Chethan

If you include parity (1 parity ), I think you have to make the data bits 9.

I tried setting data to 9 bits. It is not working. In readme they have mentioned that data should be 7 bit + 1 parity bit.
/*##-1- Configure the UART peripheral ######################################*/
/* Put the USART peripheral in the Asynchronous mode (UART Mode) */
/* UART configured as follows:
- Word Length = 8 Bits (7 data bit + 1 parity bit) :
BE CAREFUL : Program 7 data bits + 1 parity bit in PC HyperTerminal
- Stop Bit = One Stop bit
- Parity = ODD parity
- BaudRate = 9600 baud
- Hardware flow control disabled (RTS and CTS signals) */

But still no luck with this.


After changing USB - RS232 cable junk data is getting printed on console. I tried with different baud rate but still not able to see what i am trying to print on console. Please help to resolve this issue.

Thanks in Advance,
CK


I tried interfacing HC05 with STM32F446RE using UART1. I used command mode programming to configure AT Commands for HC05 with baud rate 38400. While receiving the response for AT Commands, only first byte is received in UART buffer. Instead of receiving ‘OK’, I receive response as ‘O’ and rest is not received. Please help me to resolve this issue.

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs