04-02-2014 03:04 AM
04-02-2014 11:11 AM
04-03-2014 02:30 AM
Thanks for the quick reply. To answer your questions:
- Are the interrupt lines from the CDMA hooked up to the GIC in hardware? - Yes, there is one interrupt line connected directly to IRQ_F2P, should I be using an AXI interrupt handler?
- Have you enabled interrupts in the CDMA registers? - See below
- Have you enabled interrupts in GIC? - See below
- Have you registered your handler with GIC? - See below
For the 3 previous questions: I am using the exact same program (provided with the file ug873-zynq-ctt.pdf) and I assume the registers are being set correctly as the same code works with the XPS system.
- Do you have any errors in the CDMA status registers indicating that a transfer failed for some reason? - Not that I can see, no
- Do you see Memory-mapped accesses being attempted once you kick off the transfers (via Vivado Logic Analyzer) - Yes, but no interrupt is ever produced - I put a trigger on the intrrupt line in logic-analyser which never fires
- Do you see all the data in your buffers in software? - No
The Vivado project includes the exported SDK files as well as the code if you have a few minutes to check. It hsould be passed implementation and ready to run.
04-03-2014 05:03 AM
I have tried to recreate the Vivado project with the most basic components. Exported to SDK and then created a bare bones app based on the 'Periperal Tests' template. All tests pass except the CDMA one. If you open the test app you can see. The test app uses polling, so it doesn't seem to be an interrupt thing.
There must be something wrong with the hardware setup but it's very simple and I can't find it. Any ideas?