Maximum parallel input speed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HuEl_264296
Level 5
Level 5
First like given 25 sign-ins First solution authored

 If I wanted to clock 8-bit parallel data into the PSoC5 and store it in RAM, what's the theoretical maximum rate I could do that?

   

Could I clock in bytes at 67MHz?

   

 

   

Many thanks

   

Hugo Elias

0 Likes
1 Reply
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Short answer: Yes and no (or: it depends :).

   

Long answer: you might want to read the PSoC5 family data sheet and the PSoC5 architecture TRM. Both make no limits to the DMA speed (at least I could not find a direct reference to such a limit). But the application note AN52705 contains an important hint (page 10): the DMA latency can get an issue.

   

First, the latency affects how fast your transfer starts.

   

Second, it affects chaining of TDs. You can transfer up to 127 bytes in a single burst, and up to 4095 bytes in a single transfer (if you don't use bursts, all 4095 bytes should get transferred in a row). Anything larger than that will need multiple TDs, and then you have a delay between them.

   

So the long answer is: until you don't want to transfer more than 4095 bytes, you should be fine with the maximum speed. But anything larger than that will cause problem.

   

Note that this is solely from skimming through the documentation, so someone more knowledgeable with the PSoC5 might want to correct me 🙂

0 Likes