1Copyright Cirrus Logic, Inc. 1997(All Rights Reserved)Cirrus Logic, Inc.Crystal Semiconductor Products DivisionP.O. Box 17847, Austin, Texas 78760(
AN8810 AN88Rev2;*************************************************************************************;* Routine - write_register;* Input - COMMANDB
AN88AN88Rev2 11;*************************************************************************************;* Routine - send_spi;* Input - Byte to be tra
AN8812 AN88Rev2;*************************************************************************************;* Routine - delay;* Input - Count in register A
• Notes •
AN882 AN88Rev2a block diagram overview. While reading this ap-plication note, please refer to the Appendix for thecode listing.InitializeInitialize i
AN88AN88Rev2 3data-state where it waits until data is read from itsserial port. To receive the data, read_register callsreceive_spi three times. Recei
AN884 AN88Rev2 MAXIMUM SCLK RATEA machine cycle in the PIC16F84 consists 4 oscil-lator periods or 400 ns if the microcontroller’s os-cillator frequenc
AN88AN88Rev2 5CONCLUSIONThis application note presents an example of howto interface the CS5525/6/9 to the PIC16F84. It isdivided into two main sectio
AN886 AN88Rev2APPENDIXPIC16F84 Microcode to Interface to the CS5525/6/9;******************************************************************************
AN88AN88Rev2 7;*************************************************************************************;* Program Code;****************************
AN888 AN88Rev2;*************************************************************************************;* Subroutines;*****************************
AN88AN88Rev2 9;*************************************************************************************;* Routine - calibrate;* Input - none;* Output
Comentarios a estos manuales