GPIO speed in CY8C3866AXI-039

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

cross mob
Anonymous
Not applicable

Hello all,

   

I want to receive data serially on GPIO pin at a speed of 10MHz.

   

is it possible to send and receive data from GPIO pin serially at a speed of 10Mhz?

   

I am running the processor at a speed of 67MHz i.e maximum CPU speed.

   

what maximum speed a gpio pin can operate without loosing data?

   

Please guide.

   

regards.

0 Likes
5 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This covers GPIO speed -

   

 

   

www.cypress.com/    AN72382

   

 

   

Regards, Dana.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored
        When talking about serial data, is it with fixed word length? Because then you can use the SPI component which operates up to 40MHz clock speed.   
When you are able to have most of the speed-sensitive stuff done in hardware, your GPIO speed is determined by a) the bus clock (up to 67MHz) and b) your hardware implementation, which might lower this frequency   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Poster probably not looking anymore, so I too will talk to a ghost.

   

 

   

SPI, you are limited to 18 Mbs per datasheet, 3 - 16 bits per transmission.

   

Note I set rate at 19 Mbps, and it did not flag error, so something inconsistent..

   

 

   

Also if you choose to use Tx, Rx interrupts, thats pretty fast at 10 Mbps, low

   

data width burst, so beware of that as an issue, eg ISR response time, dropped

   

data, etc..

   

 

   

Regards, Dana.

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

The maximum speed is determined by the timing limitations of the UDBs / PLDs. So in certain circumstances you can get higher speed because the hardware can be optimized better. I guess the 19MHz (I just remembered wrong 😞 seems like the worst case.

   

Or it is just that Creator got better in routing the UDBs so you get better timing now...

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

18 Mbps is a datasheet spec, optimum I would venture, like the counters,

   

and timing can only get worse due to routes.

   

 

   

Regards, Dana.

0 Likes