Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
Hello all. I am trying to trigger an HWI via McBSP0 transmit but am unable to do so. I have my system designed to perform some numerical analysis on an input signal (input signal coming from McBSP0 receive) and once the signal meets a specific condition, the system would emit ready signal out of a speaker via McBSP0 transmit. I thought one way to activate the HWI (I selected HWI_INT10 from the DSP/BIOS configuration tool with its interrupt source set to McBSP0 transmit along with a ISR to execute when activated. Note that I have checked the dispatcher to avoid programming in the HWI_enter and HWI_exit function) was to set the McBSP0 transmit register (at address 0x018c0004) everything a threshold is met. However, that did not activate an HWI. Do I have to use PIP objects to activate the HWI (via pip_put function for example)? All comments, advices, and suggestions are welcome. Regards, A. Feynman |
|
|
|
Have you enable the transmit Interrupts on the port itself? Bits 21 and 20 of the SPCR configure the McBSP transmit interrupts. -Devin -----Original Message----- From: [mailto:] Sent: Thursday, November 01, 2001 4:06 PM To: Subject: [c6x] Having difficulty trigger an HWI via McBSP0 transmit Hello all. I am trying to trigger an HWI via McBSP0 transmit but am unable to do so. I have my system designed to perform some numerical analysis on an input signal (input signal coming from McBSP0 receive) and once the signal meets a specific condition, the system would emit ready signal out of a speaker via McBSP0 transmit. I thought one way to activate the HWI (I selected HWI_INT10 from the DSP/BIOS configuration tool with its interrupt source set to McBSP0 transmit along with a ISR to execute when activated. Note that I have checked the dispatcher to avoid programming in the HWI_enter and HWI_exit function) was to set the McBSP0 transmit register (at address 0x018c0004) everything a threshold is met. However, that did not activate an HWI. Do I have to use PIP objects to activate the HWI (via pip_put function for example)? All comments, advices, and suggestions are welcome. Regards, A. Feynman _____________________________________ |