DSP BIOS PSP Driver Datasheet

Datasheet
BIOS PSP OMAPL138 Datasheet
01.30.01
Page 1 of 51
BIOSPSP Datasheet
This page has been intentionally left blank.
Page 2 of 51
BIOSPSP Datasheet
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make
corrections, modifications, enhancements, improvements, and other changes to its products
and services at any time and to discontinue any product or service without notice.
Customers should obtain the latest relevant information before placing orders and should
verify that such information is current and complete. All products are sold subject to TI’s
terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the
time of sale in accordance with TI’s standard warranty. Testing and other quality control
techniques are used to the extent TI deems necessary to support this warranty. Except
where mandated by government requirements, testing of all parameters of each product is
not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers
are responsible for their products and applications using TI components. To minimize the
risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted
under any TI patent right, copyright, mask work right, or other TI intellectual property right
relating to any combination, machine, or process in which TI products or services are used.
Information published by TI regarding third–party products or services does not constitute a
license from TI to use such products or services or a warranty or endorsement thereof. Use
of such information may require a license from a third party under the patents or other
intellectual property of the third party, or a license from TI under the patents or other
intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if
reproduction is without alteration and is accompanied by all associated warranties,
conditions, limitations, and notices. Reproduction of this information with alteration is an
unfair and deceptive business practice. TI is not responsible or liable for such altered
documentation.
Resale of TI products or services with statements different from or beyond the parameters
stated by TI for that product or service voids all express and any implied warranties for the
associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Copyright ©2009, Texas Instruments Incorporated
Page 3 of 51
BIOSPSP Datasheet
This page has been intentionally left blank.
Page 4 of 51
BIOSPSP Datasheet
TABLE OF CONTENTS
1
Introduction................................................................................................. 7
2
BIOSPSP Drivers - Features ......................................................................... 7
3
Performance data for BIOSPSP drivers ........................................................ 8
3.1
I2C Driver .............................................................................................9
3.2
SPI Driver ...........................................................................................13
3.3
UART Driver ........................................................................................17
3.4
BLOCKMEDIA Driver .............................................................................20
3.5
GPIO ..................................................................................................28
3.6
LCDC LIDD Driver ................................................................................29
3.7
LCDC RASTER Driver ............................................................................30
3.8
McASP Driver.......................................................................................32
3.9
McBSP Driver.......................................................................................35
3.10
Audio Interface Driver...........................................................................37
3.11
Aic3106 codec Driver............................................................................38
3.12
MMCSD Driver .....................................................................................39
3.13
NAND Driver........................................................................................41
3.14
SATA ..................................................................................................43
3.15
PSC ....................................................................................................44
3.16
EvmInit...............................................................................................45
3.17
VPIF Driver..........................................................................................46
3.18
VPIF EDC Driver...................................................................................48
3.19
UPP Driver...........................................................................................49
Page 5 of 51
BIOSPSP Datasheet
TABLE OF FIGURES
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
Figure
1 I2C Write Performance .................................................................................10
2 I2C Read performance..................................................................................11
3 SPI Write performance .................................................................................14
4 SPI Read Performance..................................................................................15
5 Uart Write Performance ................................................................................18
6 MMCSD WRITE Performance..........................................................................22
7 MMCSD READ Performance ...........................................................................23
8 NAND WRITE Performance ............................................................................24
9 NAND READ Performance..............................................................................25
10 SATA Write Performance .............................................................................26
11 SATA Read Performance .............................................................................27
12 Mcasp Read write peformance .....................................................................33
13 Mcasp latency............................................................................................34
14 Mcbsp Write performance............................................................................36
15 Upp Write Performance ...............................................................................50
1
Page 6 of 51
BIOSPSP Datasheet
1
Introduction
This PSP package consists of peripheral device drivers for the OMAPL138 device. The
drivers enable rapid software development on the OMAPL138 platform. This document
provides the performance data for each of the drivers on DSP/BIOSTM.
2
BIOSPSP Drivers - Features
 Supported Devices
o
OMAPL138
 Developed and tested on OMAPL138 EVM
 Tools used to build DSP/BIOSTM PSP drivers
o
DSP/BIOS Version 5.41.03.17
o
Code composer studio 3.3.80.11 (Service Release 10)
o
CG tools 6.1.9
 EDMA3 LLD version used – 01.11.00.03
 Drivers supported on DSP/BIOSTM:
