×

使用SPI作为一个额外的UART发送器_英版

消耗积分:1 | 格式:rar | 大小:547 KB | 2016-12-05

1号娃娃baby

分享资料个

It is quite common, especially when developing an application based on an entry level microcontroller, to prioritize peripheral usage based on the application's functional requirements. It may be the case that all of the available UARTs on a device are used for functional purposes, leaving no UARTs available for the developer to use for logging debug messages. This application report demonstrates an easy way to repurpose a spare SPI port on a Hercules device for use as a UART transmitter so that debug messages can still be logged to a PC COM port even when all of the hardware UARTs on the device are being used for other purposes. Several features of the Hercules SPI port make this simple to implement with minimal software overhead. This application report illustrates the concept with a Hercules RM42 LaunchPad™ but can be adapted to any Hercules device with a spare SPI or MibSPI peripheral.



声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !