Re: generating periodic interrupts in tpu
sinil boga <[email protected]> Fri, 18 Aug 2006 21:53:27 -0700 (PDT)
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi There are 3 ways to implement 1. Using Output comapre mode with host initiated 2. Using Output compare mode with links 2. Emulation mode 1. Using Output Compare mode load required compare value, enable interrupt and send Host initiated service request. Then in ISR you have to load again same compare value and send host service request. 2. you can use continuous mode using output compare function(interrupts enabled) by generating link from another channel(input capture function). 3. Emulation mode: I prefer this mode. Because you can write simple microcode and compile it with tpumasm.exe and convert .s19 file into another file which contain the microcode data. Then include the converted file into your application code. Then load that total array into TPU DPRAM and enable emulation mode. regards Sinil. B sindhu_grandhi <[email protected]> wrote: Hi group, Im working on MPC555 axiom board with CW8.1 compiler. Im trying to generate periodic interrupts for every 0.75 millisecs using the TPU module. Can anyone please suggest me how to start with? Is it sufficient if I just make a channel interrupt-enabled. If so, how can I generate interrupt for every 0.75millisecs?? Please help me ASAP.Need help big time..Its greatly appreciated. Thanks in advance, Sindhu. --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. [Non-text portions of this message have been removed] ----------------------------------------------------------- To learn more about Freescale Microcontrollers, please visit http://www.freescale.com/mcu Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MPC500/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/