2016-02-09 06:29 AM
I am using AC6 for my development on the L0 series.
After updating to Version 4.13.0 of cube my exported project is no longer identified as CDT Project and refuses to compile :\ Any quick and dirty hack allowing me to recompile my Project? I am also defining the receive timeout function for usart 2. the current defines do let me to identify receive timeout interrupts on the L0. a missing define - but i am able to clear the Interrupt. thanks2016-02-09 08:10 AM
Hi bouwens.robert,
To clearly understand your issue, I have some questions:1- is it faced with a new created project or you tried to generate new one based on an old .ioc file?2- what do you get as compilation error?3- could you please provide more details on the USART issue?-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2016-02-09 09:08 AM
the L0 usarts1 and 2 do support modbus.
when enabling the receive timeout Interrupt, it is not possible to detect the appropriate Interrupt. but with the defines it is possible to clear the Interrupt: if (!interrupt_processed) { __HAL_UART_CLEAR_IT(huart, USART_ISR_RTOF); HAL_UART_PacketCpltCallback(huart); } the interrupt_processed is some Magic in: void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) { int interrupt_processed = 0; ... before migrating to cubemx4.13 i had the following Project path: D:\stm\project files\lpuart-lptimer-l053r8\SW4STM32\lpuart-lptimer-l053r8 Configuration after migrating i found the Project here: D:\stm\project files\lpuart-lptimer-l053r8\SW4STM32\lpuart-lptimer-l053r8 and in the old Directory the eclipse Project files had the ending ''.backup''. bummer ... and within the new project the usart support disapeared. but it is still declared within the cubemx Project definition.2016-02-10 01:58 AM
i re-created the Project from scratch and it works fine.
the Migration process creates a mess.2016-02-26 05:34 AM
still no solution to detect timeout Interrupts?!?