Emulating a synchronous serial - 免费下载

单片机编程资源 文件大小:98 K

📋 资源详细信息

文件格式
PDF
所属分类
上传用户
上传时间
文件大小
98 K
所需积分
2 积分
推荐指数
⭐⭐⭐⭐⭐ (5/5)

💡 温馨提示:本资源由用户 guoliushuan 上传分享,仅供学习交流使用。如有侵权,请联系我们删除。

资源简介

The C500 microcontroller family usually provides only one on-chip synchronous serial
channel (SSC). If a second SSC is required, an emulation of the missing interface may
help to avoid an external hardware solution with additional electronic components.
The solution presented in this paper and in the attached source files emulates the most
important SSC functions by using optimized SW routines with a performance up to 25
KBaud in Slave Mode with half duplex transmission and an overhead less than 60% at
SAB C513 with 12 MHz. Due to the implementation in C this performance is not the limit
of the chip. A pure implementation in assembler will result in a strong reduction of the
CPU load and therefore increase the maximum speed of the interface. In addition,
microcontrollers like the SAB C505 will speed up the interface by a factor of two because
of an optimized architecture compared with the SAB C513.
Moreover, this solution lays stress on using as few on-chip hardware resources as
possible. A more excessive consumption of those resources will result in a higher
maximum speed of the emulated interface.
Due to the restricted performance of an 8 bit microcontroller a pin compatible solution is
provided only; the internal register based programming interface is replaced by a set of
subroutine calls.
The attached source files also contain a test shell, which demonstrates how to exchange
information between an on-chip HW-SSC and the emulated SW-SSC via 5 external wires
in different operation modes. It is based on the SAB C513 (Siemens 8 bit microcontroller).
A table with load measurements is presented to give an indication for the fraction of CPU
performance required by software for emulating the SSC.

立即下载此资源

提示:下载后请用压缩软件解压,推荐使用 WinRAR 或 7-Zip

资源说明

📥 下载说明

  • 下载需消耗 2积分
  • 24小时内重复下载不扣分
  • 支持断点续传
  • 资源永久有效

📦 使用说明

  • 下载后用解压软件解压
  • 推荐 WinRAR 或 7-Zip
  • 如有密码请查看说明
  • 解压后即可使用

🎁 积分获取

  • 上传资源获得积分
  • 每日签到免费领取
  • 邀请好友注册奖励
  • 查看详情 →

相关标签

点击标签查看更多相关资源:

相关资源推荐