o
I2C
o
SPI
o
UART
o
PSC
o
GPIO
o
LCD Raster
o
LCD LIDD
o
McASP
o
McBSP
o
Audio Interface
o
Aic3106 codec
o
MMCSD
o
NAND
o
SATA
o
Block Media
o
VPIF
o
UPP
Page 7 of 51
BIOSPSP Datasheet
3
Performance data for BIOSPSP drivers
The performance data for the drivers is captured in following sections
 Features supported/not supported
 Memory usage
The following statistics are taken from drivers built in release mode.
o Program memory
o Data memory (Initialized and Un-Initialized memory)
 Resource usage
o The OS and system resources consumed by each instance of the driver in
different modes are listed.
o OS resources include usage of semaphores
o System resources include usage of EDMA3 resources (channels, PaRAMs),
interrupts and timers
 I/O throughput and corresponding CPU loading numbers are captured for I2C, SPI,
UART, McASP, McBSP, LCDC Raster, MMC/SD and NAND, SATA, UPP and VPIF
drivers.
Page 8 of 51
BIOSPSP Datasheet
3.1
I2C Driver
3.1.1
Features supported
3.1.2

Multi-instantiable and re-entrant driver

Each instance can operate as a receiver and/or transmitter

Supports Polled, Interrupt and DMA Interrupt Mode of operation

Supports slave mode in Interrupt and DMA mode of operation.
Features not supported
None
3.1.3
Memory usage
Memory Statistics (Bytes)
Component
3.1.4
3.1.4.1
3.1.4.2
3.1.4.3
Data Memory
Program Memory
Total
Initialized
Un-Initialized
I2C
16512
180
1648
18340
I2c Edma
2464
64
0
2528
Total
18976
244
1648
20868
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channels
SEMAPHORES
DESCRIPTION
None
NA
Interrupt mode
DMA mode
Page 9 of 51
BIOSPSP Datasheet
3.1.5
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
Slave device: IO Expander TCA6416.
No of bytes transferred: 2 bytes.
3.1.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 1 I2C Write Performance
Page 10 of 51
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(in KHz)
100
200
400
Time Taken
(milli-sec)
0.34
0.19
0.12
Throughput
(Kbps)
57.78
101.02
162.76
CPU LOAD
(%)
72.34
76.22
80.39
Time Taken
(milli-sec)
0.32
0.18
0.11
Throughput
(Kbps)
61.81
110.76
186.01
CPU LOAD
(%)
12.38
20.98
35.65
Time Taken
(milli-sec)
0.31
0.16
0.09
Throughput
(Kbps)
63.90
119.82
221.11
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(KHz)
100
200
400
Polled mode:
Bus Frequency
(KHz)
100
200
400
3.1.5.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 2 I2C Read performance
Page 11 of 51
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(KHz)
100
200
400
Time Taken
(milli-sec)
0.35
0.22
0.15
Throughput
(Kbps)
55.07
90.42
131.38
CPU LOAD
(%)
23.17
38.21
50.69
Time Taken
(milli-sec)
0.32
0.18
0.11
Throughput
(Kbps)
60.66
109.73
180.29
CPU LOAD
(%)
14.70
26.08
43.60
Time Taken
(milli-sec)
0.32
0.17
0.10
Throughput
(Kbps)
61.94
114.89
199.30
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(KHz)
100
200
400
Polled mode:
Bus Frequency
(KHz)
100
200
400
Page 12 of 51
BIOSPSP Datasheet
3.2
SPI Driver
3.2.1
Features supported
3.2.2

Multi-instantiable and re-entrant driver

Each instance can operate as an receiver and or transmitter

Supports Polled, Interrupt and DMA Interrupt Mode of operation

Supports slave mode in Polled, Interrupt and DMA mode of operation.
Features not supported

