Electronic Components Datasheet Search
  English  ▼

X  

CS18101X Datasheet(PDF) 36 Page - Cirrus Logic

Part # CS18101X
Description  Digital Audio Networking Processor
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CIRRUS [Cirrus Logic]
Direct Link  http://www.cirrus.com
Logo CIRRUS - Cirrus Logic

CS18101X Datasheet(HTML) 36 Page - Cirrus Logic

Back Button CS18101X Datasheet HTML 32Page - Cirrus Logic CS18101X Datasheet HTML 33Page - Cirrus Logic CS18101X Datasheet HTML 34Page - Cirrus Logic CS18101X Datasheet HTML 35Page - Cirrus Logic CS18101X Datasheet HTML 36Page - Cirrus Logic CS18101X Datasheet HTML 37Page - Cirrus Logic CS18101X Datasheet HTML 38Page - Cirrus Logic CS18101X Datasheet HTML 39Page - Cirrus Logic CS18101X Datasheet HTML 40Page - Cirrus Logic Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 54 page
background image
36
©Copyright 2005 Cirrus Logic, Inc.
DS651UM23
Version 2.3
CobraNet Hardware User’s Manual
HMI Reference Code
8.3
CM-1, CM-2 Auto-detection
The following function is useful for systems that support both the CM-1 and CM-2 or
where a CobraNet interface is an optional add-in.
Detect() returns 0 if no CobraNet interface module is detected, 1 for CM-1 and 2 for CM-2.
int Detect( void ) {
/* check for presence of CM-1 */
MSG_B = 0x55; /* write to CM-1 CVR register */
DATA_A = 0xaa; /* write to unused CM-1 register to flip data bus */
if( MSG_B == 0x55 ) { /* read back CVR */
/* redo same detection with different data */
MSG_B = 0x3c;
DATA_A = 0xc3;
if( MSG_B == 0x3c ) {
return 1; /* CM-1 detected */
}
}
/* check for presence of CM-2 */
/* issue identify command */
MSG_C = MOP_IDENTIFY;
MSG_D = CVR_MULTIPLEX_OP;
int msgack = MSG_D; /* clean pipeline */
msgack = MSG_D;
/* wait for togglebit to flip in response to command */
int tm0 = gettimeofday();
while( !( ( MSG_D ^ toggle ) & ( 1 << MSG_TOGGLE_BO ) ) ) {
int tm1 = gettimeofday();
if( ( tm1 - tm0 ) > time_out ) {
return 0; /* command timed out, no CobraNet interface present */
}
}
int garbage = MSG_D; /* clean pipeline */
/* verify identify results */
if( DATA_A == 'C' ) if( DATA_B == 'S' )
if( DATA_C == ( 18101 >> 8 ) ) if( DATA_D == ( 18101&0xff ) {
return 2; /* CM-2 detected */
}
return 0; /* no interface or non-supported interface */
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com