AN1924 Motorola / Freescale Semiconductor, AN1924 Datasheet - Page 15

no-image

AN1924

Manufacturer Part Number
AN1924
Description
AN1924 Interfacing Serial LCDs to a DSP56F805s SCI and Porting Code Using the Embedded SDK
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
6.
7.
This application note was written to describe the interface capabilities of the Motorola DSP56F80x. It
has shown that by using the higher-order C language and the facilities provided by the Embedded
SDK, a user can easily interface a serial-based intelligent LCD with a built-in keypad support to the
processor’s SCI port without additional hardware. The code examples demonstrated that with one
brand of LCD, serial module bi-directional communication was established and maintained effectively
and reliably.
Additionally, the software program IntFaceBaro.c, generated for the DSP56824 in Application Note
AN1921/D, was converted quickly and efficiently to operate the serial LCD and keypad, and an
SPI-based analog-to-digital converter was interfaced to an absolute atmospheric pressure sensor from
a DSP56F805. Most of the code remained the same; changes were required only to the code that
controlled the SCI and SPI ports.
1. Some General DSP568xx Interface Examples using the Embedded SDK, AN1921/D
2. DSP5680x User’s Manual, DSP56F801-7UM/D
3. DSP56F805 Evaluation Module Hardware User’s Manual, DSP56F805EVMUM/D
4. Embedded SDK (Software Development Kit) Programmer’s Guide, SDK122/D
Conclusions
References
}
}
iarray[icount] = 0;
sscanf(iarray, "%d", &temp );
*padj = (Word32)temp;
if ( iarray[icount] == CR[0] ) break;
if ( (iarray[icount] >= ’0’) && (iarray[icount] < ’9’))
{
}
write( SciFD, &iarray[icount], 1 );
icount++;
Interfacing LCDs and Porting Code
Conclusions
15

Related parts for AN1924