Search found 125 matches

by Alan_37
Mon Jan 22, 2024 2:27 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hi ,

Just Tested now same problem still

I have edit the file when flowcode was closed .

shall I put the value back to 1 ?
by Alan_37
Sun Jan 21, 2024 11:08 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hi again , So I was able to replicate the problem with the program sent to me by LeighM I have modified a bit the program and also recorded a small video you can watch on the following URL https://www.canva.com/design/DAF6jlIzm3k/JYMeIvcrjxrwb22lqh1sLw/watch?utm_content=DAF6jlIzm3k&utm_campaign=shar...
by Alan_37
Sun Jan 21, 2024 7:53 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hi , I lost data not because of the CB , but cos of the workarounds i had to implement to reduce the Uart stop functioning , i had to disable uart INT when the other is operating . with the following c codes . __HAL_UART_DISABLE_IT(&MX_UART_NUMBER_1, UART_IT_RXNE); __HAL_UART_ENABLE_IT(&MX_UART_NUMB...
by Alan_37
Sun Jan 21, 2024 6:23 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hi , The project is 4 months of work and it got pretty big and complicated My main problem with it is that the uarts stop responding if operated at the same time so i had to implement a lot of workarounds like disable Uart1 interrupt when Uart 2 is receiving or transmitting and Vis versa . but now I...
by Alan_37
Sun Jan 21, 2024 1:05 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hi Leigh , Thanks for you replay , this is exactly what I have in my project with the only difference that I use an array of bytes Variable to store data , Cos circular buffer deletes the data when I read from it the first time. Uart_1 is receiving data every 500ms on a baud rate of 1200 this leaves...
by Alan_37
Sat Jan 20, 2024 8:27 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hello Again , So is the same thing on V10 and interrupt in software mode also will not trigger . But was thinking that the problem might be that the project I am building is using both Uarts and the MCU has only 1 core so something is going wrong when for example the 2 Uarts trigger the Interrupt at...
by Alan_37
Thu Jan 18, 2024 5:02 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

OK

I have upgraded to V10 just now will see :)
by Alan_37
Wed Jan 17, 2024 10:14 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

Hi Steve , Thanks for your reply , It's been a wile since V9 get any updates or fixes so I presume that the resources are concentrated on V10 only . if that's the case will end up upgrading again anyways :) I don't think that a 1 time compile will do much for me , I have V10 already installed on my ...
by Alan_37
Wed Jan 17, 2024 4:24 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

Re: STM32F401 UART

hello again ,

Are these problems fixed in V10 ? cos I was considering to upgrade
by Alan_37
Tue Jan 16, 2024 6:37 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3137

STM32F401 UART

Hi , I am working with Flowcode V9 Target STM32f401 and i have this problem where sometimes UART stops responding and only an MCU restart can bring it back . After some investigation I found out that this happens if i try to transmit data and at the same time Data is recived . So to investigate furt...