DSP BIOS PSP Driver Datasheet

Datasheet
BIOSPSP OMAPL137 Datasheet
01.30.01
Page 1 of 39
BIOSPSP Datasheet
This page has been intentionally left blank.
Page 2 of 39
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 39
BIOSPSP Datasheet
This page has been intentionally left blank.
Page 4 of 39
BIOSPSP Datasheet
TABLE OF CONTENTS
1
Introduction................................................................................................. 6
2
BIOSPSP Drivers - Features ......................................................................... 6
3
Performance data for BIOSPSP drivers ........................................................ 7
3.1
I2C Driver .............................................................................................8
3.2
SPI Driver ...........................................................................................12
3.3
UART Driver ........................................................................................16
3.4
BLOCKMEDIA Driver .............................................................................19
3.5
GPIO ..................................................................................................25
3.6
LCDC LIDD Driver ................................................................................26
3.7
LCDC RASTER Driver ............................................................................27
3.8
McASP Driver.......................................................................................29
3.9
Audio Interface Driver...........................................................................32
3.10
Aic3106 codec Driver............................................................................33
3.11
MMCSD Driver .....................................................................................34
3.12
NAND Driver........................................................................................36
3.13
PSC ....................................................................................................38
3.14
EvmInit...............................................................................................39
Page 5 of 39
BIOSPSP Datasheet
1
Introduction
This PSP package consists of peripheral device drivers for the OMAPL137 device. The
drivers enable rapid software development on the OMAPL137 platform. This document
provides the performance data for each of the drivers on DSP/BIOSTM.
2
BIOSPSP Drivers - Features

Supported Devices
o
OMAPL137

