AnsweredAssumed Answered

[FreeRTOS] [STM32F429-DISCO] Observing task priority via GPIO & oscilloscope

Question asked by wilms.fabian_alexand on Jan 8, 2016
Latest reply on Jan 8, 2016 by wilms.fabian_alexand
Hi,

in a realtime programming lab we observed the task priorities via GPIO and an oscilloscope. We used a stm32f4xg-eval board, and I want to replicate this on a stm32f429-disco board.

This code was used:
     // initialize PORT I as output for CPU watch 
     GPIO_InitTypeDef GPIO_InitStructure; 
 
     __HAL_RCC_GPIOI_CLK_ENABLE(); 
 
     /* Configure Port 'I' 4567 for poor man's DAC */ 
     GPIO_InitStructure.Pin = 0xf0; 
     GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP; 
     GPIO_InitStructure.Pull = GPIO_NOPULL; 
     GPIO_InitStructure.Speed = GPIO_SPEED_FAST; 
     HAL_GPIO_Init(GPIOI, &GPIO_InitStructure); 
 
     __HAL_RCC_GPIOE_CLK_ENABLE();
I'm not sure if FreeRTOS has to be configured to expose this info via GPIO and the f429 manual didn't relly help me.
Has anybody done something similar and/or can point me in the right direction.

Thanks

Outcomes