| Electronic Components Datasheet Search |
|
PC87591L Datasheet(PDF) 434 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87591L Datasheet(HTML) 434 Page - National Semiconductor (TI) |
|
434 / 437 page ![]() www.national.com 434 Revision 1.07 B. Software for Hardware Interface B.1 FACTORY PARAMETERS The following table is stored in the factory parameters section of the flash. RevisionCode Interpretation ● 00xx16 - Pre-production versions; contact NSC for usage guidelines. ● 01xx16 - Production version xx of PC87591x devices (xx is a version number starting with 0x00). ● 02xx16 - Production version xx of PC87591x devices with special handling noted in user information. ● FFxx16 - A non-tested device; contact National Semiconductor for usage guidelines. ● Other - Reserved for future use. The ADC should be initialized after reset with the factory parameters setting that are stored in flash memory. The code below is an example of how the data may be loaded into the ADC. #define IBAI (*((volatile unsigned short *)0xF880)) #define IBD (*((volatile unsigned short *)0xF882)) #define ADCPINX (*((volatile unsigned char*)0xFF2A)) #define ADCPD (*((volatile unsigned int *)0xFF2C)) void CalibrateADC() { unsigned int i, count; IBAI = 0x0000; // Set address to RevisionCode if ( (IBD & 0xff00) == 0x0100) // Check that RevisionCode is 0x01yy; // refer to user information on // other cases. { // Factory Parameters are programed with the correct version IBAI= 0x0002; // Set address to ‘count’ count = IBD; // Read the number of elements to copy for (i=1; i<= count ; i++) { ADCPINX = (unsigned char)i; // Set pointer in ADC register IBAI = 2*i+2; // Set pointer in Flash ADCPD = IBD; // Copy from flash to ADC register } ADCPINX = 0x00; // change the index back to the default register. ADCPD = 0x0001; // Lock the ADC calibration registers.} } Information Block Address Data [Word] 000016 unsigned int RevisionCode 000216 unsigned int count 007C16 Copy of SRID register indication for the device revision number. For PC87591E: FF0n16 For PC87591S: FF2n16 |
|
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 |
| 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 |