2023-05-30 06:02 AM
Hi!
I am working on a project with stm32h757 and soon we will be switching to stm32h747.
i need a way to know (using SW) on which processor i am working with.
is there some type of register that holds this info?
I saw the 96b UID but as i understad it is a unique number for each processor and not per series. is that true?
thank you for your help in advance :)
Solved! Go to Solution.
2023-05-30 12:08 PM
Had a similar question the other week. @Pavel A. posted some code to check the status registers, but there's presumably other stuck-at-zero tests of APB/AHB clocks
2023-05-30 06:38 AM
Hello @yuri CH,
Check DBGMCU_IDC for DBGMCU identity code register. You can find Device ID 0x450 or 0x480 or 0x483 for STM32H7.
When your question is answered, please close this topic by choosing Select as Best the answer that answered your question or solved your problem. This will help other users find that answer faster.
Firas
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.
2023-05-30 06:53 AM - edited 2023-11-20 04:22 AM
thanks for your response,
had a look in the reference manual
as i understand this register will not distinguish between those specifdic two (stm32h757 and stm32h747). correct me if i am wrong please...
2023-05-30 08:46 AM
Hello again @yuri CH,
Thank you for your feedback. You can check if the crypto is enabled.
Would you please read memory directly starting from this address 0x1FF1E8C0 and tell us what you can see?
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.
2023-05-30 12:08 PM
Had a similar question the other week. @Pavel A. posted some code to check the status registers, but there's presumably other stuck-at-zero tests of APB/AHB clocks
2023-05-31 06:33 AM
thanks for your anwsers,
this was the solution that worked for me: