Skip navigation
All Places > STM32 MCUs Community

STM32 MCUs Forum

Log in to follow, share, and participate in this community.

Recent Activity

Mohammad Rostamian
Hi, I rebuilded stm32f746g-discovery demonstration whit IAR. But it has the linker error: Error[Lp011]: section palcement failed Unable to allocate space section/block whit a total estimated minimum size of 0x5452bytes(max align 0x4) in....   What can I do?  Tanks.
in STM32 MCUs Forum
Sergio Petrovko
I am having an issue where STM32F7 fails to start on reset. Here is a section of a startup code which fails:   IMPORT SystemInit IMPORT __main LDR R0, =SystemInit BLX R0 LDR R0, =__initial_sp ; restore original stack pointer MSR MSP, R0 LDR R0, =__main BX R0 ENDP   It gets stuck on the line BX R0 and never goes to main. Did anyone ever… (Show more)
in STM32 MCUs Forum
netzahuatl.edgardo
Hello,   I´m using the CubeMx software only to stablish minor settings, I am trying to get PA7 on my F302R8 board as a complementary output, but without writing the following:   GPIO_InitStruct.Pin = GPIO_PIN_7; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;… (Show more)
in STM32 MCUs Forum
Randy Nelson
Working with STM32F303K8 at the lowest level where I'm writing to the registers directly. Try to follow generic statements in STM documents to handle a high2low transition on a GPIO PB4 input pin. These are the instructions I feel I need to do for the docs.   //interrupts //EXTI registers. Only set ones that are needed. SYSCFG_EXTICR2 |= BIT0;… (Show more)
in STM32 MCUs Forum
anton.bogdan
Hello,   i have TIM1 generating 6 complementary PWMs and TIM2 set as encoder trigger from 3 hall sensors.     TIM1 ticks at (1/50 000 000)  x 10000 =  5KHZ   After initialization of TIM1 without TIM2 being initialized, i have undesired toggle on the pwm outputs.   Isn't suppose TIM1 to set the pwms only when a hall event trigger is coming from… (Show more)
in STM32 MCUs Forum
brestel.dean.001
At least on the SMT32F103x parts, the SWJ_CFG bits in the AFIO_MAPR register are write only.  Reading these bits is undefined.  All of the __HAL_AFIO_REMAP macros in stm32f1xx_hal_GPIO_ex.h do read/modify/write operations to this register.  This can cause wild behavior.   For example, on the STM32F103VET6:   __HAL_AFIO_REMAP_SWJ_NOJTAG();… (Show more)
in STM32 MCUs Forum
Elliot
Hi, I'm required to integrate FatFs file system on my raw NAND flash memory. I'm interfacing the NAND through SPI peripheral of the STM32L486RG microcontroller. I have developed NAND a low level driver through which I can erase, write and read data in different locations of the memory. Then, customized the diskio.c file (diskio_write ,… (Show more)
in STM32 MCUs Forum
Jean Berthelot
Hi community.   I've been trying now for a month to implement an UDP ethernet connexion with the STM32F769I-DISCOVERY with LwIP using TouchGFX without freeRTOS. I already managed to add the middleware in my TouchGFX project, then I almost entirely copy/pasted exemple ethernetif.c code from CubeMX projects. I implemented a small UDP echo server… (Show more)
in STM32 MCUs Forum
brestel.dean.001
The stm32fXxx.h file has a macro for POSITION_VAL that determines which index the lowest bit is in.  This is accomplished by reversing the bit order and counting the leading zeros.  Because it is using asm instructions, this requires that the value is loaded into memory for the instructions to act upon.   Most of the usages of POSITION_VAL act… (Show more)
in STM32 MCUs Forum
Load more items