Hi all,recently I started playing with an STM32F103C8T6 based minimal dev board (BLUE PILL), it's a powerfull and complicated beast and the ST RM0008 Reference manual is 1134 pages, not really encouraging for beginners like me!!The pinouts found on t...
Hi Guys,I did lots of searches but find part of my answer. I'm using STM32F103C8T6 and I want to start voltage measurement by ADC (configured at scan mode and DMA) at the center of my PWM signal generated by TIM1 CC2. On ADC I've set EXTSEL[2..0] = 1...
Himy first attempt to program a LCD1602 via I2C1 on my STM32F407 discovery board failed miserably. I do not get the start condition generated, which means I never get the Start bit (SB) set in my status register. It seems that I am missing something ...
Hi I am using STM32L082, in my application I would like to calibrate the MCU once/twice per day. I would like to know whether clock re-initialization is required after adjusting the calibration value using "__HAL_RCC_MSI_CALIBRATIONVALUE_ADJUST(_MSIC...
Hi,I'm writing data to a 24 bit register of an AD5664 DAC from an STM32F429 discovery board which I am using to produce sinewaves and slower sawtooth ramps. The full loop lasts approximately 200000 bytes which gives sufficient resolution over all wav...
I just got a simple program running on my STM32f0301k6. I am running the clock off a 20MHz crystal and the core is running off the PLL x 2 so everything is running at 40MHz. This means one cycle executes in 25nS, but if I write a loop like GPIOB->...
Hi,I have configured DMA and SAI interface as below.void HAL_SAI_MspInit(SAI_HandleTypeDef* hsai){ GPIO_InitTypeDef GPIO_InitStruct;/* SAI2 */ if(hsai->Instance==SAI2_Block_A) { /* Peripheral clock enable */ if (SAI2_client == 0) { __HAL_RCC_...
I've got an application where the main() function needs to be non-standard. In older version of GCC this wasn't an issue but the newer versions seem to have changed somethingI need:void main(long long int *c, long long int *b)but GCC is overriding th...