Hello Im working on 21065L EZ-LAb, and I try to connect AD7865 (ADC) via EMAFE connector. I want to set up DMA to get sample, I connect DMAR1 on EOC signal from ADC. I configure my DMA register (DMAC0)=0xE01; paced master mode and I enable EPOI ISR . I want ISR at first transfer at this time only for debug purpose. Signal seems to be OK, DMAR1 toggle each End Of Conversion but never enter in ISR DMA channel configure as follow : DM(II8)=0xC1B4; // @ DM(IM8)=0x1; DM(C8)=0x1; DM(CP8)=0; DM(EI8)=0x01000001; DM(EM8)=0; DM(EC8)=0x1; Does anybody have experience in DMAR setup? Help and code example would be very appreciate. Thank's in advance Sthane |
DMAR for 21065L
Started by ●February 3, 2004