STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to use CMSIS to set a bit or register

Each time I call SET_BIT to set a bit the register value remains at 0. All registers are 0 even after writing, as though they are read-only. For example, the following does not set the bit:DMA2_Stream0->CR |= ((uint32_t)1);What am I missing?Thank you...

LMorr.3 by Senior II
  • 636 Views
  • 2 replies
  • 0 kudos

DMA ethernet descriptor OWN bit issue

Im using stm32f207 HAL library, LwIP stack with RAW api, no RTOS for an UDP server implementation. Server is receiving frames by polling way because of client nature demands. Client is constantly asking server for reading mcu inputs and asking for wr...

genisuvi by Associate III
  • 529 Views
  • 0 replies
  • 0 kudos

STM32F723 Problem USB with DMA in VCP Mode

Hello,I'm currently working on a project using the STM32F723 Discovery kit and USB as a Virtual Com Port (VCP) in CDC mode. I'm encountering an issue related to DMA and USB_OTG_HS when using the CubeMX configuration with the "Enable internal IP DMA" ...

CObri.1 by Associate III
  • 1173 Views
  • 6 replies
  • 0 kudos

STM32H7 I2S DMA RX problem but not TX

HiI am stuck with STM32H743IIT I2S DMA RX ..The code is working perfect when uncommet HAL_I2S_Transmit_DMA (Line 29) but when uncomment line 31 HAL_I2S_Receive_DMA it feedback HAL_OK but do never go into the callbacks ..What can be the issue ?Best re...

hjh by Associate III
  • 861 Views
  • 5 replies
  • 0 kudos

FatFs Writing Cmds(f_printf) Slows Down ADC

Hello,I'm using SDMMC to save ADC DMA data to an SD card on Nucleo H723ZG. I made some tests and got distorted results. Then I realized a problem, sampling speed is too slow when I use fatfs writing commands. What might be the problem?I use a 64K buf...

0693W00000bhVzEQAU.png 0693W00000bhVzJQAU.png 0693W00000bhVzdQAE.png
ADynr.1 by Associate II
  • 1951 Views
  • 19 replies
  • 0 kudos