3.2.3
NA
Memory usage
Memory Statistics (Bytes)
Component
3.2.4
3.2.4.1
3.2.4.2
3.2.4.3
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Spi
17888
314
1594
19796
Spi Edma
3808
247
0
4055
Total
21696
561
1594
23851
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channel
SEMAPHORES
DESCRIPTION
None
NA
Interrupt mode
DMA mode
Page 13 of 51
BIOSPSP Datasheet
3.2.5
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
Slave device: SPI Flash (M25P64)
No of bytes transferred: 256 bytes
3.2.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Fig: Write performance
Figure 3 SPI Write performance
Page 14 of 51
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.32
0.25
0.22
Throughput
(Kbps)
6295.91
8032.13
9302.33
CPU LOAD
(%)
34.34
44.03
51.08
Time Taken
(milli-sec)
0.30
0.29
0.29
Throughput
(Kbps)
6756.76
6802.72
6802.72
CPU LOAD
(%)
100.00
100.00
100.00
Time Taken
(milli-sec)
0.53
0.46
0.46
Throughput
(Kbps)
3802.28
4395.60
4395.60
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Polled mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
3.2.5.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 4 SPI Read Performance
Page 15 of 51
BIOSPSP Datasheet
DMA mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.32
0.25
0.21
Throughput
(Kbps)
6309.15
8042.90
9316.77
CPU LOAD
(%)
34.27
43.95
50.91
Time Taken
(milli-sec)
0.29
0.29
0.29
Throughput
(Kbps)
6864.99
6896.55
6896.55
CPU LOAD
(%)
100.00
100.00
100.00
Time Taken
(milli-sec)
0.53
0.45
0.45
Throughput
(Kbps)
3809.52
4405.29
4405.29
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Polled mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Page 16 of 51
BIOSPSP Datasheet
3.3
UART Driver
3.3.1
Features supported
3.3.2
3.3.3

Multi-instance support and re-entrant driver

Each instance supports a transmit channel and a receive channel

Supports Polled, Interrupt and DMA Interrupt Mode of operation
Features not supported

Loopback is not supported in interrupt mode

In case of time bound IO requests, on timeout the driver is not able to perform
any operations on the peripheral. (This peripheral limitation is documented in the
technical reference manual of I2C under ICMDR register).
Memory usage
Memory Statistics (Bytes)
Component
3.3.4
3.3.4.1
3.3.4.2
Data Memory
Program Memory
Total
Initialized
Un-Initialized
UART
15616
204
1328
17148
UART EDMA
1888
64
0
1952
Total
17504
268
1328
19100
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channels
Interrupt mode
Page 17 of 51
BIOSPSP Datasheet
3.3.4.3
3.3.5
DMA mode
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 1024, 8192 and 51200 bytes
Baud rate: 115200
3.3.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Figure 5 Uart Write Performance
Page 18 of 51
BIOSPSP Datasheet
DMA mode:
Buffer Size
(KB)
1.00
8.00
50.00
Time Taken
(milli-sec)
88.37
707.69
4423.62
Throughput
(bps)
104289.18
104180.62
104168.17
CPU LOAD
(%)
0.38
0.31
0.33
Time Taken
(milli-sec)
87.16
706.74
4424.51
Throughput
(bps)
105736.98
104321.64
104147.18
CPU LOAD
(%)
6.75
6.72
6.78
Time Taken
(milli-sec)
88.53
708.11
4425.88
Throughput
(bps)
104099.13
104119.66
104114.87
CPU LOAD
(%)
62.80
63.96
64.11
Interrupt mode:
Buffer Size
(KB)
1.00
8.00
50.00
Polled mode:
Buffer Size
(KB)
1.00
8.00
50.00
Page 19 of 51
BIOSPSP Datasheet
3.4
BLOCKMEDIA Driver
3.4.1
Features supported
3.4.2

Provides both Sync access for File system as well as for Raw/Sector
level access (for e.g. USB MSC Class).

Provides interfaces for Mass Storage Class devices like USB, NAND, MMC/SD
etc.

Provides support for big block sector sizes.

Supports cache alignment on unaligned buffers from application.

