Page 1 of 1

STM32L4xx + FMC

Posted: Wed Feb 10, 2016 10:30 pm
by lilvinz
Hi Giovanni,

in the STM32L4xx registry the following needs to be fixed:

Code: Select all

 /* FSMC attributes.*/
#define STM32_HAS_FSMC                      TRUE


The following has to be added to stm32_rcc.h

Code: Select all

/**
 * @name    FSMC peripherals specific RCC operations
 * @{
 */
/**
 * @brief   Enables the FSMC peripheral clock.
 *
 * @param[in] lp        low power enable flag
 *
 * @api
 */
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FMCEN, lp)

/**
 * @brief   Disables the FSMC peripheral clock.
 *
 * @param[in] lp        low power enable flag
 *
 * @api
 */
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FMCEN, lp)

/**
 * @brief   Resets the FSMC peripheral.
 *
 * @api
 */
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FMCRST)
/** @} */



Cheers

Vinz

Re: STM32L4xx + FMC

Posted: Wed Feb 10, 2016 11:03 pm
by Giovanni
Hi,

Added to the list.

Giovanni

Re: STM32L4xx + FMC

Posted: Sun Feb 14, 2016 11:14 am
by Giovanni
Fixed in repository.

Giovanni