2021-11-01 09:25 PM
STM32H743I-EVAL2
Custom Bord(H723)
CubeMX 6.3.0
[ Datasheet ]
(H743) DS12110 Rev8
(H723) DS13313 Rev2
[ Reference manual ]
H743 RM0433 Rev7
H723 RM0488 Rev2
I using the H743EVAL and setting up a custom board.
I’m setting up for a custom board with CubeMX.
A problem occurred while setting “USB_PHY�? of “GPIO�?.
I want to setting “medium�? to “maximum output setting�?
However, this choice is “high�? or “very high�? only.
The settings of CubeMX on the custom board are the same as those of H723.
Therefore, I checked if the same result could be obtained with H743.
As a result, I had only "high" or "very high" options.
When I checked 517P of the H723 reference manual (RM0468),
"Refer to the product data sheet for OSPEED Ry bits and VDD ranges and external load values."
Since it is written, I checked 203P of the data sheet (DS13313).
In the data sheet
"USB function is guaranteed up to 2.7V.
However, all USB electrical characteristics deteriorate in the voltage range of 2.7 to 3.0V. It is written.
Is this related to the inability to set the speed setting to "Medium" on CubeMX?
As one of the solutions I came up with, do I have to manually change the settings after
generating the code in CubeMX?
Does setting it to "Medium" cause problems such as USB_PHY not working?
If you know how to set the USB_PHY speed setting to "Medium" or why it cannot be set, please let us know.
The clock settings for the custom board (H723) are as follows.
Solved! Go to Solution.
2021-11-03 06:21 AM
Hi @june ,
The Maximum output speed is the maximum transition, from high to low or from low to high, frequency of the GPIO.
When you use a high speed peripheral such as USB, you need to increase the switching frequency of the GPIOs related to this peripheral in order to attend the wanted level before the end of the clock cycle. And this is why you can only find high and very high speed in the CubeMX.
You can change the GPIO speed manually to medium, but there is a high risk of damaging your data frame during transfer.
Best Regards,
Sara.
2021-11-02 06:31 AM
Presumably, CubeMX is preventing you from generating a configuration with insufficient drive strength on the USB lines.
Why do you want to set it to medium? The characterization done by ST is with very high output speed.
You could change it manually in code if you really want.
2021-11-02 08:05 AM
Hi @june ,
Could you share your .ioc file ?
Thanks,
Sara.
2021-11-03 06:21 AM
Hi @june ,
The Maximum output speed is the maximum transition, from high to low or from low to high, frequency of the GPIO.
When you use a high speed peripheral such as USB, you need to increase the switching frequency of the GPIOs related to this peripheral in order to attend the wanted level before the end of the clock cycle. And this is why you can only find high and very high speed in the CubeMX.
You can change the GPIO speed manually to medium, but there is a high risk of damaging your data frame during transfer.
Best Regards,
Sara.
2021-11-09 11:30 PM
I decided to work with the "high"setting.
Thank you for your reply.
2021-11-09 11:51 PM
He seems to have been working on other models set to "medium".
So I wondered if this model could do that.
However, I couldn't find a way to set it to "medium", so I asked this question.
I don't know the hardware, so I don't know why it should be set to "medium".
But I had to make sure there was a way to set it up.
Thank you for your reply