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


Usart Character match interrupt

Hello,
I’m going to use the “Character match interrupt” to identify the end (\n) of the message received from an USART. (on an STM32L4 Series ).
Since I am quite new to this world, I did various tests, but I could not make it work.
Could someone tell me the necessary steps to use this interrupt, starting from the code generated by CUBEMX.
I want the USART receives in an oversized buffer, and when it receives the character ‘\n’ is called an interrupt routine in which I read the contents of the buffer, and so on in an infinite loop.

someone can help me?
thanks in advance