Provides Write Protect support and Removable media support.
Features not supported
None
3.4.3
Memory usage Raw
Memory Statistics (Bytes)
Component
3.4.4
Data Memory
Program Memory
Initialized
Un-Initialized
Total
blkmedia
9856
297
1563052
1573205
Total
9856
297
1563052
1573205
Memory usage File System
Memory Statistics (Bytes)
Component
3.4.5
3.4.5.1
3.4.5.2
3.4.5.3
Data Memory
Program Memory
Initialized
Un-Initialized
Total
blkmedia
12736
297
1563052
1576053
Total
12736
297
1563052
1576053
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
DMA mode
Page 20 of 51
BIOSPSP Datasheet
SEMAPHORES
DESCRIPTION
25
Assuming MMC0, MMC1, NAND,USB0, USB1, ATA0 and
ATA1 are attached to BlockMedia
EDMA memcopy for I/O (Filesystem) is Enabled.
EDMA memcopy for I/O (Sector level) is Enabled.
3.4.5 Brief usage of Semaphores:
1. Semaphore-1: For Block Media Event i.e. for attaching of device.
2. Semaphore-1: For Block Media Mount i.e. Mounting drives on File system.
3. Semaphores-21: For each Block Media device Semaphores-3, each for Sector I/O, File
system I/O & IOCTLs invocation.
4. Semaphores-2: Each For Block Media EDMA memcopy for File system I/O and async
(Sector Level I/O).
3.4.6
EDMA3 CHANNELS
DESCRIPTION
1
For file system access
1
For RAW access
EDMA3 PARAMS
DESCRIPTION
1
For file system access
1
For RAW access
I/O Throughput and CPU Loading for MMC/SD using Block media
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 10485760 bytes (10 MB)
Card Size: 2GB SD.
Card Make: Elite Pro.
3.4.6.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Page 21 of 51
BIOSPSP Datasheet
Figure 6 MMCSD WRITE Performance
DMA mode:
Buffer Size
(KB)
100.00
250.00
400.00
Time Taken
(seconds)
2.27
1.85
1.79
Throughput
(MBps)
4.41
5.41
5.58
CPU LOAD
(%)
1.51
1.23
1.12
Time Taken
(seconds)
22.79
10.02
6.97
Throughput
(MBps)
0.44
1.00
1.43
CPU LOAD
(%)
10.60
18.82
26.19
Polled mode:
Buffer Size
(KB)
100.00
250.00
400.00
Page 22 of 51
BIOSPSP Datasheet
3.4.6.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 7 MMCSD READ Performance
DMA mode:
Buffer Size
(KB)
100.00
250.00
400.00
Time Taken
(seconds)
0.93
0.90
0.89
Throughput
(MBps)
10.75
11.11
11.24
CPU LOAD
(%)
2.88
1.99
1.76
Time Taken
(seconds)
0.93
0.90
0.89
Throughput
(MBps)
10.75
11.11
11.19
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
100.00
250.00
400.00
Page 23 of 51
BIOSPSP Datasheet
3.4.7
I/O Throughput and CPU Loading for NAND using Block media
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 5242880 bytes (5 MB)
Size of NAND: 512 MB.
3.4.7.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 8 NAND WRITE Performance
DMA mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Time Taken
(seconds)
4.62
4.75
3.37
Throughput
(MBps)
1.08
1.05
1.48
CPU LOAD
(%)
29.26
28.07
32.09
Time Taken
(seconds)
4.19
4.31
2.94
Throughput
(MBps)
1.19
1.16
1.70
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Page 24 of 51
BIOSPSP Datasheet
3.4.7.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 9 NAND READ Performance
DMA mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Time Taken
(seconds)
2.80
2.80
2.89
Throughput
(MBps)
1.78
1.78
1.73
CPU LOAD
(%)
20.86
20.88
23.10
Time Taken
(seconds)
3.31
3.31
3.39
Throughput
(MBps)
1.51
1.51
1.47
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Page 25 of 51
BIOSPSP Datasheet
3.4.8
I/O Throughput and CPU Loading for SATA using Block media
The following are setup details for measuring the throughput in different modes
No of bytes transferred: 104857600 bytes (100 MB)
Drive Size: 500 GB.
Make: SEAGATE SATA HDD.
3.4.8.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Figure 10 SATA Write Performance
DMA mode:
Buffer Size
(KB)
100.00
250.00
400.00
3.4.8.2
Time Taken
(milli-sec)
1188.86
1434.67
1523.56
Throughput
(MBps)
84.11
69.70
65.64
CPU LOAD
(%)
19.87
14.91
14.23
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Page 26 of 51
BIOSPSP Datasheet
Figure 11 SATA Read Performance
DMA mode:
Buffer Size
(KB)
100.00
250.00
400.00
Time Taken
(milli-sec)
792.05
785.37
801.33
Throughput
(MBps)
126.25
127.33
124.79
CPU LOAD
(%)
28.82
26.53
26.14
Page 27 of 51
BIOSPSP Datasheet
3.5
GPIO
3.5.1
Features supported
3.5.2

