2021-12-05 09:56 PM
While looking at the rcc registers, you can see the ICSCR register on the debug screen, but when I write on the program, I encounter an error, I wonder what is the reason.
Solved! Go to Solution.
2021-12-06 04:15 AM
also,I found multiple cube ide bugs for stm32h723, I'll leave another example below .Before h7, I worked with the g4, f2, f4 series without any problems.Working with h7 is scary.
2021-12-06 04:15 AM
2021-12-06 05:48 AM
It would make sense to limit this thread to one problem only, that is the RCC_HSICFGR, which was incorrectly referred to as RCC_ICSCR.
For other problems, like the one with ADC_RESOLUTION_12B_OPT, it is better to open a new thread, otherwise other readers will be confused.
By the way, you can temporarily repair this typo of RCC_HSICFGR yourself until the new version is published: it is contained in the file stm32f723.svd. The exact folder depends on the STM32CubeIDE version, but is located under the installation folder of STM32CubeIDE:
CubeIDE_[*]\plugins\com.st.stm32cube.ide.mcu.productdb.debug_[*]\resources\cmsis\STMicroelectronics_CMSIS_SVD
For STM32CubeIDE version 1.8.0 you will find it at line 77221:
Incorrectly:
<register><name> ICSCR </name>
<displayName> ICSCR </displayName>
<description> RCC Internal Clock Source Calibration
Register </description>
<addressOffset> 0x4 </addressOffset>
Correct:
<register><name> HSICFGR</name>
<displayName> HSICFGR </displayName>
<description> RCC HSI configuration register </description>
<addressOffset> 0x4 </addressOffset>
Regards
/Peter
2021-12-06 06:17 AM
Thanks @Peter BENSCH for identifiying the root cause of the issue and suggesting the workaround.
A ticket is tracked to fix the issue by development team.
Internal ticket number: 118969 (PS: This is an internal tracking number and is not accessible or usable by customers).
-Amel
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.
2021-12-06 09:35 PM
Thanks, I hope bugs like this get resolved. There are quite a few in the h7 series,, I wrote my problem about adc, but unfortunately I could not reach a result.
https://community.st.com/s/question/0D53W00001EFr4lSAD/stm32-h7-adc-conversion-time-