07-24-2012 02:20 PM
iam needed to generate pwm signal in edk program using timer on spartan 3e. what steps to do that?.
07-24-2012 02:28 PM
Step 1: go research (read) about programming a PWM control in verilog, or VHDL (your choice).
Step 2: read about performing PWM in c code.
Step 3: decide if the c version is fast enough, if so, write your pwm controller in c, and use gpio for the signals.
Step 4: if the c code is too slow, or can not provide the resolution, then create the design in RTL (verilog or VHDL). Add the RTL code block as a peripheral in EDK, and either drive it through a memory mapped interface, gpio, or a FSL off the AXI bus. You may also implement the PWM controller entirely in logic, and not use EDK at all, if you do not need the processor system.
03-27-2013 02:44 AM
Hi i want to generate Sinusoidal Pulse Width Modulation scheme using Xilinx System Generator. Is it Possible to generate through System generator With Sinusoidal signal of 50 Hz frequency and Triangular Signal of 3kHz frequency .
03-27-2013 08:31 AM
Iam want to use timer core to generate pwm signal as found in data sheet of xps timer and using functions found in timer to generate signal.
thank you for reply..........................
03-27-2013 01:56 PM
1. Read the XPS Timer datasheet.
2. Add the Timer IP to your XPS project.
3. Write some C code for the MicroBlaze to manipulate the Timer IP registers in accordance to their description and your requirements.
03-28-2013 03:56 AM
03-28-2013 04:42 AM
I don't know what your requirements are, so I can't comment on whether it is "right". It looks like you have generated a PWM signal but I can't really see what the timebase or signal measurements on your scope shot are.
03-28-2013 05:57 AM
I want to generate pwm signal only ,and loaded timers with values( period and high timr 100,20 )as on the scope
and wihtout using the equantion :
PWM_PERIOD = (TLR0 + 2) x PLB_CLOCK_PERIOD
PWM_HIGH_TIME = (TLR1 + 2) x PLB_CLOCK_PERIOD
when using this equantion do not appear on the scope
as the work correct or not? please