Reply by gaecap1 December 18, 20022002-12-18
Hi all!
I'm a beginner with the Analog DSP's. I have a problem with the EZ-
LAB kit. I would observe some signal through the expansion port on
the platform, i.e. if I put in the universal register r0 the number
0xfffffff how I can and what have I to do to watch this signal on the
expantion?
I have written the following code but I don't observe nothing. #include "def21065l.h"

/*********************************************************************
*********************/
.SEGMENT/PM INTERRUPT;

BIT CLR IMASK 0x20000; /*disabilito l'interrupt di EPB1*/
JUMP CALCOLA;

.ENDSEG;
/*********************************************************************
********************/

.SEGMENT/PM pm_data;
.PRECISION 40;
.ROUND_NEAREST; USTAT2=0x2000;
DM(DMAC0)=USTAT2;

BIT SET MODE2 0x40; ustat1 = dm(SYSCON); /* Clear Buffer Hang
Disable*/
bit clr ustat1 BHD; /* for rev 0.0
*/
bit set ustat1 0x0400;
bit set ustat1 0x0200;
bit set ustat1 0x0100;
bit clr ustat1 0x020;
dm(SYSCON) = ustat1;
R7=0xffffffff;
DM(EPB0)= R7;
r0=0x00e5;
DM(DMAC0)=r0;

idle;
...
...
Could you help me with an example code?
Have I to set up the jumpers on the platform in some way?
What pins I have to assert to observe something?
Thank you for your eventual interesting .

Regards Gae.