questions about using PDCA

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I have some questions about PDCA and its registers.

If I disable PDCA by:

pdca_channel->cr = AVR32_PDCA_TDIS_MASK;

will this cause all the registers of this PDCA channel to be reset to default value?

Now I use transfer complete interrupt of PDCA, so in the begining, TRC has the buffer size, and TCRR is 0. After TRC counts down to 0, the interrupt is triggered, and since TCRR is 0, the DMA will automatically stop no mater the value in MAR and MARR, right?

read ISR register will reset all three PDCA interrupt flag, right?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

anyone knows?