Search found 125 matches

by Alan_37
Sat Jan 13, 2024 10:48 pm
Forum: General
Topic: Hex To String
Replies: 2
Views: 618

Re: Hex To String

Hi Kersing

Yes it works Thanks very much for your quick reply
by Alan_37
Sat Jan 13, 2024 9:45 pm
Forum: General
Topic: Hex To String
Replies: 2
Views: 618

Hex To String

Hello ,

How do I convert an Array of hex Byte's to String Example :

HexArray = AA 1C 2D 5E 2F

I want the string to look like the following

String = AA,1C,2D,5E,2F


Anyone can help Please
by Alan_37
Wed Dec 06, 2023 12:33 am
Forum: Bug Reports
Topic: STM32F401 UART
Replies: 8
Views: 9151

Re: STM32F401 UART

Hello , have the last question

Regarding setting UART Parity

For the Even Parity to work UART properties -> Data bits has to be set to 9
so if I want to set the parity back to NO Parity , the data bits has to be set back to
8 , how can I do that within a C code block ?

Thanks
by Alan_37
Tue Dec 05, 2023 8:49 pm
Forum: Feature Requests
Topic: UART baud rate
Replies: 5
Views: 7115

Re: UART baud rate

Here is the code For changing the baud

Code: Select all

MX_UART_NUMBER_1.Init.BaudRate = 600;
Thanks to LeighM

regards
by Alan_37
Tue Dec 05, 2023 6:18 pm
Forum: Bug Reports
Topic: STM32F401 UART
Replies: 8
Views: 9151

Re: STM32F401 UART

You'r the best !

Thanks everyone for the quick help

Regards
by Alan_37
Tue Dec 05, 2023 3:50 pm
Forum: Bug Reports
Topic: STM32F401 UART
Replies: 8
Views: 9151

Re: STM32F401 UART

Hi, Yes ! that was the problem works perfectly now Thank you so much for your help. By any chance do you know what C code I have to use to change baud rate need to switch between 600 and 1200 . Also need to change Parity to even found the following code on the forum will it work ? HAL_UART_DeInit(&M...
by Alan_37
Tue Dec 05, 2023 10:21 am
Forum: Feature Requests
Topic: UART baud rate
Replies: 5
Views: 7115

Re: UART baud rate

Hi , Thanks for your reply

Yes that would be a good work around any idea
what to put in the C-Block to change the Baud

Working with stm32f401RC


Regards
by Alan_37
Tue Dec 05, 2023 9:02 am
Forum: Bug Reports
Topic: STM32F401 UART
Replies: 8
Views: 9151

Re: STM32F401 UART

HI good morning and thanks for your reply,

I don't understand what do I have to do, and how this
fixes the Bug in Flowcode.

Also are bugs still being fixed in V9 or just V10 now ?

Regards
by Alan_37
Tue Dec 05, 2023 1:42 am
Forum: Bug Reports
Topic: STM32F401 UART
Replies: 8
Views: 9151

STM32F401 UART

Hello ,

I am testing the UART Channel , on STM32f401RC and found the following problems .

1, Setting Custom Baud @ 600 will receive data at 9600
2, Setting the Baud 1200 ( Not Custom ) will receive data at 19200

Clock settings are set ok because @ 2400 and 38400 works fine

Using flowcode V9
by Alan_37
Tue Dec 05, 2023 1:07 am
Forum: Feature Requests
Topic: UART baud rate
Replies: 5
Views: 7115

Re: UART baud rate

HI , Thanks for your reply ,

Yes it there , but i was referring changing baud when code is running
this feature is already there but it dose not have the 600 option
it begins from 1200