Hi all,I have a question regarding the control of the UART interrupt on the STM32F4.First let me describe the application:int main(void)
{
SystemInit();
//Stream out Data via Uart via DMA
HAL_UART_Transmit_DMA(&huart2, (uint8_t *)UARTMessage_out,...
Hi all,I have a question concerning the duration of float multiplication on the STM32F4. As far as I know, the chip has an FPU.I run the following code snippetfloat LagCompensator_process(LagCompensator_instance* S, float input)
{
S->x2 = input;
...
Ok I found the solution for this problem.I use the macros: __HAL_UART_ENABLE_IT(&huart2,UART_IT_TC);and the __HAL_UART_DISABLE_IT(&huart2,UART_IT_TC);Here the arg UART_IT_TC: Transmission complete interrupt.It works in this context. I dont know ho...
Ok. It is at least nice to know that you would expect faster runtimes normally. So I will play around a bit and try to increase the performance.Thank you very much for your help Jan!
Another question regarding the runtime of functions. Maybe this is normal. But is there any way to speed it up?The function call itself costs 200ns when setting the pin on/off like thisvoid Filtering_function(float input)
{
S->input=input; ...