Developed and tested on OMAPL137 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
McASP
o
Audio Interface
o
Aic3106 codec
o
LCD Raster
o
LCD LIDD
o
MMCSD
o
NAND
o
Block Media
Page 6 of 39
BIOSPSP Datasheet
3
Performance data for BIOSPSP drivers
The performance data for the drivers is captured into 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, LCDC Raster, MMC/SD and NAND driver.
Page 7 of 39
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.1
3.1.4.2
3.1.4.3
Total
Initialized
Un-Initialized
I2c Edma
12320
2112
156
64
1648
0
14124
2176
Total
14432
220
1648
16300
I2C
3.1.4
Data Memory
Program Memory
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
Interrupt mode
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channels
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
DMA mode
Page 8 of 39
BIOSPSP Datasheet
3.1.5
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: EEPROM CAT24W256
No of bytes transferred: 66 bytes (Including slave address and address in EEPROM)
3.1.5.1
I/O Write Performance
The following graphs represent throughput numbers and CPU loads at different bus
frequencies
Fig: I2C write performance
DMA MODE
Bus Frequency
(in KHz)
100
200
400
Time Taken
(milli-sec)
6.17
3.15
1.63
Throughput
(Kbps)
94.34
185.07
356.42
CPU LOAD
(%)
4.92
6.31
8.54
Page 9 of 39
BIOSPSP Datasheet
Interrupt mode:
Bus Frequency
(KHz)
100
200
400
Time Taken
(milli-sec)
6.15
3.12
1.61
Throughput
(Kbps)
94.72
186.55
361.73
CPU LOAD
(%)
4.03
7.30
13.65
Time Taken
(milli-sec)
6.13
3.11
1.60
Throughput
(Kbps)
94.91
187.37
364.91
CPU LOAD
(%)
100.00
100.00
100.00
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
Fig: I2C read performance
DMA mode:
Bus Frequency
(KHz)
100
200
400
Time Taken
(milli-sec)
6.34
3.27
1.73
Throughput
(Kbps)
91.84
178.14
335.98
CPU LOAD
(%)
5.70
8.04
12.27
Page 10 of 39
BIOSPSP Datasheet
Interrupt mode:
Bus Frequency
(KHz)
100
200
400
Time Taken
(milli-sec)
6.28
3.20
1.67
Throughput
(Kbps)
92.69
181.66
349.15
CPU LOAD
(%)
7.64
11.46
18.46
Time Taken
(milli-sec)
6.26
3.18
1.64
Throughput
(Kbps)
93.01
183.03
354.39
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Bus Frequency
(KHz)
100
200
400
Page 11 of 39
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.1
3.2.4.2
3.2.4.3
Total
Initialized
Un-Initialized
Spi Edma
14080
3520
290
247
1370
0
15740
3767
Total
17600
537
1370
19507
Spi
3.2.4
Data Memory
Program Memory
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
Interrupt mode
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channel
SEMAPHORES
DESCRIPTION
None
NA
EDMA3 CHANNELS
DESCRIPTION
DMA mode
Page 12 of 39
BIOSPSP Datasheet
3.2.5
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 (W25X32)
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
DMA mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.35
0.27
0.23
Throughput
(Kbps)
5752.64
7407.41
8733.62
CPU LOAD
(%)
43.00
53.38
61.91
Page 13 of 39
BIOSPSP Datasheet
Interrupt mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.29
0.29
0.29
Throughput
(Kbps)
6993.01
6993.01
6993.01
CPU LOAD
(%)
100.00
100.00
100.00
Time Taken in
milli-sec
0.68
0.59
0.54
Throughput
(Kbps)
2949.85
3401.36
3676.47
CPU
LOAD(%tage)
100.00
100.00
100.00
Polled mode:
Bus Frequency (in
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
Fig: Read performance
DMA mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.24
0.28
0.24
Throughput
(Kbps)
8474.58
7255.14
8474.58
CPU LOAD
(%)
64.58
54.39
64.58
Time Taken
(milli-sec)
0.29
0.29
0.29
Throughput
(Kbps)
6993.01
6993.01
6993.01
CPU LOAD
(%)
100.00
100.00
100.00
Interrupt mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Page 14 of 39
BIOSPSP Datasheet
Polled mode:
Bus Frequency
(MHz)
10.00
15.00
20.00
Time Taken
(milli-sec)
0.68
0.59
0.54
Throughput
(Kbps)
2949.85
3401.36
3676.47
CPU LOAD
(%)
100.00
100.00
100.00
Page 15 of 39
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.1
3.3.4.2
Total
Initialized
Un-Initialized
180
64
992
UART EDMA
11136
1504
12308
1568
Total
12640
244
992
13876
UART
3.3.4
Data Memory
Program Memory
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
1
For synchronization of submit API
Interrupt mode
SEMAPHORES
DESCRIPTION
None
NA
INTERRUPTS
DESCRIPTION
1
For Transmit and receive channels
Page 16 of 39
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
Fig: Write performance
Page 17 of 39
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)
104285.25
104181.45
104168.12
CPU LOAD
(%)
0.40
0.30
0.28
Time Taken
(milli-sec)
87.21
707.01
4425.80
Throughput
(bps)
105679.19
104282.10
104116.71
CPU LOAD
(%)
6.99
6.93
6.92
Time Taken
(milli-sec)
88.53
708.13
4425.73
Throughput
(bps)
104099.91
104115.89
104118.51
CPU LOAD
(%)
62.97
63.95
63.83
Interrupt mode:
Buffer Size
(KB)
1.00
8.00
50.00
Polled mode:
Buffer Size
(KB)
1.00
8.00
50.00
Page 18 of 39
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 and
MMC/SD.

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
Data Memory
Program Memory
Initialized
Total
Un-Initialized
blkmedia
9824
285
1562028
1572137
Total
9824
285
1562028
1572137

