| View previous topic :: View next topic |
| Author |
Message |
jstaudinger
Joined: 29 Mar 2012 Posts: 1
|
Posted: Thu Mar 29, 2012 1:45 pm Post subject: Alerts |
|
|
I am trying modify some of the alerts so that I can use them for other purposes in the FPGA. It seems straight forward, but I have only been able to get Alert 1- software driven alert to work.
I tried modifying the DAC trigger alert by setting the Alert(25) to a 1hz counter instead of the dac_alert signals. Then I set Alert_Data(25) to a value like 0xBA55. When I run the Wave example project and I enable the trigger alert check box I would expect to see a printout with 0xBA55 in it every 1s but I dont. I verified with a logic analyzer that the 1hz signal is correct, and when I do the same thing with Alert(1) everything works.
Is there something with the alerts that I am missing? _________________ JS |
|
| Back to top |
|
 |
jhenderson Site Admin
Joined: 07 Mar 2006 Posts: 2252 Location: So. Cal. USA
|
Posted: Fri Mar 30, 2012 8:22 am Post subject: |
|
|
There are two aspects to adding a custom alert: Firmware and software. So, even though you may have modified the firmware properly to generate a custom alert, it sounds like you have not handled the software requirements.
See the thread at http://www.innovative-dsp.com/forum/viewtopic.php?t=980&highlight=alerts for a discussion of the software techniques needed to hook a custom alert within application code. |
|
| Back to top |
|
 |
|