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.
..
..
Hello
thanks all for your answers.
The problem was solved by enabling the clock of the crypto unit and reading the status register.
In case of 75X device the status register is 0x0000 0003. In case of 74X device it is 0x0000 0000.
Here an example code:
uint32_t u32_DEVID;
RCC->AHB2ENR |= 0x00000010; // Set CRYPTEN in AHB2ENR Register
u32_DEVID = *((uint32_t*)(0x48021004)); // Read CRYP_SR @ address 0x48011004
if (u32_DEVID == 0x00000003)
{
// CRYP present
// STM32H75x
}
else
{
// no CRYP
// STM32H74x
}
I got the information that during production process the crypto unit will be disabled at the 74X devices by laser.
Thanks again to all of you. Problem is solved. Chat is closed.
Alex
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.