Search found 137 matches

by Alan_37
Tue Jan 23, 2024 10:44 am
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3323

Re: STM32F401 UART

If you need to test something on my setup just let me know .

Regards

Alan
by Alan_37
Mon Jan 22, 2024 10:26 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3323

Re: STM32F401 UART

Hi LeighM , I might have found something to help you solve the Mistry or at least point you in the right direction . when the UART fail and the Interrupt is not being triggered any more the following C code will bring it back to life it will fail again and again but this line always fixes it for a f...
by Alan_37
Mon Jan 22, 2024 2:27 pm
Forum: General
Topic: STM32F401 UART
Replies: 28
Views: 3323

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: 3323

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: 3323

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: 3323

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: 3323

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: 3323

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: 3323

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: 3323

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 ...