This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

TWI - Easy DMA

Hi,

I have some troubles using TWI easy DMA. I set EASY_DMA flag to 1, but I can't see any results in my performance tests. Can anyone explain me the required steps?

Thanks!

Parents
  • Hi Roei,

    What frequency have you configured the TWI bus to run at?

    If you are able to transfer 24 bytes every 1 ms, this corresponds to 192 kbit/s. The maximum supported frequency of the TWI peripheral is 400 kbit/s.

    With the handshaking on the bus and other overhead in the peripheral, this throughput might not be that far from the limit.

    How large packets do you send in each transfer?

Reply
  • Hi Roei,

    What frequency have you configured the TWI bus to run at?

    If you are able to transfer 24 bytes every 1 ms, this corresponds to 192 kbit/s. The maximum supported frequency of the TWI peripheral is 400 kbit/s.

    With the handshaking on the bus and other overhead in the peripheral, this throughput might not be that far from the limit.

    How large packets do you send in each transfer?

Children
Related