STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Triggering the adc in center of PWM

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...

0693W000001sAOtQAM.jpg
IDavo.1 by Associate II
  • 1187 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F407: I2C1 not working with LCD1602 display. Bare metal

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 ...

AAnth.1 by Senior
  • 2418 Views
  • 8 replies
  • 0 kudos

Reducing DAC jitter

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...

SSmit.0 by Associate II
  • 3170 Views
  • 16 replies
  • 0 kudos

speed of execution - pin change seems too slow

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->...

deep_rune by Associate III
  • 2128 Views
  • 13 replies
  • 0 kudos

SAI DMA Data transmit fails on STM32H745 Discovery board

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_...

NKadi.1 by Associate
  • 546 Views
  • 0 replies
  • 0 kudos

Changing default parameters of main()

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...

PMath.4 by Senior III
  • 714 Views
  • 2 replies
  • 0 kudos

Wifi is not connecting with the board B-L475E-IOT01A.

Hello Team,i have flashed B-L475E-IOT01A-WiFi-Bridge-S2LP binary into the B-L475E-IOT01A board and then it asked to enter the input ssid , password and security type. i given all correct value but we are getting the response like "Given SSID not F...

JC.1 by Associate
  • 1718 Views
  • 3 replies
  • 0 kudos

Output Compare Formula [STM32H7]

I'm using TIM5CH3 to toggle an I/O, but AN4013 doesn't list a formula for the Output Compare, so I'm using the Timer Base Generator in Section 2.2: Update_event = TIM_CLK/((PSC + 1)*(ARR + 1)*(RCR + 1))With TIM5 CLK of 60Mhz, Prescaler 60-1, and ARR ...

0693W000001rdUeQAI.png
bnguy.1 by Associate III
  • 1135 Views
  • 4 replies
  • 0 kudos