Page 1 of 1

STM32H7xx Missing CRC

Posted: Mon Nov 23, 2020 12:09 am
by piwi1263
Hi there,

it seems that the CRC enable, disable and reset macros are missing.

Please insert, add following lines to the RCC helper driver header:

Code: Select all

/**
 * @name    CRC peripheral specific RCC operations
 * @{
 */
/**
 * @brief   Enables the CRC peripheral clock.
 *
 * @param[in] lp        low power enable flag
 *
 * @api
 */
#define rccEnableCRC(lp) rccEnableAHB4(RCC_AHB4ENR_CRCEN, lp)

/**
 * @brief   Disables the CRC peripheral clock.
 *
 * @api
 */
#define rccDisableCRC() rccDisableAHB4(RCC_AHB4ENR_CRCEN)

/**
 * @brief   Resets the CRC peripheral.
 *
 * @api
 */
#define rccResetCRC() rccResetAHB4(RCC_AHB4RSTR_CRCRST)
/** @} */



Thanks and kind regards,

Peter.

Re: STM32H7xx Missing CRC

Posted: Sun Nov 29, 2020 11:26 am
by Giovanni
Hi,

Fixed as bug #1137.

Giovanni