STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32G0 DAC ADC TIM2

Using TIM2_TRGO to trigger DAC. That works.​Now want same TIM2_TRGO also to trigger ADC.Is that possible ?Regards Juergen

JuM by Senior
  • 697 Views
  • 3 replies
  • 0 kudos

Is it possible to have a center (or centre in old english) aligned PWM timer wth a secondary channel that has a delay(phase shifted)? I have seen it done with the standard count up timer but I am struggling to achieve this in center aligned mode.

I am using STM32L4R5ZI. I have setup TIM1 as a slave of TIM2 and have set both to centeraligned mode 3. I am driving the PWM to a frequency of 21kHz. I can get the correct duty cycle and frequency on TIM2 CH1 / CH2 but am struggling to get the correc...

JGrah by Associate II
  • 219 Views
  • 0 replies
  • 0 kudos

mpu6050 returns zero, I2C stm32f103

I am working with MPU6050 and STM32f103VE as master. When I wake up the sensor and ask for information it returns 3 bytes of zeroes and the protocol stops working. I only send the communication Part of my code to be more specific:void I2C_interface(v...

Delay in microseconds for stm32l0 cortex m0+

I Wanted to generate the microsecond delay function, I have tried below functions but these are not working, It will be good if someone knows the delay function.static inline void delay_us( uint32_t micros){   micros *= (SystemCoreClock / 1000000) / ...

Resolved! Cannot connect to STM32H753I_EVAL2 board anymore

I know it sounds like a dumb question but I cannot connect anymore to my STM32H753I_EVAL2 (that I've been using extensively for months). I checked the driver in Windows Peripheral Manager. It is properly installed and it shows the same driver DLL as ...

Gpeti by Senior II
  • 317 Views
  • 1 replies
  • 0 kudos

STM32l073CB internal RTC alarm

Hi,How to set alarm and read the alarm flag?I already write the RTC_ALRMAR = 0x85 to set alarm 5sec and mask sec. But the reading of ALRAF in RTC_ISR was not changed to 1 after it matched 5sec. Can U help me? I already set the RTC value with my homet...

Dprom by Associate II
  • 277 Views
  • 0 replies
  • 0 kudos

stm32f105 usart interrupt generated only once times.

when program started interrupt is called but its read only one character and repeatedly read same character.most time getting garbage value. RXNE Flag also set. my application is to handle data send by ATMEGA16 in while condition.program: voi...

vivek by Associate II
  • 400 Views
  • 2 replies
  • 0 kudos

Resolved! HAL I2C and 24c02 eeprom communication problem

Hi.I read 24c02 datasheet and tried to write my code to write and read a byte from this device. But my code does not work. Can you tell me what the problem is?https://imghostr.com/M4hXKXT6Avoid EEPROM_Write(unsigned char address,unsigned char data) {...