Setting GPIO pin directions

Marking pins or banks as available for use

Enabling and Disabling of bank interrupts

Registering interrupt handlers for a pin or bank interrupt

Getting or setting a group of pins to a value
Features not supported
None
3.5.3
Memory usage
Memory Statistics (Bytes)
Component
3.5.4
3.5.4.1
3.5.4.2
Data Memory
Program Memory
Initialized
Un-Initialized
Total
Gpio
3904
1254
2862
8020
Total
3904
1254
2862
8020
Resource usage
Semaphores
SEMAPHORES
DESCRIPTION
NA
NA
EDMA resources
EDMA3 CHANNELS
DESCRIPTION
NA
NA
EDMA3 PARAMS
DESCRIPTION
NA
NA
Page 28 of 51
BIOSPSP Datasheet
3.6
LCDC LIDD Driver
3.6.1



Features supported
Multi-instance able, asynchronous and re-entrant driver.
Each instance operates as a LIDD controller instance of the LCDC.
Supports only character LCD type.
3.6.2

Features not supported
The LCDC controller has two modes of operation. One is the Raster mode and the
other is the LIDD mode. However, only one mode can be operation can be chosen at
a time. Following this constraint, the drivers for these two modes have been
separated out and the each mode has a different driver/module, namely Raster and
Lidd. Only one driver should be used at a time.
3.6.3
Memory usage
Memory Statistics (Bytes)
Component
3.6.4
3.6.4.1
3.6.4.2
3.6.4.3
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Lidd
8736
120
344
9200
Total
8736
120
344
9200
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
None
None
DMA mode
Page 29 of 51
BIOSPSP Datasheet
3.7
3.7.1
LCDC RASTER Driver
Features supported

Supports QVGA display.

Supports enabling and disabling of raster.

Supports display at various bits per pixel configurations – 1, 2, 4, 8, 12 and
16bpp.

Supports channel creation and deletion through SIO create and delete APIs
and queueing and dequeing of buffers through SIO issue and reclaim APIs.

Supports ioctls to retrieve the raster and sub panel configuration.

Supports ioctls for setting the sub panel and DMA configurations(frame buffer
mode, burst size and end of frame interrupt).

Supports adding and clearing events and event stats.
3.7.2 Features not supported
 The LCDC controller has two modes of operation. One is the Raster mode and the
other is the LIDD mode. However, only one mode can be operation can be chosen at
a time. Following this constraint, the drivers for these two modes have been
separated out and the each mode has a different driver/module, namely Raster and
Lidd. Only one driver should be used at a time.
3.7.3
Memory usage
Memory Statistics (Bytes)
Component
3.7.4
3.7.4.1
3.7.4.2
3.7.4.3
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Raster
15424
505
432
16361
Total
15424
505
432
16361
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
None
NA
DMA mode
Page 30 of 51
BIOSPSP Datasheet
3.7.5
EDMA3 CHANNELS
DESCRIPTION
None
NA
EDMA3 PARAMS
DESCRIPTION
None
NA
I/O CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level.
In 16 bpp mode, here are the performance values:
Frames per second = 60
CPU Load = 20.72%
Page 31 of 51
BIOSPSP Datasheet
3.8
3.8.1







McASP Driver
Features supported
Multi-instance support and re-entrant driver
Each instance can operate as a receiver and/or transmitter
Supports multiple data formats
Can be configured to operate in multi-slot TDM, I2S, DSP and DIT (S/PDIF) modes
Mechanism to transmit desired data (such as NULL tone) when idle
Explicit control of PIN directions for High Clock, Bit Clock and Frame Sync PINS.
FIFO support for both TX and RX sections.
3.8.2 Features not supported
 Sample rate change IOCTL is not supported in master mode.
