PWM generation using Quad timer of 827

Started by Nitin Madhukar Yewale in Freescale DSPs18 years ago 3 replies

Hi, I am using 56F827 for my project. I want to know about Quad timer. I have configured the Quad timer for PWM generation....

Hi, I am using 56F827 for my project. I want to know about Quad timer. I have configured the Quad timer for PWM generation. Please find the declaration for the same. I am using Quad Timer1 for testing but not able to see waveform using CRO probe. //10 Hz pw =


Quad Timer ,I/O

Started by praveen in Freescale DSPs16 years ago 1 reply

Hi I am looking for a help in Quad timers (DSp56f801) My questions are: 1. Is it that we have to declare explicitly...

Hi I am looking for a help in Quad timers (DSp56f801) My questions are: 1. Is it that we have to declare explicitly the Quad timers pins as output pins in order to get the output or is it ok with outputDisabled Parameter as 1. I use quad timer D2.


Reloading of on off time for quad timer for PWM mode.

Started by Nitin Madhukar Yewale in Freescale DSPs17 years ago

Hi, I have an application for 56F827 processor, in which I am using Quad timer in PWM mode. On and off time for PWM mode of...

Hi, I have an application for 56F827 processor, in which I am using Quad timer in PWM mode. On and off time for PWM mode of Quad timer will change according to the input (Dynamically). I have initialized quad timer as follows:- **********************


Dumb question on quad timers

Started by softoe in Freescale DSPs18 years ago 1 reply

I am trying to set up a quad timer (A0) to simply count up from 0 to 3125, then reset to 0 and continue counting up. My code is...

I am trying to set up a quad timer (A0) to simply count up from 0 to 3125, then reset to 0 and continue counting up. My code is below; for some reason I can't figure out, the counter counts down instead of up. What am I doing wrong? Thanks void initi


Question on Quad Timer

Started by praveen in Freescale DSPs16 years ago 3 replies

Hi All Anyone Know how the calculation is done in the case of a quad timer. I am using DSP56f801, the IP bus is...

