Hot!Where did DMA go, in dsPIC 33EP128GS702 ?

Page: < 12345 Showing page 5 of 5
Author
CinziaG
rome burns :D
  • Total Posts : 3060
  • Reward points : 0
  • Joined: 2016/12/07 14:20:36
  • Location: Wien
  • Status: offline
Re: Where did DMA go, in dsPIC 33EP128GS702 ? 2017/09/12 14:28:33 (permalink)
0
How came, PIC32MZ lost their VCap capacitor? Smile
well, good
#81
CinziaG
rome burns :D
  • Total Posts : 3060
  • Reward points : 0
  • Joined: 2016/12/07 14:20:36
  • Location: Wien
  • Status: offline
Re: Where did DMA go, in dsPIC 33EP128GS702 ? 2017/09/13 15:53:11 (permalink)
0
little PIC32MZ board up and running!
 
Does anyone know better than me...
if this code (from the forum)

  StartTime = ReadCoreTimer();
  while ( (DWORD )(ReadCoreTimer() - StartTime) < DelayCount )
    ClrWdt();

 
executing in 4uSec as I set DelayCount to 400 ... means I'm running @200MHz or - more probably - @100? 10nS per instruction...
 
Strange, in this case: I set the Oscillator for 200MHz, at least I think so, and I also added the Performance settings as above...
#82
simong123
Lab Member No. 003
  • Total Posts : 1081
  • Reward points : 0
  • Joined: 2012/02/07 18:21:03
  • Location: Future Gadget Lab (UK Branch)
  • Status: online
Re: Where did DMA go, in dsPIC 33EP128GS702 ? 2017/09/14 00:12:16 (permalink)
5 (1)
If my math is right, 4us is correct for 200MHz (2 * 400/200MHz). The core timer runs at Fcpu/2.
#83
CinziaG
rome burns :D
  • Total Posts : 3060
  • Reward points : 0
  • Joined: 2016/12/07 14:20:36
  • Location: Wien
  • Status: offline
Re: Where did DMA go, in dsPIC 33EP128GS702 ? 2017/09/14 01:25:27 (permalink)
0
Oh I see: I was almost sure about the PLL, but did not consider Core Timer running at 1/2 - I was assuming it was like RDTSC instruction in 80386 Smile
 
so, thanks, am going on!
#84
CinziaG
rome burns :D
  • Total Posts : 3060
  • Reward points : 0
  • Joined: 2016/12/07 14:20:36
  • Location: Wien
  • Status: offline
Re: Where did DMA go, in dsPIC 33EP128GS702 ? 2017/09/14 14:16:02 (permalink)
0
At a first draft, 6bit (64 points) FFTComplex32 takes 21uS and 128 point takes 50uS.
 
So, that would be good enough for the radio. If ADC-DMA do work wink
#85
Page: < 12345 Showing page 5 of 5
Jump to:
© 2017 APG vNext Commercial Version 4.5