- Hands-On Embedded Programming with C++17
- Maya Posch
- 218字
- 2021-08-20 10:20:48
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.
- FPGA從入門(mén)到精通(實(shí)戰(zhàn)篇)
- 新型電腦主板關(guān)鍵電路維修圖冊(cè)
- 電腦維護(hù)與故障排除傻瓜書(shū)(Windows 10適用)
- 電腦軟硬件維修大全(實(shí)例精華版)
- Mastering Delphi Programming:A Complete Reference Guide
- Effective STL中文版:50條有效使用STL的經(jīng)驗(yàn)(雙色)
- 深入淺出SSD:固態(tài)存儲(chǔ)核心技術(shù)、原理與實(shí)戰(zhàn)(第2版)
- Mastering Manga Studio 5
- CC2530單片機(jī)技術(shù)與應(yīng)用
- 筆記本電腦應(yīng)用技巧
- Hands-On Motion Graphics with Adobe After Effects CC
- FL Studio Cookbook
- FreeSWITCH Cookbook
- Intel FPGA權(quán)威設(shè)計(jì)指南:基于Quartus Prime Pro 19集成開(kāi)發(fā)環(huán)境
- FPGA實(shí)戰(zhàn)訓(xùn)練精粹