• Converting 10kHz PWM into 2kHz PWM codes
    Hi Here is my pseduo-code: // In my CAPCOM1 initalisation CC1_T0REL=0xF830; // Generate 10kHz PWM // Produce 50% duty cycle Offset=(0xFFFF-CC1_T0REL)>>1; // This will produce 50% duty cycle...
  • Converting 10kHz PWM into 2kHz PWM codes
    Hi Here is my pseduo-code: // In my CAPCOM1 initalisation CC1_T0REL=0xF830; // Generate 10kHz PWM // Produce 50% duty cycle Offset=(0xFFFF-CC1_T0REL)>>1; // This will produce 50% duty cycle...
  • 3-Phase PWM generation using single edge PWM
    I'm attempting to create a 3-phase PWM signal, which would generally use 6 dual edge triggered PWMs. Is there a way to do this using 3 single edge PWMs? If so, please point me to some examples; or provide...
  • 3-Phase PWM generation using single edge PWM
    I'm attempting to create a 3-phase PWM signal, which would generally use 6 dual edge triggered PWMs. Is there a way to do this using 3 single edge PWMs? If so, please point me to some examples; or provide...
  • PWM assembly code for generation of 5 PWM signals in 8051 mc
    I am doing a project in 8051 mc in which I have to generate atleast 5 PWM signals with varying period and duration. Is it possible? What is the logic to be used. Is anyone having the assembly code in...