Microcontrollers

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SPC560P44L3 Center alignment PWM generation.

Controller: SPC560P44L3 (Custom board)IDE: SPC StudioIm facing problems in generating 16kHZ frequency PWM center alignment.For frequencies below 500Hz I was able to generate PWM center alignment, as per the code generation settings. But going for hig...

RRama.3 by Associate
  • 427 Views
  • 0 replies
  • 0 kudos

Resolved! How to SYNC PWM?

Hello, i have now this working code on SPC560P without sync flag. pwm_lld_start(&PWMD1, &pwm_config_pwm_cfg0); pwm_lld_start(&PWMD2, &pwm_config_pwm_cfg0); pwm_lld_start(&PWMD3, &pwm_config_pwm_cfg0); pwm_lld_start(&PWMD4, &pwm_config_...

Resolved! Can I set eMIOS0 ch 16 to be a PWM channel?

I am working with a SPC582B60E1 64 pin Flat pack chip. I am trying to program GPIO11_INT24_PWM16_CAN4SYS1_RX_WKPU pin 53 as a PWM output. But I am not sure if it is even possible. I consulted the SPC5 LLD Drivers for RLA components document for PWM l...

SLam.1 by Associate
  • 427 Views
  • 1 replies
  • 0 kudos

ePWM is taking extra 20uSec to toggle the pin

Hi All,We are using input capture module in our code the monitor the input pulses, based on the pulses we are calculating PWM period to turn on the pin High and Low.We have set the PWM period but we observed the 20usec mismatch in the output. We have...

Resolved! SPC560B50L3, Cannot use eMIOS0 ch1-ch7 as PWM outputs?

Hi ST experts,I started with SPC560B50L3 and I am using SPC5Studio 5.8. I have problem with eMIOS0 configuration (ch1-ch7) as PWM outputs.. I use PinMap editor and i configured the pins as eMIOS0 output (eMIOS0 ch1-ch7, eMIOS0 ch9-ch13 and eMIOS0 ch2...

VOtev by Associate
  • 376 Views
  • 1 replies
  • 0 kudos

Number of clock cycles per instruction

Posted on March 07, 2016 at 11:18Good morning to everyone.I am trying to figure out how to toggle periodically a digital output pin with a given frequency. The system clock is configure the internal oscillator, so it should be 16 MHz.I set a timer w...

Resolved! Phase-Shift PWM Modulator SPC5x

Posted on January 16, 2018 at 15:39Hi folks,I'm a new starter here, is there a section with code example, training, etc?Currently, I'm working on the control of a power electronic converter with a phase-shift PWM modulator.Thanks for any help or adv...