Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

Re: [68300] 68336 PWM Interrupt question

2003-03-05 by John Mermigis

First of all the TPU issues one interrupt of its own and internally administers of which channel sould that be
If I remember well (I don't have the manual at hand right now) you must set the CISR to point to the first vector of TPU interrupts (should be 80).It means that channel 0 shall activate the ISR pointed by vec.80 ch.1-> 81 etc.
I don't really know if the PWM interrupt shall occur after of before the edge but consider this: perhaps the interrupts occurrs and immediatelly after that the edge rises. Most cases the ISR won't have completed.
Try search the motorola site (e-www.motorola.com) for application notes about PWM (PN17 i think) and engineering bulletins. They offered a great help to me
 Erik Wise <purple_puma@...> wrote:Presently I am using a TPU Channel to generate a PWM signal, and it 
works as I would like.  However, if possible I would like an 
interrupt to be generated on each rising and falling edge.  In the 
manual, there is a description of what bits to set to either assert 
or not assert an interrupt, but that is about it.  What interrupt 
vecter will be generated if I configure it to assert an interrupt?(I 
would use an ISR)  What edge will it be asserted on?  Will the 
interrupt fire immediately after the edge or before?  

Thanks,
Erik


Yahoo! Groups SponsorADVERTISEMENT

---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com

To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.