STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Disable/enable interrupts globally on STM32F746

Hello,just a simple question. We share some data between ISR and application on STM32F746 processor (no RTOS used). How can we disable interrupts globally while application accesses the shared variables? Afterwards interrupts should be enabled again....

TechMarc by Associate II
  • 748 Views
  • 5 replies
  • 0 kudos

ADC Modes

FolksIs there a good resource for understanding various ADC modes in F303 family? There is much confusion about the terminology (regular versus injected, continuous versus discontinuous, etc.) The material presented in manual/datasheet are diffuse, v...

Amir1 by Associate II
  • 422 Views
  • 3 replies
  • 0 kudos

SWD-CAN bus Bridge

Hi everyone! I want to have ability to program and debugging STM32 MCU's via CAN: in other words, I like to have functionality of ST-LINK (including connection via STM Studio), but using CAN, not USB. How to implement SWD master, is a any source code...

KKT31 by Associate II
  • 1066 Views
  • 6 replies
  • 0 kudos

Dynamic vector allocation in external RAM

Hi,I am currently working on a large project of my own on an STM32F7 cortex-m7 microcontroller in C++ using GCC. I need to store a wide array in an external SDRAM (16 MB) containing vectors of notes structures (12 bytes each). I have already a workin...

benoit2 by Associate II
  • 490 Views
  • 0 replies
  • 0 kudos

Is FMC burst should be done in software using DMA ?

Hello,We need to perform burst read and burst write in FMC (PSNOR) .HAL_StatusTypeDef HAL_SRAM_Read_DMA(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBuffer, uint32_t BufferSize); HAL_StatusTypeDef HAL_SRAM_Write_DMA(SRAM_HandleTypeDef...

ranran by Senior II
  • 270 Views
  • 0 replies
  • 0 kudos

Problem of SPI slave transmit

I testing SPI using two STM32F411 disco.One is master, the other is slave.My problem is only work MOSI , MISO is not working.I attach my Two source code.This is setting of my disco board.Do you have any idea about error of Slave transmit of SPI?

0690X0000087YD0QAM.jpg

RTC missed alarm STM32 L152VB

Hi,I use RTC for timing FreeRTOS (also in Tickless mode - in STOP mode) I use ALARM A in rtc. I noticed one weird behavior. Some times for examaple after 5 hours of running program the ALARM A is missed - no Interrupt of alarm happended, althougt the...

JAN R by Associate III
  • 429 Views
  • 1 replies
  • 0 kudos

Resolved! Handling 16bit register address in i2c communication

I am trying to use ov5640 camera with stm32l4r5 board nucleo-144. The ov5640 has SCCB bus which is similar to i2c. But ov5640 has register with 16bit address (0x300A, 0x300B like this). I used CUBEMX to initialise i2c pins and generated code. How can...

PToma.14 by Associate II
  • 1507 Views
  • 2 replies
  • 0 kudos

Resolved! ADC resolution and its reference voltage

I am using STM32F407VG board. I wanted to know about the reference voltage and ADC resolution available on this board. I couldn't find the exact info related to these parameters in the datasheets.

rrach by Associate II
  • 534 Views
  • 2 replies
  • 0 kudos