TWI problem: master read via PDCA on UC3B

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi there,

Using a UC3B0256 with a TWI Accelometer, I'm trying to unload the processor using the PDCA (DMA).
This works fine for write.
But at reading, I can't convince the TWI/PDCA to produce a stop condition after the transfer.
Reading is the main task in my application.

Is it a feasible way, to transfer n-1 bytes by PDCA and the last byte by ISR?
The atmel docu is some kind of optimized at PDCA usage with TWI. (saving PDF-space)

If you managed to get the TWI read working with PDCA on UC3B, I would be very happy to hear about it and how you did.

Best regards,