- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
18 Mbps is a datasheet spec, optimum I would venture, like the counters,
and timing can only get worse due to routes.
Regards, Dana.