STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Confusion with interrupts and handlers in HAL

I'm using stm32f103c6, i'm confused as to how should i handle the interrups, what i need is to count pulses from an external source, it has to be accurate so the best way is to do it with timers right? So i've configured the cnt_en from timer2 to act...

MPera by Associate
  • 485 Views
  • 1 replies
  • 0 kudos

STM32L0 IrDA pulse issue

Trying to implement an IrDa and comparing to a tv remote the pulse width is very different, ours is around 18.4uS where the tv remote is 540uS for a short bit. I cannot seem to adjust this exept for reducing the baud rate.What clock speed should be s...

markH by Associate III
  • 297 Views
  • 0 replies
  • 0 kudos

Resolved! USB-PD Software expansion; maximum port number?

HiWe are working on the USBPD Software expansion pack, with TCPM/TCPC architecture. Indeed we are trying to establish firmware with PortNumbers=8. WE are getting USBPD_ERROR when the number of ports is 3. We realised that there is internal USBPD_MAXP...

FaikN by Associate II
  • 913 Views
  • 2 replies
  • 0 kudos

How to monitor status of I2C using HAL

HelloI am using NUCLEO-G431KB to talk to a sensor using i2c. Its working nicely using the 'HAL_I2C_Master_Transmit' HAL function.I would like the system to generate an error if an ack is not received from the sensor.This is the working code:HAL_I2C_M...

JB.16 by Associate
  • 855 Views
  • 1 replies
  • 0 kudos