3.8.3
Memory usage
Memory Statistics (Bytes)
Component
3.8.4
3.8.4.1
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Mcasp
17984
332
1476
19792
Mcasp Edma
5408
124
0
5532
Mcasp ioctl
7424
116
0
7540
Total
30816
572
1476
32864
Resource usage
DMA mode
SEMAPHORES
DESCRIPTION
0
NA
INTERRUPTS
DESCRIPTION
1
For transmit and receive combined.
EDMA3 CHANNELS
DESCRIPTION
1
Per channel
EDMA3 PARAMS
DESCRIPTION
2
Per channel
Page 32 of 51
BIOSPSP Datasheet
3.8.5
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level at different number of samples with below
mentioned configurations.
The following are setup details for measuring the performance in different number of
samples.
Codec device: AIC3106
Sample Rate: 48 KHz
Word Length: 32 bit
Mode of MCASP: DSP
3.8.5.1
I/O Read-Write Performance
The following graphs represent latency period and CPU loads at different sample size.
Figure 12 Mcasp Read write peformance
Page 33 of 51
BIOSPSP Datasheet
The following graph represent latency period at different sample size.
Figure 13 Mcasp latency
DMA mode:
Latency
(ms)
Sample Size
CPU Load (%)
0.5
24
30.15
1
48
15.21
2
96
7.76
4
192
4.03
8
384
2.17
32
1536
0.79
48
2304
0.64
64
3072
0.57
Page 34 of 51
BIOSPSP Datasheet
3.9
3.9.1




3.9.2
McBSP Driver
Features supported
Multi-instance support and re-entrant driver
Each instance can operate as a receiver and/or transmitter
Supports multiple data formats
Mechanism to transmit desired data (such as NULL tone) when idle
Memory usage
Memory Statistics (Bytes)
Component
3.9.3
3.9.3.1
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Mcbsp
15712
180
1968
17860
Mcbsp Edma
4640
64
0
4704
Mcbsp ioctl
2080
0
0
2080
Total
22432
244
1968
24644
Resource usage
DMA mode
SEMAPHORES
DESCRIPTION
0
NA
INTERRUPTS
DESCRIPTION
1
For transmit and receive combined.
EDMA3 CHANNELS
DESCRIPTION
1
Per channel
EDMA3 PARAMS
DESCRIPTION
2
Per channel
Page 35 of 51
BIOSPSP Datasheet
3.9.4
I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level at different number of samples with below
mentioned configurations.
The following are setup details for measuring the performance in different number of
samples.
Buffer Length: 100
Word Length: 32 bit
No of Channel: 1
3.9.4.1
I/O Write Performance
Figure 14 Mcbsp Write performance
DMA mode:
Bit Clock
(KHz)
768.00
1024.00
1411.20
1536.00
2048.00
3072.00
Time Taken
(milli-sec)
4.23
3.18
2.32
2.13
1.62
1.08
Throughput
(Kbps)
738.60
982.70
1345.63
1467.37
1934.98
2893.52
CPU LOAD
(%)
67.58
68.21
68.68
68.96
69.99
72.20
Page 36 of 51
BIOSPSP Datasheet
3.10
Audio Interface Driver
3.10.1 Features supported

Multi-instance support and re-entrant driver.

Each instance can be used to configure a complete receive and transmit
section of an audio configuration consisting of an audio device and multiple
audio codecs.
3.10.2 Features not supported
None
3.10.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Audio
2688
89
364
3141
Total
2688
89
364
3141
3.10.4 Resource usage
None
Page 37 of 51
BIOSPSP Datasheet
3.11
Aic3106 codec Driver
3.11.1 Features supported

Multi-instance support and re-entrant driver.

Each instance can operate as a receiver and or transmitter.

Interfaces to control the codec specific features like sample rate etc.
3.11.2 Features not supported
None
3.11.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Aic31
8768
93
164
9025
Total
8768
93
164
9025
3.11.4 Resource usage
SEMAPHORES
DESCRIPTION
1
For Both TX and RX channels combined.
Page 38 of 51
BIOSPSP Datasheet
3.12
MMCSD Driver
3.12.1 Features supported

Plain module like interface (non-IOM drivers)

Re-entrant safe driver

Provides Async IO mechanism

Configurable to operate in Polled and DMA mode

Supports hot removal and insertion of MMC/SD card

Supports variety of SD and MMC cards
o
Patriot 8GB SD card
o
Transcend 512 MB SD card
o
Sandisk 4GB SD card
o
Transcend 128MB MMC card
o
Transcend 256MB MMC card
o
Transcend 1GB MMC card
o
Transcend 2GB MMC card
o
2GB High speed Elite pro SD card
3.12.2 Features not supported

