2016-11-13 07:00 AM
Hello,
I created a project using CubeMX and I want to send messages via UART. I used a HAL_DAC_Start_DMA function. My problem is that when I'm sending some messages only 20 first characters are sent but after I send some another messages those wrong ones works fine. Also I noticed that only for optimalization level: Optimize for size UART transmission works.2016-11-13 07:11 AM
Do you think your presentation is adequate to understand what your code is doing?
2016-11-13 07:24 AM
For example:
I'm sending to uC command SET_FREQ 100\r and uC should send message OK FREQ SET TO 100Hz\r\n but i receive only OK FREQ SET TO 100. But then I send to uC command SET_SIGNAL SINE\r and uC send message OK SIGNAL SET TO SINE\r\n as it should. And then I send command SET_FREQ 100\r and uC send full messege OK FREQ SET TO 100Hz\r\n.