Ask questions, find answers, and share insights on STM32 products and their technical features.
I have default setup under linux with CubeIDE 1.7.0 and for overriding, i had to modify as __weak void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd);__weak void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd);oh header definitions. Otherwise i...
Hi,I generate a sine wave on the DAC. To trigger the DAC, I use the TIM 2 timer, which is clocked on the APB1 (32 MHz) bus, then I reduce its frequency through the dividers PSC = 15 and ARR = 1. In this way, I obtain the frequency from the timer equa...
Hi, is there a reason to implement the HAL function over simply running code inside the IRQ handler.In my current case I only am incrementing a counter and do not need to demux the line, so I presume not this time, but if I was doing something more i...
I am trying to read from an external SPI ADC at a 1MHz rate using a timer and 4 dma channels.I setup TIM 3 to run at 16 MHz and rollover at a count of 24.CC1 pulse is 1, cc2 pulse is 2 cc3 pulse is 22. CC1 drives DMA1 stream4 which is setup to trans...
Enabled DMA2_CLKSPI3_CLKset DMA2_CSELR = 0x00000033;GPIO is set up correctly and has clk enabledCMAR1 CMAR2 CPAR1 CPAR2 sSetup interrupts for DMAe Channel 1 and 2 and their prioritiessetup spi3 cr1 cr2DMA2_CNDTR2 DMA2_CNDTR1RESET Ints with DMA2_IFCRF...
Hello.I implement the SD Card access using the SDMMC1 on the NUCLEO-H743ZI board + SD Card sub board.Now the SDMMC1 Interrupt was not occurred after the DMA request setting and SDMMC interrupt enable(DCRC, TIMEOUT, RXOVERR, DATAEND) for reading the M...
the ST-LINK can't detect the micro but the software who is already programmed in the micro work perfectly.Does anyone have an explanation why the reset breaks like this?
Hello everyone,I've been working with ST link v2 programmer/debugger for a while with IAR embedded workbench. But recently each time I start a debug session or I appoint a break point and I arrive at the breakpoint, the IDE freazes for a while and wa...
Hello everyone,I'm working on a projects that countains a stm32l152re to communicate with temperature/Humidity sensor amongst other sensors and a DC relay to control some light bulps. However, when the relay is closed, it overheat and corrupt the me...