AnsweredAssumed Answered

STM32F215 : Issue to start up the crypto processor peripheral

Question asked by lamotte.thierry on Mar 25, 2014
Latest reply on Mar 31, 2014 by lamotte.thierry
Dear All,

I run into troubles when I try to start up the crypto processor of my STM32F215.

After the line 1, the cryptoprocessor peripheral does not start up:
line 1: RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_CRYP, ENABLE);
line 2: CRYP_AES_ECB(MODE_ENCRYPT, (uint8_t*)AESKey, 128, CryptBufferIn, CRYPTBLOCKSIZE, CryptBufferOut);

It is worth mentioning that I use our own hardware (STM32F215) that has an external 10MHz quartz. AHB2, APB1 and APB2 are all driven by the same frequency : 10MHz. We normally do not use the PLL.

I even tried with a AHB2 much higher than 10MHz, it still does not start either.

Now, if I use the same 2 lines code on the Eval Board STM3221G-EVAL (STM32F217), it works well.

After investigation, the only difference I have seen between both hardware is the external quartz that is not 10MHz but 25MHz and the AHB2=120MHz

Please, I would like to know if there is any minimum frequency from the external quartz to make the crypto processor work?

I went through the STM32F2xx reference manual and datasheet but both do not mention anything regarding this issue.

Any help would be welcome.

Best regards,
Thierry

Outcomes