STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Need for Speed Using STM32 SPI with DMA to W5500.

I am porting the code from ATMega128 to STM32F103 for faster throughput to WIZNET W5500 using the WebServer.C for ATMega128. I am using the HAL coding as I am new to STM32. While the throughput is faster than the ATMega128 but I need more speed. Cha...

CK.3 by Associate III
  • 3614 Views
  • 9 replies
  • 0 kudos

Resolved! stm32f103c8t6 DMA sends data only from the stack

I have set up a project in a cube. SPI + DMA. When the mcu sends data from the stack, the DMA works fine and activity is visible on the pins. But if allocate an array of data in bss as static or global, then nothing happens on the pins. The program r...

TAndr.1 by Associate II
  • 506 Views
  • 1 replies
  • 1 kudos

xSemaphoreTake not working properly

Hi, xSemaphoreTake is not working properly(getting held at taskENTER_CRITICAL) after existing sleep mode. Before entering sleep mode using HAL_PWR_EnterSLEEPMode the value of portNVIC_INT_CTRL_REG is 4194304. After exiting from sleep mode using an ex...

KK Y.1 by Associate II
  • 395 Views
  • 0 replies
  • 0 kudos

Run code from ram of STM32H7

I have a customized bootloader app which needs to update itself.I think if linking all the code to RAM and run code in RAM, then it should able to update itself as it does not require accessing flash.my thought is changing all section with flash (>FL...

jiangpen by Associate II
  • 1755 Views
  • 2 replies
  • 0 kudos

Hi, I am using STM32L4R5ZG controller in one of my custom board. My application need to erase some flash area in controller. However when i ma trying to erase 100 pages in Bank2 of controller pages are not getting erased and there is no error

I am attaching my code for reference.int FLASH_Erase_Size(uint32_t uStart, uint32_t uLength){ uint32_t page_error = 0U; FLASH_EraseInitTypeDef x_erase_init; uint32_t e_ret_status = HAL_ERROR; uint32_t first_page = 0U, nb_of_pages = 0U, bank_number = ...

PKrish by Associate
  • 366 Views
  • 2 replies
  • 0 kudos

Resolved! G431 Full Duplex SPI LL function for Tx and Rcv

I am playing with G4 LL example code for SPI.In STM32Cube_FW_G4_V1.4.0, there is example SPI_OneBoard_HalfDuplex_IT_Init.I have managed to make it work with my Nucleo-G431RB board. I wonder how I can extend it to a full duplex mode to communicate wit...

HDaji.1 by Senior
  • 904 Views
  • 5 replies
  • 1 kudos