FileSystem
Memory Statistics (Bytes)
Component
3.4.4
3.4.4.1
3.4.4.2
Data Memory
Program Memory
Total
Initialized
Un-Initialized
blkmedia
12160
285
1562028
1574473
Total
12160
285
1562028
1574473
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
Page 19 of 39
BIOSPSP Datasheet
3.4.4.3
NA
NA
SEMAPHORES
DESCRIPTION
16
Assuming MMC, NAND,USB0 & USB1 are attached to
BlockMedia
EDMA memcopy for I/O (Filesystem) is Enabled.
EDMA memcopy for I/O (Sector level) is Enabled.
DMA mode
Page 20 of 39
BIOSPSP Datasheet
3.4.5 Brief usage of Semaphores:
1. Semaphore-1: For BlockMedia Event i.e. for attaching of device.
2. Semaphore-1: For BlockMedia Mount i.e. Mounting drives on File system.
3. Semaphores-12: For each BlockMedia device Semaphores-3, each for Sector I/O, File
system I/O & IOCTLs invocation.
4. Semaphores-2: Each For BlockMedia 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 MMCSD 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: 2 GB 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.
Fig: Write performance
Page 21 of 39
BIOSPSP Datasheet
DMA mode:
Buffer Size
(KB)
100.00
250.00
400.00
Time Taken
(seconds)
2.37
1.89
1.78
Throughput
(MBps)
4.22
5.28
5.63
CPU LOAD
(%)
2.74
1.90
1.61
Time Taken
(seconds)
22.89
10.12
7.05
Throughput
(MBps)
0.44
0.99
1.42
CPU LOAD
(%)
7.74
19.72
27.13
Polled mode:
Buffer Size
(KB)
100.00
250.00
400.00
3.4.6.2
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Fig: Read performance
DMA mode:
Buffer Size
(KB)
100.00
250.00
400.00
Time Taken
(seconds)
0.95
0.90
0.89
Throughput
(MBps)
10.53
11.11
11.24
CPU LOAD
(%)
5.03
2.95
2.43
Page 22 of 39
BIOSPSP Datasheet
Polled mode:
Buffer Size
(KB)
100.00
250.00
400.00
3.4.7
Time Taken
(seconds)
1.36
1.33
1.32
Throughput
(MBps)
7.35
7.52
7.58
CPU LOAD
(%)
100.00
100.00
100.00
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.
Fig: Write performance
DMA mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Time Taken
(seconds)
2.62
2.69
1.97
Throughput
(MBps)
1.91
1.86
2.54
CPU LOAD
(%)
69.91
69.77
72.34
Polled mode:
Page 23 of 39
BIOSPSP Datasheet
Buffer Size
(KB)
150.00
250.00
1000.00
3.4.7.2
Time Taken
(seconds)
2.70
2.77
1.94
Throughput
(MBps)
1.85
1.80
2.58
CPU LOAD
(%)
100.00
100.00
100.00
I/O Read Performance
The following graphs represent throughput numbers and CPU loads at different buffer
sizes.
Fig: Read performance
DMA mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Time Taken
(seconds)
1.45
1.45
1.53
Throughput
(MBps)
3.44
3.44
3.27
CPU LOAD
(%)
61.02
61.02
62.85
Time Taken
(seconds)
1.90
1.90
1.97
Throughput
(MBps)
2.63
2.63
2.53
CPU LOAD
(%)
100.00
100.00
100.00
Polled mode:
Buffer Size
(KB)
150.00
250.00
1000.00
Page 24 of 39
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
Total
Initialized
Un-Initialized
Gpio
3904
1118
2546
7568
Total
3904
1118
2546
7568
Resource usage
Semaphores
SEMAPHORES
DESCRIPTION
NA
NA
EDMA resources
EDMA3 CHANNELS
DESCRIPTION
NA
NA
EDMA3 PARAMS
DESCRIPTION
NA
NA
Page 25 of 39
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
6048
96
240
6384
Total
6048
96
240
6384
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 26 of 39
BIOSPSP Datasheet
3.7
LCDC RASTER Driver
3.7.1
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
12640
481
328
13449
Total
12640
481
328
13449
Resource usage
Polled mode
SEMAPHORES
DESCRIPTION
NA
NA
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
None
NA
DMA mode
Page 27 of 39
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.
The following are setup details for measuring the performance in lcdcraster driver.
Frame per second: 60
Mode: 16 bpp
CPU load: 39.57%
Page 28 of 39
BIOSPSP Datasheet
3.8
McASP Driver
3.8.1







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.1
Total
Initialized
Un-Initialized
Mcasp Edma
18016
5408
332
124
3996
0
22344
5532
Mcasp ioctl
7424
116
0
7540
Total
30848
572
3996
35416
Mcasp
3.8.4
Data Memory
Program Memory
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 29 of 39
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.
Fig: Read-Write performance
The following graph represent latency period at different sample size.
Fig: Sample size v/s Latency
Page 30 of 39
BIOSPSP Datasheet
DMA mode:
Latency (ms)
0.5
Sample Size
24
CPU Load (%)
40.00
1
48
21.95
2
96
13.44
4
192
8.12
8
384
5.82
32
1536
4.07
48
2304
3.84
64
3072
3.81
Page 31 of 39
BIOSPSP Datasheet
3.9
Audio Interface Driver
3.9.1
Features supported
3.9.2

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.
Features not supported
None
3.9.3
Memory usage
Memory Statistics (Bytes)
Component
3.9.4
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Audio
2688
89
364
3141
Total
2688
89
364
3141
Resource usage
None
Page 32 of 39
BIOSPSP Datasheet
3.10
Aic3106 codec Driver
3.10.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.10.2 Features not supported
None
3.10.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Aic31
8864
93
428
9385
Total
8864
93
428
9385
3.10.4 Resource usage
SEMAPHORES
DESCRIPTION
1
For Both TX and RX channels combined.
Page 33 of 39
BIOSPSP Datasheet
3.11
MMCSD Driver
3.11.1 Features supported

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
3.11.2 Features not supported
None
3.11.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
dda_mmcsdBios
3168
220
40
3428
dda_mmcsdCfg
llc_mmcsd
0
32352
2816
14
134
0
8
1225
0
22
33711
2816
Total
38336
368
1273
39977
ddc_mmcsd
3.11.4 Resource usage
3.11.4.1
3.11.4.2
3.11.4.3
Polled mode
SEMAPHORES
DESCRIPTION
3
Blkmedia callback, driver alignment and sync operations.
Interrupt mode
SEMAPHORES
DESCRIPTION
NA
NA
SEMAPHORES
DESCRIPTION
3
Blkmedia callback, driver alignment and sync operations.
DMA mode
Page 34 of 39
BIOSPSP Datasheet
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit Channel
1
For Receive Channel
Page 35 of 39
BIOSPSP Datasheet
3.12
NAND Driver
3.12.1 Features supported

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.12.2 Features not supported
None
3.12.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
dda_nandBios
2240
47
28
2315
ddc_nandFtl
llc_nand
7616
1024
9344
0
36
331
20288
32
400
27904
1092
10075
Total
20224
414
20748
41386
ddc_nand
3.12.4 Resource usage
3.12.4.1
3.12.4.2
3.12.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 syncronisation
DMA mode
Page 36 of 39
BIOSPSP Datasheet
EDMA3 CHANNELS
DESCRIPTION
1
For Transmit and receive Channel
EDMA3 PARAMS
DESCRIPTION
1
For Transmit and receive Channels
Page 37 of 39
BIOSPSP Datasheet
3.13
PSC
3.13.1 Features supported

