Skip to main content
DJadc.1
Associate II
October 16, 2020
Question

How to send data by UART to view in TouchGFX?

  • October 16, 2020
  • 1 reply
  • 956 views

Hi

I was trying make it like him https://www.youtube.com/watch?v=bCppZf8FKYg&t=1933s&ab_channel=EEbyKarl

but he did it with FreeRTOS CMSIS_V1 and for this reason problems may arise because I'm working with FreeRTOS CMSIS_V2 and i don't know how to make it

Here is my code:

https://gist.github.com/jadczakoff/f301471e794c3c0d75a4bc62cdcf736e

I'm working on STM32F469I-DISCO

Yea i know bad name for a class ,,TestSpi" because in the beginning i wanted to send something via SPI

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
October 23, 2020

Here's the difference between V1 and V2 in terms of putting in and getting things from a queue. The code to create and start tasks can be generated through CubeMX.

V2:

osStatus_t osMessageQueuePut (osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint32_t timeout)
osStatus_t osMessageQueueGet (osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t timeout)

V1:

osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec)
osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec)