Articles

AZURE-RTOS ThreadX in the STM32Cube ecosystem

Image
  ThreadX 1.Blink Led :  step 0 : Prepare project for CubeMX and CubeIDE step1  :blink led 1.Create first thread  :  step2 : Add ThreadX in CubeMX In CubeMX Tab: Software packs Select components Open X-Cube-Azure-H7 Opne RTOS :  Select ThreadX / Core Click OK Step3 : Add ThreadX into CubeIDE project  Configure ThreadX mode Select software packs Select X-Cube-Azure-H7 RTOS ThreadX Save project CTRL+S(this will generate ThreadX files to our project) Selection of TimeBase : TIM6 If  HAL library  don’t have separated  time source the compilation will fail because both libraries want to use SysTick_Handler interrupt . ThreadX basic : ThreadX is called from main.c over  MX_AZURE_RTOS_Init  function. Inside is a call to  tx_kernel_enter  which will initialize ThreadX and start it. Before ThreadX is started. The  tx_application_define  is called where used can allocate his memory, create tasks and other items from T...

Azure RTOS with Stm32

Image
Introduction to Azure RTOS with Stm32 1.The STM32 middleware : The STM32 middleware solution is constructed around Microsoft   Azure   RTOS MW and other in-house (ST USB, OpenBL) and open source stacks (FreeRTOS, FatFS, LwIP, mbedTLS, LibJPEG). All are integrated and customized for STM32 MCU devices and enriched with corresponding application examples based on STM32 evaluation boards. 2.Microsoft Azure RTOS : Azure RTOS is a professional grade, highly reliable and market proven middleware suite: Integrated and full featured RTOS.  Industrial grade networking stack: optimized for performance coming with many IoT protocols.  Advanced Flash file system (FS) / Flash translation layer (FTL): fully featured to support NAND/NOR Flash memories. USB Host and Device stacks coming with many classes. Safety pre-certifications (from MSFT): IEC 61508 SIL4, IEC 62304 Class C and ISO 26262 ASIL D Security pre-certifications (from MSFT): EAL4+ for TLS/DTLS, FIPS 140-2 for softwa...

Internship Within Actia Engineering Service

Image
Nx MQTT Client application   Submitted by :                                    Under the guidance and supervision of:   Roukaya Belkacem                               Mehdi Hanzouti  Intership Duration: 01th of JULY to 31th AUGUST 2022                      ***************************************************************  1/  Introduction   Introduction to Azure RTOS with Stm32 link :   https://azurertosactia.blogspot.com/2022/10/azure-rtos-with-stm32.html                                         2/  Implementation :    Step 1: Create first thread  link :  https://azurertosactia.blogspot.com/...