Ask questions, find answers, and share insights on STM32 products and their technical features.
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...
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...
Hello,I'm now spent about three weeks with trying to set up a custom board with the M7-Core of a STM32H745BIT6 to work with an ILI9341-controlled display via SPI.Interfacing the ILI and writing a bitmap to the display even with 50Mhz SPI Clock (with ...
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...
Hello Everyone, i am really new to STM32's and i have a question regarding project migration from one MCU to another.The original project which was built on the STM32 NUCLEO LO73RZ board, and i am trying to run it on an STM32 NUCLEO F411RE board. Unf...
Hello,I am working on Nucleo-H745ziq board. I have to read the .txt and .csv file, but on this board there is no SD card implementation, so how I read the .txt file. I tried to read the file using below programmed but unable to read please help me. ...
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 = ...
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...
Hello,I'm trying to do basic led blink with STM32F4 Dicovery Board with timer6 using Cube IDE.As you see in picture 84 Mhz clock divided by 8400 and counts to 10000 so i aimed 1 second toggle. Also interrupt option of timer 6 is enabled which dosen't...