- 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.
- 零點起飛學Xilinx FPG
- Istio入門與實戰
- 網絡服務器配置與管理(第3版)
- 龍芯應用開發標準教程
- Applied Unsupervised Learning with R
- Creating Dynamic UI with Android Fragments
- Effective STL中文版:50條有效使用STL的經驗(雙色)
- Deep Learning with PyTorch
- 現代辦公設備使用與維護
- 數字邏輯(第3版)
- Source SDK Game Development Essentials
- Hands-On Deep Learning for Images with TensorFlow
- IP網絡視頻傳輸:技術、標準和應用
- USB應用分析精粹:從設備硬件、固件到主機端程序設計
- Drupal Rules How-to