Ask questions, find answers, and share insights on STM32 products and their technical features.
In a stm32f303rb76, I commanded to operate ADC+DMA by setting of the ADC DMA with circular modeThe ADC I activated continuous conversion modeand DMA continuous requestAlso the analog input signal (no scan mode)In the initialization made following com...
I have a prescaler (20), an ARR of (65535) and a Repetition Counter of 3 on a 20MHz clock ....On the scope it all looks good...Question if I set a timer up to be triggered by the Update Event, will the timer being triggered update on the output I see...
For example: 1000: is Combined PWM Mode, 1111: is Asymmetric PWM Mode 2. How do you fit 4 bits into 3 bit spaces? Bit 7 is used for OC1CE, and Bit 3 is used for OC1PE so there is no space on either end for the extra bit.
I configured SAI1 asBlockA: I2S async slave transmitterBockB: I2S sync slave receivermanaging the data transfers with GPDMA1. The slave transmitter works fine, I get the half transfer and transfer complete interrupts correctly. But for the slave rece...
I have tried everything I can think of to set PB8 high. This is a custom PCB where PB8 is connected through a 1k resistor to a stepper driver input. With board off, measuring pin to VCC resistance is 105kOhm, measured to GND is 95kOhm, so not directl...
On other processors sometimes there are keywords when defining variables to specify which memory area the variable should be stored in. Or there is a #pragma statement. I have not seen either in the STM32 or the IDE. I am guessing RAM2 might be a goo...
I have tried a lot of different things but I can never seem to get it, I am trying to make a semblance of a precise delay function for my controller, I am not using HAL or anything, just writing to registers directly. I tried timers, timer interrupts...
Hi,using CubeIDE with CubeMX, is is possible to "check" or "detect", for conditional compiling, which UART ports that are enabled? In the MX-generated USART.C you will find all the handles for the available UARTs but AFAIK, you can't conditional comp...