Ask questions, find answers, and share insights on STM32 products and their technical features.
After seeing the MOOC about the MPU Usage I am wondering about the speculative access reads. From the video it seemed, that they could occur to any random location unless that area was configured as strongly ordered or device memory. What about the a...
I have set up my FLASH_ACR to disable all caches or prefetch options, but with 5 WAIT_CYCLES. My goal is to predict when the read operations happen and how long they take in processor cycles. I provided some example code below, but my goal is to get ...
Hi,I had a difficult problem where my project would run faultlessly when started with the debugger, but would fail when the power was recycled.I thought that a peripheral was not initializing due to a delay in the power up phase. Putting HAL_Delay of...
Due to the current semiconductor shortage the microcontroller STM32H745ZIT6 is not available in the quantity of 210, so I had to buy the variant with higher temperature range. However, the data sheet says in small print that this variant does not sup...
Hello, I am trying to interface to an external ADC via SPI. I amusing the STM32Cube IDE with a Nucleo-144 STM32L552. The issue I am having is that the ADC requires an unusual number of clock pulses (18 as per data sheet - see attached screenshot). No...
I am using a STM32F407, and I would like to use DMA to receive data from USART1 and store in a buffer.HAL is not being used.USART1 is configured and is receiving the first byte of the message correctly. That is, the data shows up in USART1->DR.Here i...
I took the driver from Arduino for ADS119X and implement the HAL code for STM.When compiling, it gives me “undefined reference to `keepSetting'�?. First I tought on a code problem but after long time of trail and error, I was looking on forums. It’s ...
Hi, I want to be able to add CAN message with "HAL_CAN_AddTxMessage" from interrupt and main loop (loop maybe busy sometimes so I cant send all messages from it). I assume they can collide and override so its not safe to do it from both?What are my o...
I've been trying to configure a TIM6 to run at 48kHz, where APB1 is 108MHz, but because the APBDIV > 1, I used PSC = 449, and Period = 9:216,000,000 / ((449+1)*(9+1)) = 48,000And in my timer interrupt, I set a GPIO output pin to toggle. When I probe ...