chapter 3 raspberri and hardware
chapter 3 raspberri and hardware
TV Output: AV Out
LCD Interface: 40 pin (2.0 mm) and 41 pin connector for FriendlyARM Displays and
VGA Board
Expansion: 40 pin System Bus, 30 pin GPIO, 20 pin SDIO (SD, SPI, I2C), 10 pin
Buttons (2.0 mm)
Power: regulated 5V
OS Support
o Windows CE 6
o Linux
o Android
o Ubuntu
FEATURES:
ARCHITECTURE:
On-chip MPLL and UPLL: UPLL generates the clock to operate USB
Host/Device. MPLL generates the clock to operate MCU at maximum 400MHz @ 1.3V.
Clock can be fed selectively to each function block by software.
Power mode: Normal, Slow, Idle, and Sleep mode
o Normal mode: Normal operating mode
o Slow mode: Low frequency clock without PLL
o Idle mode: The clock for only CPU is stopped.
o Sleep mode: The Core power including all peripherals is shut down.
Woken up by EINT[15:0] or RTC alarm interrupt from Sleep mode
3.11 INTERRUPT CONTROLLER
60 Interrupt sources (One Watch dog timer, 5 timers, 9 UARTs, 24 external interrupts, 4
DMA, 2 RTC, 2 ADC, 1 IIC, 2 SPI, 1 SDI, 2 USB, 1 LCD, 1 Battery Fault, 1 NAND and
2 Camera), 1 AC97
Level/Edge mode on external interrupt source
Programmable polarity of edge and level
Supports Fast Interrupt request (FIQ) for very urgent interrupt request
3.12 TIMER WITH PULSE WIDTH MODULATION (PWM)
4-ch 16-bit Timer with PWM / 1-ch 16-bit internal timer with DMA-based or interrupt-
based operation
Programmable duty cycle, frequency, and polarity
Dead-zone generation
Supports external clock sources
3.13 RTC (REAL TIME CLOCK)
Full clock feature: msec, second, minute, hour, date, day, month, and year
32.768 KHz operation
Alarm interrupt
Time tick interrupt
3.14 GENERAL PURPOSE INPUT/OUTPUT PORTS
Supports 3 types of STN LCD panels: 4-bit dual scan, 4-bit single scan, 8-bit single scan
display type
Supports monochrome mode, 4 gray levels, 16 gray levels, 256 colors and 4096 colors
for STN LCD
Supports multiple screen size
o Typical actual screen size: 640x480, 320x240, 160x160, and others.
o Maximum frame buffer size is 4 Mbytes.
o Maximum virtual screen size in 256 color
o mode: 4096x1024, 2048x2048, 1024x4096 and others
3.17 TFT(THIN FILM TRANSISTOR) COLOR DISPLAYS FEATURE
Normal, Interrupt and DMA data transfer mode (byte, halfword, word transfer)
DMA burst4 access support (only word transfer)
Compatible with SD Memory Card Protocol version 1.0
Compatible with SDIO Card Protocol version 1.0
64 Bytes FIFO for Tx/Rx
Compatible with Multimedia Card Protocol version 2.11
3.27 SPI INTERFACE
Fclk Up to 400MHz
Hclk Up to 136MHz
Pclk Up to 68MHz
HARDWARE COMPONENTS
Raspberry Pi Basic Hardware
Extra Hardware You Will Need
• The Raspberry Pi board contains a processor and graphics chip, program memory (RAM)
and various interfaces and connectors for external devices. Some of these devices are
essential, others are optional. It operates in the same way as a standard PC, requiring a
keyboard for command entry, a display unit and a power supply.
Cables
You will need one or more cables to connect up your RPi system.
Video cable alternatives:
HDMI-A cable
HDMI-A cable + DVI adapter
Composite video cable
Composite video cable + SCART adaptor
Audio cable (not needed if you use the HDMI video connection to a TV)
Ethernet/LAN cable
Internet Connectivity
This may be via an Ethernet/LAN cable (standard RJ45 connector) or a USB WiFi
adaptor.
The Rpi Model B Ethernet port is auto-sensing which means that it may be connected to a
router or directly to another computer (without the need for a crossover cable).
Ethernet :
Systems communicating over Ethernet divide a stream of data into individual packets
called frames. Each frame contains source and destination addresses and error-checking data
so that damaged data can be detected and re-transmitted.
The standards define several wiring and signaling variants. The original 10BASE5
Ethernet used coaxial cable as a shared medium. Later the coaxial cables were replaced by
twisted pair and fiber optic links in conjunction with hubs or switches. Data rates were
periodically increased from the original 10 megabits per second, to 100 gigabits per second.
ETHERNET CABLE RJ45
Since its commercial release, Ethernet has retained a good degree of compatibility.
Features such as the 48-bit MAC address and Ethernet frame format have influenced other
networking protocols
Ethernet initially competed with two largely proprietary systems, Token Ring and Token Bus.
Because Ethernet was able to adapt to market realities and shift to inexpensive and ubiquitous
twisted pair wiring, these proprietary protocols soon found themselves competing in a market
inundated by Ethernet products and by the end of the 1980s, Ethernet was clearly the
dominant network technology. In the process, 3Com became a major company. 3Com shipped
its first 10 Mbit/s Ethernet 3C100 transceiver in March 1981, and that year started selling
adapters for PDP-11s and VAXes, as well as Multibus-based Intel and Sun Microsystems
computers. This was followed quickly by DEC's Unibus to Ethernet adapter, which DEC sold and
used internally to build its own corporate network, which reached over 10,000 nodes by 1986,
making it one of the largest computer networks in the world at that time. Evolution:
Ethernet evolved to include higher bandwidth, improved media access control methods,
and different physical media. The coaxial cable was replaced with point-to-point links
connected by Ethernet repeaters or switches to reduce installation costs, increase reliability,
and improve management and troubleshooting. Many variants of Ethernet remain in common
use.
Ethernet stations communicate by sending each other data packets: blocks of data
individually sent and delivered. As with other IEEE 802 LANs, each Ethernet station is given a
48-bit MAC address. The MAC addresses are used to specify both the destination and the
source of each data packet. Ethernet establishes link level connections, which can be defined
using both the destination and source addresses. On reception of a transmission, the receiver
uses the destination address to determine whether the transmission is relevant to the station
or should be ignored. Network interfaces normally do not accept packets addressed to other
Ethernet stations. Adapters come programmed with a globally unique address. An Ethertype
field in each frame is used by the operating system on the receiving station to select the
appropriate protocol module (i.e. the Internet protocol module). Ethernet frames are said to be
self-identifying, because of the frame type. Self-identifying frames make it possible to intermix
multiple protocols on the same physical network and allow a single computer to use multiple
protocols together. Despite the significant changes in Ethernet, all generations of Ethernet
(excluding early experimental versions) use the same frame formats (and hence the same
interface for higher layers), and can be readily interconnected through bridging.
SNMP (Simple Network Management Protocol) Open system (therefore allows equipment
of different specifications)
Each one connected to a common communication channel in the network listens and if the
channel is idle then transmits. If not idle, waits and tries again.
Multi access is like in a Packet switched network
5.11 Ethernet LAN
Then there are six bytes. These are for the type field. These are meaningful only for the
higher network layers and the length definition.
Minimum 72 bytes and maximum 1500 bytes of data follow the length definition.
Lastly, there are 4 bytes for CRC check for the frame sequence check
5.15 UVC CAMERA
A UVC (or Universal Video Class) driver is a USB-category driver. A driver enables a device,
such as your webcam, to communicate with your computer’s operating system. And USB (or
Universal Serial Bus) is a common type of connection that allows for high-speed data transfer.
Devices that are equipped with a UVC driver, such as the Logitech® QuickCam® Pro 9000 for
Business, are capable of streaming video.
In other words, with a UVC driver, you can simply plug your webcam into your computer and
it’ll be ready to use.
5.15.2What does a UVC driver have to do with my webcam being plug and play?
It is the UVC driver that enables the webcam to be plug and play. A webcam with a UVC driver
does not need any additional software to work.
Once you plug your webcam in, it can work with a video-calling application, such as Skype®,
Windows Live Messenger®, or Microsoft Office® Communicator.
The one included with the installation disc that came with your product. For your
webcam to work properly, this driver requires some time to install. It is specifically tuned
for your webcam, designed by your webcam manufacturer and optimized for webcam
performance.
A UVC driver
You can only use one driver at a time, but either one will allow you to use your webcam with
various applications.
5.15.4 The following Logitech webcams support UVC:
Most current operating systems support UVC. Although UVC is a relatively new format, it is
quickly becoming common.
There are more environments that support UVC, but what follows is a listing of the most
common:
5.15.6 Windows:
5.15.7 Mac:
5.15.8 Linux:
There are many different versions of Linux. Please check with your distribution vendor to
determine if your version supports UVC.