官术网_书友最值得收藏!

Custom peripherals and drivers

A peripheral is defined as an ancillary device that adds I/O or other functionality to a computer system. This can be anything from an I2C, SPI, or SD card controller to an audio or graphics device. Most of those are part of the physical SoC, with others added via interfaces that the SoC exposes to the outside world. Examples of external peripherals would be RAM (via the RAM controller) and a real-time clock (RTC).

One issue that one will likely encounter when using cheaper SBCs such as the Raspberry Pi, Orange Pi, and countless similar systems is that they usually lack an RTC, meaning that when they are powered off, they no longer keep track of the time. The thought behind this is usually that those boards will be connected to the internet anyway, so the OS can use an online time service (Network Time Protocol, or NTP) to synchronize the system time, thus saving board space.

One might end up using an SBC in a situation where no internet connection is available, or where the delay before online time synchronization is unacceptable, or any of a myriad of other reasons. In this case, one may want to add an RTC peripheral to the board and configure the OS to make use of it.

主站蜘蛛池模板: 平阳县| 玉环县| 浪卡子县| 石阡县| 磴口县| 印江| 乌拉特中旗| 称多县| 栾城县| 南涧| 彝良县| 佛冈县| 平果县| 靖安县| 洪湖市| 临泉县| 和林格尔县| 靖边县| 苍梧县| 巴彦县| 萍乡市| 曲水县| 福清市| 盐津县| 台南县| 高要市| 特克斯县| 黄石市| 赫章县| 中卫市| 明水县| 华容县| 巴青县| 志丹县| 漠河县| 乳源| 达拉特旗| 五莲县| 清涧县| 富源县| 库尔勒市|