Async Serial Transmission using the Video Hardware
Brian Fairchild
Posts: 549
Has anyone done much work on using the video hardware for async serial comms? Nothing obvious showed up with a forum search.
I've put together a proof-of-concept in PASM using the video shifter to output a long to a single pin a bit at a time, giving the possibility of 3 bytes per WAITVID. It strikes me as a very efficient way to handle async tx but I can't believe I'm the first one to try this.
Using WAITVID means that program execution will stall which makes full duplex in a single COG interesting although as long as you can engineer arriving at the WAITVID just before it will be executed then you can minimise any latency.
I've put together a proof-of-concept in PASM using the video shifter to output a long to a single pin a bit at a time, giving the possibility of 3 bytes per WAITVID. It strikes me as a very efficient way to handle async tx but I can't believe I'm the first one to try this.
Using WAITVID means that program execution will stall which makes full duplex in a single COG interesting although as long as you can engineer arriving at the WAITVID just before it will be executed then you can minimise any latency.
Comments
Post Edited (kuroneko) : 4/13/2009 8:49:05 AM GMT