USART on Propeller 2
8Steves
Posts: 2
This is late in the game, but if I could make a request for inclusion in the Propeller 2 it would be for multiple versatile buffered USARTs as configurable options for several I/O lines beyond the port used for programming.
Async ports are common in printers, keyboards, mice and PC data links (though PCs are changing to USB). Synchronous ports are very common for SPI and other protocals to communicate with I/O devices, other processors, etc. Though I'm new to the propeller world, I think a cog's resources would be much better spent supporting the I/O devices at a higher level than just bit banging serial streams and setting buffer status flags. These are common versatile chips around since the early uP days, they can help simplify code, clean up communication, and handle fast bursts. The polling mode of the propeller is much better suited to capturing a less frequent message event than every bit or potential bit on an I/O line IMHO.
Async ports are common in printers, keyboards, mice and PC data links (though PCs are changing to USB). Synchronous ports are very common for SPI and other protocals to communicate with I/O devices, other processors, etc. Though I'm new to the propeller world, I think a cog's resources would be much better spent supporting the I/O devices at a higher level than just bit banging serial streams and setting buffer status flags. These are common versatile chips around since the early uP days, they can help simplify code, clean up communication, and handle fast bursts. The polling mode of the propeller is much better suited to capturing a less frequent message event than every bit or potential bit on an I/O line IMHO.
Comments
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit the home of pPropQL, pPropQL020 and OMU for the pPropQL/020 at omnibus.uni-freiburg.de/~rp92