4 bit and 8 bit MMC operation
3.12.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
dda_mmcsdBios
3808
Total
Initialized
Un-Initialized
248
68
4124
dda_mmcsdCfg
0
14
8
22
ddc_mmcsd
35712
186
2618
38516
llc_mmcsd
2880
0
0
2880
Total
42400
448
2694
45542
3.12.4 Resource usage
3.12.4.1
Polled mode
SEMAPHORES
DESCRIPTION
6
Blkmedia callback, driver alignment and sync operations.
Page 39 of 51
BIOSPSP Datasheet
3.12.4.2
3.12.4.3
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
6
Blkmedia callback, driver alignment and sync operations.
EDMA3 CHANNELS
DESCRIPTION
2
For Transmit Channel
2
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
2
For Transmit Channel
2
For Receive Channel
DMA mode
Page 40 of 51
BIOSPSP Datasheet
3.13
NAND Driver
3.13.1 Features supported

Plain module like interface (non-IOM drivers)

Supports 512-byte page and 2048-byte page NAND devices.

Supports 8-bit and 16-bit NAND devices

Error correction using 4-bit ECC mechanism

Supports wear-leveling and bad-block management functionalities

Supports protecting a portion of the NAND flash from application access
3.13.2 Features not supported
None
3.13.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
dda_nandBios
2368
47
28
2443
ddc_nandFtl
7616
0
20288
27904
ddc_nand
1024
36
32
1092
llc_nand
10464
355
488
11307
Total
21472
438
20836
42746
3.13.4 Resource usage
3.13.4.1
3.13.4.2
3.13.4.3
Polled mode
SEMAPHORES
DESCRIPTION
1
For exclusive locking of IO APIs, erase IOCTL, driver registration,
and completion callback to blkmedia driver.
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
2
For exclusive locking of IO APIs, erase IOCTL, driver registration,
completion callback to blkmedia driver and edma synchronization
DMA mode
Page 41 of 51
BIOSPSP Datasheet
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit and receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit and receive Channels
Page 42 of 51
BIOSPSP Datasheet
3.14
SATA
3.14.1 Features supported

Support ATA/ATAPI protocol
3.14.2 Features not supported

Port Multiplier support

Power Management support.

CD/DVD – ATAPI support

SATA as removable media

Native command Queueing.
3.14.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Ahci
8000
0
10804
18804
Ata
29440
164
3544
33148
Ata_remmed
2240
0
28
2268
Atadrv
1568
212
56
1836
Atapi
2368
20
0
2388
Sata_intf
2912
124
80
3116
Sata_pm
4320
36
4
4360
Total
50848
556
14516
65920
3.14.4 Resource usage
NA
Page 43 of 51
BIOSPSP Datasheet
3.15
PSC
3.15.1 Features supported

Simple module level functions.

Standalone module (driver).
3.15.2 Features not supported

PSC does NOT support instances.

PSC does not implement IOM interface.
3.15.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Psc
768
0
256
1024
Total
768
0
256
1024
3.15.4 Resource usage
NA
Page 44 of 51
BIOSPSP Datasheet
3.16
EvmInit
3.16.1 Features supported

Evm specific initializations for the required modules.
3.16.2 Features not supported

Initializations specific only to those instances used by the sample application
are supported.
3.16.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
audio_evmInit
224
0
44
268
common_evmInit
32
0
0
32
gpio_evmInit
64
0
0
64
i2c_evmInit
64
0
0
64
lcdlidd_evmInit
1312
6
52
1370
lcdraster_evmInit
736
41
8
785
mcbsp_evmInit
64
0
0
64
mmcsd_evmInit
448
0
0
448
mmcsd_startup
416
0
0
416
nand_evmInit
128
0
0
128
nand_startup
416
0
0
416
sata_evmInit
64
0
0
64
sata_startup
544
32
24
600
spi_evmInit
96
0
0
96
uart_evmInit
96
0
0
96
upp_evmInit.c
1792
79
52
1923
vpif_evmInit
2560
35
52
2647
Total
9056
193
232
9481
3.16.4 Resource usage
NA
Page 45 of 51
BIOSPSP Datasheet
3.17
VPIF Driver
3.17.1 Features supported

Supports Multiple VPIF channels (2 capture and 2 display channels are
supported on OMAPL138 EVM)

Supports dual channel 8-bit BT.656 capture and single channel 8, 10 or 12-bit
RAW capture.