Hi All Anyone Know how the calculation is done in the case of a quad timer. I am using DSP56f801, the IP bus is configured at 40 Mhz. const qt_sState quadParam0= { /* Mode = */ qtCount, /* InputSource = */ qtPrescalerDiv128, /* InputPolar


Understanding quad timer

Started by TA1T in Freescale DSPs17 years ago 1 reply

Can someone help me understand how to calculate what frequency is output from the quad timer. After playing around with numbers i...

Can someone help me understand how to calculate what frequency is output from the quad timer. After playing around with numbers i eventually came up with the following solution to obtain a 10KHz square wave, but dont know how this could have been calculated. I se


Example using R/C type Servo connected to the quad timer port?

Started by oportalcom in Freescale DSPs17 years ago

Does anyone have an example of using the Quad Timer to control a servo? Assembly or C or smallC, any would be great :) TIA ...

Does anyone have an example of using the Quad Timer to control a servo? Assembly or C or smallC, any would be great :) TIA Dan K


Usage of COMPARE_AND_LOAG_REGISTER in 827 Quadtimer for PWM configuration

Started by Nitin Madhukar Yewale in Freescale DSPs17 years ago

Hi, I have configured one quad timer in variable frequency PWM mode and would like to swap it's on/off time after some time. ...

Hi, I have configured one quad timer in variable frequency PWM mode and would like to swap it's on/off time after some time. Please find attached application 56F827 in which I am using two quad timers to simulate required functionality. i.e Change the on/off time by


DSP56F807 Quad Timers

Started by Andrew Shelkovenko in Freescale DSPs18 years ago

Hello! Sorry for my English. :( I read the documentation and I try to determine usefulness of DSP56F807 for our ...

Hello! Sorry for my English. :( I read the documentation and I try to determine usefulness of DSP56F807 for our purposes. I have some questions about DSP56F807 Quad Timers. 1. Can I use timer in next mode: Count Mode = 100 - quadr


56F8365 Help when Configuring peripheral for GPIOC [0:3] using SIM_GPS

Started by oyedejimummy in Freescale DSPs12 years ago

Hi, I would like to configure pin 0-1 to PhaseA1/PhaseB1 and pins 2-3 to SCI (MISO and MOSI). However the manual is not clear about if this is...

Hi, I would like to configure pin 0-1 to PhaseA1/PhaseB1 and pins 2-3 to SCI (MISO and MOSI). However the manual is not clear about if this is possible (reading about the SIM_GPS). It seems that all four GPIOC pins [0:3] have to be configured to the same function (GPIO OR Quad decoder/Quad Time B OR SPI1) even though the actual configuration through SIM_GPS is done individually. My con...


What is wrong in this quad timer???

Started by in Freescale DSPs16 years ago 2 replies

Hi. to understand working of the quad timer i have written this little software: //code begins(count up with ip bus clock...

Hi. to understand working of the quad timer i have written this little software: //code begins(count up with ip bus clock -60mhz-) unsigned int cnt1; void main(void) { /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/


Explain timers use in ADC and SPI

Started by TA1T in Freescale DSPs17 years ago 1 reply

Hello, The Quad timer is required for the ADC module and the SPI module for generating sync pulses. However, could...

Hello, The Quad timer is required for the ADC module and the SPI module for generating sync pulses. However, could somebody please explain what the sync pulses do with regards to the ADC and the SPI modules. (Or how the quad timer is used in these ap


counting a LOT of quadrature inputs with 56F807

Started by kiha...@gmail.com in Freescale DSPs14 years ago 1 reply

Hi, I'm trying to build a board with 56F807, which can count 7 different quadrature inputs if I use quad timers and quad decoders. But I would...

Hi, I'm trying to build a board with 56F807, which can count 7 different quadrature inputs if I use quad timers and quad decoders. But I would like to have an option to count from more than 7 quadrature inputs. So I programmed a 4-state (00, 01, 11, 10) finite state-machine, which takes inputs from one of the GPIO pins, and polled at a set frequency. For example, if the previous input was 0


Measuring PWM with DSP56F80x

Started by Bende Georg in Freescale DSPs17 years ago 2 replies

Hello all, I'm trying to measure the duty percentage of a PWM signal in the range of 200Hz-2KHz. I configured 2 timer...

Hello all, I'm trying to measure the duty percentage of a PWM signal in the range of 200Hz-2KHz. I configured 2 timer channels in the following way: /*. Quad Timer A0 configuration ---------------------------- Count mode: Edge of 2nd source triggers pr


Unhandled interrupt message?

Started by Nitin Madhukar Yewale in Freescale DSPs17 years ago 8 replies

Hi, I am using Quad timers and doing floating point calculation. [56F827] I am getting following message while debugging my...

Hi, I am using Quad timers and doing floating point calculation. [56F827] I am getting following message while debugging my code. how to know which interrupt is not handled? if divide by zero interrupt occurs then how will I know about the same?


56F827 ADC SYNC

Started by Papa__J in Freescale DSPs18 years ago 2 replies

I have been unable to find much information regarding the connection of the quad timer modual to the ADC sync input in the 826/827...

I have been unable to find much information regarding the connection of the quad timer modual to the ADC sync input in the 826/827 users manual. Specificaly, I was trying to discover if an exernal source could be used to trigger the ADC SYNC (I don't think so). Also, is this SYNC alw


do Ineed to use a timer if using the SPI as a slave?

Started by TA1T in Freescale DSPs17 years ago 1 reply

I am using the SPI module on the dsp56f827 as a slave. It reads data on the MOSI but doesnt send anything back to the master on...

I am using the SPI module on the dsp56f827 as a slave. It reads data on the MOSI but doesnt send anything back to the master on the MISO.Do i need to use a quad timer at all. if so WHY,and what frequency should i set the timer to?


ADC sync with PWM

Started by Bruno Tremblay in Freescale DSPs17 years ago 1 reply

Hi, I'm trying to use the synchronization feature of the ADC with PWM on a DSP56F805 and I don't find user manual clear on this...

Hi, I'm trying to use the synchronization feature of the ADC with PWM on a DSP56F805 and I don't find user manual clear on this subject. Form what I can understand, the PWM outputs a synchronization pulse connected as an input to the quad timer module C, input of TC2 at each r


Quadtimer and TOD combined usage giving linker error.

Started by Nitin Madhukar Yewale in Freescale DSPs18 years ago 1 reply

Hi, I am using codewarrior for firmware development of 56F827. I want to use Quad timers and TOD so for that I have modifed...

Hi, I am using codewarrior for firmware development of 56F827. I want to use Quad timers and TOD so for that I have modifed appconfig.h file. #define INCLUDE_QUAD_TIMER /* Quadrature timer support */ #define INCLUDE_TIME_OF_DAY After including both I am gett


Quad Timer question

Started by Chad Beauregard in Freescale DSPs18 years ago

Here's an example of what I need to do: Suppose there's a motor with a toothed wheel (so you can determine it's exact position)...

Here's an example of what I need to do: Suppose there's a motor with a toothed wheel (so you can determine it's exact position) and a user operated pushbutton. I need to determine exactly at what motor position the operator pressed the button. I have the pulse train from the t