2019-03-08 03:53 AM
I want to send data using UART, I've configured everything but I don't get any data output unfortunately.
My question is whether this can be because of the fact that I am doing nothing with xTaskCreate? When should xTaskCreate be used and should I use it in my case?
2019-03-14 02:22 AM
I think I have to write it into the Model::tick function, right?
2019-03-14 04:50 AM
If you just want something basic working, then yes you can use Model::tick(), but anything you do here is a part of your RENDER TIME for each frame. This is where a different task and an message queue comes into play-
2019-03-14 06:37 AM
I think I almost got it, I have problems with NVIC priority and NVIC Enable, if I use it, I get rubbish out of the UART and screen doesn't show up, if I don't use it, the screen shows up but nothing comes out of the UART.
2019-03-18 02:37 AM
Almost got it ! The task gets stuck after the following line:
HAL_NVIC_EnableIRQ(UART5_IRQn);
Why is that?
2019-03-18 04:10 AM
Update: I get '255' out when I transmit the message in DMA mode when using xTaskCreate. Without using xTaskCreate so when calling a function transmits the message fine (although screen doesn't show up).
2019-03-18 05:16 AM
I got it working ! :) Thanx for all the help !
2019-03-18 05:30 AM
That's great to hear! :)