Index
A
Adaptive differential pulse-coded modulation (ADPCM),
498
ADPCM; see Adaptive differential pulse-coded modulation (ADPCM)
Alphanumeric modules,
220
Analog-to-digital conversion,
253–254
Analog-to-digital converter (ADC),
249
basic conversion routine,
254
block diagram of ten-bit
and Boethian notation,
495
ANSI C standard, integers in,
62
Arithmetic expressions; see Logic expression
Arithmetic libraries
integers; see Integers
measuring performance of; see StopWatch tool
initialization for message,
50–51
ASCII Setup dialog box,
206
Assignment statement,
Asynchronous serial application, classes of,
198
Asynchronous serial
communication interface; see Universal asynchronous serial communication interface (UART)
AudioCfg file format,
503
B
in asynchronous serial interfaces,
176
in SPI synchronous serial interfaces,
179,
180,
196
Baud Rate Generator (UxBREG),
200
BitBLT (bit block transfer),
391
BMX; see Bus matrix (BMX)
Build Project checklist,
358
C
pre-fetched cached data in,
164–165
Cartesian coordinate system,
364,
391
CGRAM; see Character generator RAM buffer (CGRAM)
Change notification (CN) module,
302–308
Character generator RAM buffer (CGRAM),
220
character (new line),
233
Checklist
Chip On Glass (COG) technology,
220,
333
C language
pseudo-random number-generator functions of,
366
Clock output ( SCK ),
408
Clock-polling state machine,
310–314
Clock system
configuration bits; see Configuration bits
primary oscillato clock chain,
146–147
COG technology; see Chip On Glass (COG) technology
Communication device class (CDC),
215
Communication protocol, PS/2,
289–290
Compiling,
Composite video interface,
350,
364
Composite video signal
Console library
testing; see VT100 terminal testing
Cyclic redundancy check (CRC),
409
D
D/A converter testing of PWM as,
490–492
DDRAM; see Display Data RAM buffer (DDRAM)
Digital signal processing
FFT; see Fast Fourier Transform
Direct memory access (DMA) controller,
346
library; see Dma.h
Display data RAM buffer (DDRAM),
220
Division, of integers,
67–68
DMA; see Direct memory Access (DMA)
DMA channel chaining,
351
DmaChnSetEventControl (), 348
Double buffering,
399–401;
see also Image buffers
duty cycle, 486;
see also Pulse
width modulation (PWM) mode
E
8088 processor; see Microprocessors
Embedded-control applications,
173
communciation in; see
Synchronous serial
communication interfaces;
Universal asynchronous
receiver and transmitters (UART)
Embedded-control memory map,
134–135
kernel mode virtual map,
135
Explorer 16 buttons
Explorer 16 demonstration board
message testing with,
54–55
for R6 potentiometer,
251
to SD/MMC memory technology,
406
for TC1047A temperature sensor,
262
External clock source (EC) mode,
143
External low-frequency and low-power oscillator,
142
External primary oscillator (POSC),
142
F
False logic value,
28,
29
Fast Fourier Transform (FFT),
153
configuration bit settings,
157–158
fundamental questions related to,
433–444
testing
fopenM() and freadM(),
463–465
testing the complete fileio module,
476–480
FFT; see Fast Fourier Transform (FFT)
Files, in project build
library files,
object files,
source files,
First-in/first-out (FIFO) buffer,
319–322
Fixed mapping translation (FMT),
130–131
Flash memory
bus offering access to,
118,
121
memory space allocation,
118,
121
Flash memory, of PIC32,
390
measuring performance of; see StopWatch tool
Fractals, definition of,
380
Frame; see Video frame signals
G
greater-or-equal to operator,
29
greater-than operator,
29
Group priority level,
85–86
H
Hardware interface
for generation of composite video signal,
337
HD44780 Controller
compatibility of with LCD display modules,
221–223
Home computers; see ZX Spectrum
Horizontal line signal,
336
Horizontal synchronization pulse,
336,
338
HRES (horizontal resolution); see Resolution
HyperTerminal Properties dialog box,
205
I
I
2C synchronous serial interfaces,
174,
175
vs. SPI synchronous serial interfaces,
176–177
ICxFEDGE control bit,
329
include directory, creating,
237–240
Incremental encoders,
280
“initEX16 ()” function,
287
initMedia() function,
412
Inner iteration, in C language,
381–382
Input/output (I/O) pins,
200,
202
PortA in; see PortA
Input/output (I/O) polling,
309–314
cost and efficiency evaluation,
317–319
Integer data type; see Integers
Integers
code generated by compiler,
63
measuring performance of; see StopWatch too
Internal low-frequency and low-power oscillator (LPRC),
142
Internal oscillator (FRC),
142
Interrupt
managing multiple interrupt,
95–98
multivectored management; see Multivectored interrupt management
single vector management; see Single vector interrupt management
Interrupt-driven rotary encoder input,
283–287
interrupt service routine (ISR),
82;
see also Interrupt handler
Isometric projection,
376
J
K
Kata Kana characters,
220
Kernel mode virtual map,
135
Keyboard-to-host communication waveform,
289
L
LCD display modules
HD44780 compatibility with,
221–223
small library of functions to access,
225–231
25LC256 device datasheet,
179,
180,
182;
see also EEPROM, serial
LCD module control advanced,
341–342
LCD module controller RAM
buffer,
220;
see also LCD module control
LCD module Read Busy Flag,
228
less-or-equal to operator,
29
Library files,
Linking,
Logical block addresses (LBA),
414
measuring performance of video interface by,
360–361
message testing with,
53–54
Loops
for loops; see For loops
for sending message;
see Message, loops for
Low-pass filter circuit,
487
M
main () function,
Mandelbrot set
memory configuration table,
124–125
Mass storage technologies,
403;
see also Multi media card (MMC); Secure digital (SD)card
master boot record (MBR),
436
Memory allocation techniques,
118–123
Memory management unit (MMU),
130
Memory mapping
embedded-control applications in,
134–135
Message, loops for
initializing arrays for,
50–51
main program with variable declarations,
51–52
testing
with Explorer 16
demonstration board,
54–55
with Logic analyzer,
53–54
with PIC32 Starter Kit,
55–57
MFILE,
444,
445,
446,
448,
449,
450,
453,
454,
459,
466,
467
assembly programming interface,
64
MPLAB memory usage gauges,
424
MPLAB SIM, for debugging,
12–13
mPMPMasterReadByte(),
231
Multi media card association (MMCA),
404
Multi media card (MMC),
404
Multiple interrupt, managing,
95–98
Multivectored interrupt management,
98–103
N
NOT-equal to operator,
28
O
Object files,
OCxR register; see OCxCON register
OLED; see Organic LED displays (OLED)
OpenTimerXX () function,
159
Optimizations, integers on,
64 testing,
64–65
Organic LED displays (OLED),
219
OR operation, binary,
365
initialization routine for,
490
producing analog waveforms with,
492–497
P
Parallel interfaces; see Parallel master port (PMP)
configuration for LCD module control,
224–225
Peripheral libraries,
40–41
Phase locked loops (PLL),
146
multiplication factor of,
147
PIC24,
399;
see also Microprocessors
PIC32 microcontroller
amount of RAM to store video image in,
340,
345
PIC32 Starter Kit message testing with,
55–57
PICTail daughter board,
407
Pixels, coordinate position of,
364–365
play() ; see PlayWAV()
Plotting, of graphical objects,
364–366
PMP data buffer ( PMPDIN ),
228
PMPDIN; see PMP data buffer (PMPDIN)
PMP mode; see Parallel Master Port (PMP) mode
PMP-to-LCD connection block diagram,
228
PortA, ,
and JTAG port pins,
16,
17
Preprocessor,
Primary oscillator clock chain,
146–147
Printing text, on video screen,
391
Progressive scanning,
336
Project build
compiling,
linking,
Project Wizard,
PS/2
keyboard, interfacing methods
change notification (CN) module,
302–308
testing using stimulus scripts,
296–301
PIC32 interfacing to,
290
Pseudo-random number generators,
258,
260
to test efficiency of Bresenham algorithm,
371
to test video library project,
366
Pulse width modulation (PWM) mode,
485
OC modules; see OC modules
and reproduction of voice messages,
497–498
PWM; see Pulse width modulation (PWM)
PWM filter circuit, audio,
499
Q
R
character (line end),
233
RAM, amount of on PIC32,
340,
345
RAM memory
bus offering access to,
129
memory space allocation,
118,
121
“readK ()” button encoding,
275–277
READ_SINGLE (CMD17) command,
413–414
Read status register command, testing,
182–186
Real-Time Clock and Calendar (RTCC),
109–111
Resolution, horizontal and vertical,
340,
345,
357
RIFF file format,
500;
see also WAVE file format
RS232 transceiver device,
198
S
Sampling timing, automating in ADC,
254–255
Scanning
SCL Generator timing example for basic,
298
SD/MMC cards,
404;
see also SPI interface
to explorer 16 demo board,
406
SDMMC.c module functions,
434
SECAM video standard,
335,
336
Secondary oscillator; see Low-frequency oscillator
Secure Digital Card Association (SDCA),
404
Secure digital (SD) card,
404
command response code,
411
modes of communication,
405
SEE; see EEPROM, serial
Serial communication interfaces;
see I2C synchronous serial
communication interfaces;
SPI synchronous serial
communication interfaces;
Universal asynchronous
receiver and transmitters (UART)
Serial interface engine (SIE), USB,
215
Single vector interrupt management,
90–95
Sinusoidal function graph,
375
Software simulator,
10–11
Source files,
SPI baud rate generator ( SPI2BRG ),
408
SPI peripheral module (SPI1),
406
SPI synchronous serial interfaces,
174;
see also SPIxCON control register
module block diagram,
178
Spreadsheet
to compute 100-point sinusoid,
496
Startup code,
StepOver command execution,
71–72
Synchronization pulses
Synchronous serial communication interfaces
I2C; see I2C synchronous serial communication interfaces
SPI; see SPI synchronous serial communication interfaces
T
Temperature sensing in ADC,
261–266
Temperature sensors; see Microchip TC1047A device
Text; see ASCII character set
low-frequency oscillator for,
108–109
Timer2
for multivectored interrupt management,
103
for single vector interrupt management,
90–91,
92,
94
Timers
Timer1; see Timer1
Timer2; see Timer2
Two-dimensional function, graph of visualization,
376–380
U
UART; see Universal asynchronous receiver and transmitters (UART )
U2MODE,
201;
see also UxMODE control registers
initialization value for,
201
Universal asynchronous receiver and transmitters (UART ); see also Console library
basic functionality of,
199
control registers; see UxMODE control registers
modules block diagram,
199
vs. SPI synchronous serial communication interfaces,
176–177
vs. synchronous serial communication interfaces,
174
serial interface engine (SIE),
215
User-defined symbols,
240
initialization value for,
202
UxMODE control registers,
201
V
Variable declarations,
45–46
Vertical synchronization pulses,
336,
339
Video image
Video memory
direct memory access controller,
346
Video standards, international,
335
Voice messages
Voltage
VRES (vertical resolution); see Resolution
W
Wait states configuration, for flash memory,
160–163
bandwidth require for,
515
and Boethian notation,
495
writeSECTOR() function,
416
WriteTimerXX () function,
159
Writing text, on video memory,
387–390
X
Z
ZX80 processor; see Microprocessors