cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 RCC Register ?

A.Caliskan
Associate II

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.0693W00000HnbiQQAR.png0693W00000HnbiLQAR.png

14 REPLIES 14

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.

0693W00000HneaFQAR.png0693W00000Hnea0QAB.png

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

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

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.

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-