cancel
Showing results for 
Search instead for 
Did you mean: 

A way of distinguishing between different series of STM32 ?

yuri CH
Senior

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 :)

1 ACCEPTED SOLUTION

Accepted Solutions

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

https://community.st.com/s/question/0D53W00000XIIsCSAX/stm32h750vbt6-access-crypt-registers-all-read-back-zero

https://community.st.com/s/question/0D53W00002GFS6TSAX/how-can-be-detected-by-software-if-running-on-a-stm32h753-or-a-stm32h743-device-we-did-not-find-a-processor-internal-identification-to-differ-between-the-two-types

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5
FBL
ST Employee

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.

yuri CH
Senior

thanks for your response,

had a look in the reference manual


_legacyfs_online_stmicro_images_0693W00000bl91jQAA.pngas i understand this register will not distinguish between those specifdic two (stm32h757 and stm32h747). correct me if i am wrong please...

FBL
ST Employee

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.

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

https://community.st.com/s/question/0D53W00000XIIsCSAX/stm32h750vbt6-access-crypt-registers-all-read-back-zero

https://community.st.com/s/question/0D53W00002GFS6TSAX/how-can-be-detected-by-software-if-running-on-a-stm32h753-or-a-stm32h743-device-we-did-not-find-a-processor-internal-identification-to-differ-between-the-two-types

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..