亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲(chóng)蟲(chóng)首頁(yè)| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

您現(xiàn)在的位置是:蟲(chóng)蟲(chóng)下載站 > 資源下載 > 單片機(jī)編程 > Emulating a synchronous serial

Emulating a synchronous serial

  • 資源大小:98 K
  • 上傳時(shí)間: 2014-01-31
  • 上傳用戶:guoliushuan
  • 資源積分:2 下載積分
  • 標(biāo)      簽: synchronous Emulating serial

資 源 簡(jiǎn) 介

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.

相 關(guān) 資 源

主站蜘蛛池模板: 股票| 吐鲁番市| 儋州市| 克拉玛依市| 廉江市| 米脂县| 余姚市| 九江县| 康定县| 全椒县| 调兵山市| 大名县| 新巴尔虎左旗| 沭阳县| 奇台县| 措勤县| 枣强县| 襄城县| 克拉玛依市| 大方县| 浦东新区| 静乐县| 建昌县| 盱眙县| 平潭县| 逊克县| 泊头市| 平果县| 阿勒泰市| 磴口县| 洪泽县| 湘阴县| 信阳市| 乃东县| 宜黄县| 齐河县| 吉安市| 正定县| 伊金霍洛旗| 舟山市| 德兴市|