Supports dual channel 8-bit BT.656 display.

External Device Control Interface using EDC driver for seamless integration
with different video encoder or decoder devices

Supports flipping/exchange of multiple frame buffers for seamless capture
and display operation
3.17.2 Features not supported

HD Capture and Display

RAW Display

VBI data Capture and Display
3.17.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Vpif
21600
1544
1376
24520
Total
21600
1544
1376
24520
3.17.4 Resource usage
3.17.4.1
DMA mode
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
None
NA
EDMA3 PARAMS
DESCRIPTION
None
NA
Page 46 of 51
BIOSPSP Datasheet
3.17.5 I/O Throughput and CPU Loading
CPU load and thorough put are calculated between start of I/O operation and end of
I/O operation at application level at different number of samples with below
mentioned configurations.
The following are setup details for measuring the performance in different number of
samples.
No of frames: 300
3.17.5.1
I/O Read-Write Performance
Fig: Read-Write performance
NTSC mode:
Buffer Size
3
4
5
Time Taken
(seconds)
10.01
10.01
10.01
Throughput
(fps)
29.97
29.97
29.97
CPU LOAD
(%)
3.66
3.64
3.64
Time Taken
(seconds)
12.00
12.00
12.00
Throughput
(fps)
25.00
25.00
25.00
CPU LOAD
(%)
3.62
3.62
3.62
PAL mode:
Buffer Size
3
4
5
Page 47 of 51
BIOSPSP Datasheet
3.18
VPIF EDC Driver
3.18.1 Features supported

Generic interface for codec interaction

Plain Module like interface (non-IOM drivers)

ADV7343 encoder support

TVP5147 decoder support

MT9T001 external image sensor support
3.18.2 Features not supported

ED and HD parameter settings are not supported
3.18.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Adv7343
6400
218
116
6734
CodecInterface
2272
42
252
2566
Mt9t001
4864
318
64
5246
Tvp5147
6432
382
176
6990
Total
19968
960
608
21536
3.18.4 Resource usage
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
Page 48 of 51
BIOSPSP Datasheet
3.19
UPP Driver
3.19.1 Features supported

Multi-instance support and re-entrant driver.

Each instance can operate as a receiver and or transmitter.

Interfaces to change the channel configurations.
3.19.2 Features not supported

NA
3.19.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
upp.c
11360
104
528
11992
upp_ioctl.c
3008
0
0
3008
Total
14368
104
528
15000
3.19.4 Resource usage

NA
Page 49 of 51
BIOSPSP Datasheet
3.19.5 I/O Throughput and CPU Loading
CPU load and thoroughput are calculated between start of I/O operation and end of
I/O operation at application level at different bit clocks with below mentioned
configurations.
The following are setup details for measuring the performance in different number of
samples.
No of bytes: 409600
3.19.5.1
I/O Read-Write Performance
Figure 15 Upp Write Performance
UPP 1 channel 8 bit single Data rate Write Performance Values:
I/O Clock
(MHz)
75.00
37.50
25.00
Time Taken
(micro-sec)
5806.50
11266.50
16728.17
Throughput
(Mbps)
70.54
36.36
24.49
CPU LOAD
(%)
6.52
3.50
2.43
UPP 1 channel 16 bit single Data rate Write Performance Values:
I/O Clock
(MHz)
75.00
37.50
25.00
Time Taken
(milli-sec)
3075.67
5806.33
8537.00
Throughput
(Mbps)
133.17
70.54
47.98
CPU LOAD
(%)
12.32
6.50
4.51
Page 50 of 51
BIOSPSP Datasheet
UPP 1 channel 8 bit Double Data rate Write Performance Values:
I/O Clock
(MHz)
37.50
25.00
15.00
Time Taken
(milli-sec)
5806.33
8537.00
14000.67
Throughput
(Kbps)
70.54
47.98
29.26
CPU LOAD
(%)
6.51
4.50
2.88
UPP 1 channel 16 bit Double Data rate Write Performance Values:
I/O Clock
(MHz)
37.50
25.00
15.00
Time Taken
(milli-sec)
3075.00
4440.67
7171.33
Throughput
(Kbps)
133.20
92.24
57.12
CPU LOAD
(%)
12.07
8.50
5.34
Page 51 of 51
Similar pages