Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
Hi all, I have the following problem, so to say: How can I setup highest priority of GP Timer 1 Compare interrupt (T1CINT) to CPU Timer0 (TINT0) interrupt. I need to service T1CINT immediatly (stop the ISR relative to TINT0 if necessary) and then return back and continue TINT0 ISR. Thanks in advance. Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467 You can post a message or access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________
Hi, you can't change priorities of interrupts. However you can enable some other interrupts in ISR. In ISR all interrupts are disabled by default (DINT;). If you want tint1 to interrupt tint0, you must set IER in tint0 ISR to define which interrupts are allowed during tint0 ISR, then enable interrupts (EINT;) in tint0 ISR. All interrupts enabled in IER will be now possible to interrupt tint0 ISR. But there still will be small delay. JkH sta_enev napsal(a): > Hi all, > > I have the following problem, so to say: > > How can I setup highest priority of GP Timer 1 Compare interrupt > (T1CINT) to CPU Timer0 (TINT0) interrupt. I need to service T1CINT > immediatly (stop the ISR relative to TINT0 if necessary) and then > return back and continue TINT0 ISR. > > Thanks in advance. Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467 You can post a message or access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________
When entering an interrupts, you choose explicitely which interrupts will=20 be authorized (all are disabled by default). It is flexible, but you must write all yourself. Note that this does not work this way with DSP-BiOS. Envoy=E9 par : c...@yahoogroups.com Pour : c...@yahoogroups.com cc :=20=20=20=20=20 Objet : [c28x] Interrupt priorities F2812 Hi all, I have the following problem, so to say: How can I setup highest priority of GP Timer 1 Compare interrupt=20 (T1CINT) to CPU Timer0 (TINT0) interrupt. I need to service T1CINT=20 immediatly (stop the ISR relative to TINT0 if necessary) and then=20 return back and continue TINT0 ISR.=20 Thanks in advance. Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Tr= anscoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm64= 67 You can post a message or access and search the archives of this group on D= SPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________ =20