Skip to content
#

stm32cube-mcu-package

Here are 22 public repositories matching this topic...

phryniszak
phryniszak commented Nov 1, 2021

Describe the set-up

/**
  * @brief  HELPER macro calculating the prescaler value to achieve the required counter clock frequency.
  * @note ex: @ref __LL_TIM_CALC_PSC (80000000, 1000000);
  * @param  __TIMCLK__ timer input clock frequency (in Hz)
  * @param  __CNTCLK__ counter clock frequency (in Hz)
  * @retval Prescaler value  (between Min_Data=0 and Max_Data=65535)
  */
#define
bug good first issue internal bug tracker hal
rbsexton
rbsexton commented May 30, 2021

HAL_MPU_ConfigRegion() is missing barrier instructions. (STM32CubeL0/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c)

The companion function, void HAL_MPU_Enable(uint32_t MPU_Control) Includes barrier instructions.

Per Arm Cortex-M0+ DevicesGeneric User Guide ( DUI0662B_cortex_m0p_r0p1_dgug.pdf), Section 4.5.8:

Software must use memory barrier instructions:

  • Before MP
good first issue internal bug tracker hal

Improve this page

Add a description, image, and links to the stm32cube-mcu-package topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stm32cube-mcu-package topic, visit your repo's landing page and select "manage topics."

Learn more