AnsweredAssumed Answered

How to check if the MCU suppot hardware crypto?

Question asked by anh.tuan.001 on May 12, 2018
Latest reply on May 12, 2018 by Clive One

My device use STM32f437VG (which supports hardware crypto) but sometimes we cannot buy it and use STM32F427VG (which NOT support hardware crypto) instead.

So my program have to check if the MCU is 437 or 427 to use properly library calls. After reading manual, datasheet... i cannot know how to diffentiate them.

My solution now is: write 0x00010000 to CRYP->CR register and readback, the 427 will return 0, the 437 will return 0x00010000.