2014-09-15 01:07 PM
The datasheets for the STM32F427/429 make no mention of the crytpographic module, but the reference manual, in the CRYPT section, states ''This section applies to the whole STM32F4xx family devices, unless otherwise specified'' and I could not see any mention of these parts being excluded. It seems like the main difference between the F427 and F437 is the inclusion of this module, is this correct?
2014-09-15 02:11 PM
This was certainly poorly communicated at one of the seminars I attended. It was suggested the F429 has cryptographic functions, which I suspect it does not as this would create an import/export nightmare. My understanding is the F437/F439 have it, the F429 does not.
RCC->AHB2ENR |= RCC_AHB2Periph_CRYP | RCC_AHB2Periph_HASH | RCC_AHB2Periph_RNG;
if (RCC->AHB2ENR & RCC_AHB2Periph_CRYP)
puts(''Crypto Unit Present'');
if (RCC->AHB2ENR & RCC_AHB2Periph_HASH)
puts(''Hashing Unit Present'');
if (RCC->AHB2ENR & RCC_AHB2Periph_RNG)
puts(''Random Number Generator Unit Present'');
2014-09-16 12:48 AM
I'd say, the respective datasheet(s) is the authoritative information source.
JW2014-09-16 12:16 PM
Well the datasheet doesn't say that it doesn't have one, just makes no mention of it. The reference manual explicity refers to STM32F42xxx devices, e.g. in the Cryptographic Processor section:
Supports the ECB, CBC, CTR, CCM and GCM chaining algorithms (CCM andGCM are available on STM32F42xxx and STM32F43xxx onlySince the STM32F42XXX range consists of only two parts (427 and 429), then I'm not sure what the reference manual is talking about if these parts don't have it.
2014-09-16 12:17 PM
Thanks, but I don't have one on hand to try.
2014-09-16 01:00 PM