Simple module level functions.

Standalone module (driver).
3.13.2 Features not supported

PSC does NOT support instances.

PSC does not implement IOM interface.
3.13.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
Psc
832
0
256
1088
Total
832
0
256
1088
3.13.4 Resource usage
NA
Page 38 of 39
BIOSPSP Datasheet
3.14
EvmInit
3.14.1 Features supported

Evm specific initializations for the required modules.
3.14.2 Features not supported

Initializations specific only to those instances used by the sample application
are supported.
3.14.3 Memory usage
Memory Statistics (Bytes)
Component
Data Memory
Program Memory
Total
Initialized
Un-Initialized
audio_evmInit
288
0
44
332
common_evmInit
32
0
0
32
gpio_evmInit
96
0
0
96
i2c_evmInit
64
0
0
64
lcdlidd_evmInit
576
6
44
626
lcdraster_evmInit
576
6
44
626
mcaspDit_evmInit
96
0
0
96
mmcsd_evmInit
1152
6
44
1202
mmcsd_startup
384
0
0
384
nand_evmInit
832
6
44
882
nand_startup
384
0
0
384
spi_evmInit
64
0
0
64
uart_evmInit
96
0
0
96
4640
24
220
4884
Total
3.14.4 Resource usage
NA
Page 39 of 39
Similar pages