Electronic Components Datasheet Search |
|
C8051F126 Datasheet(PDF) 4 Page - Silicon Laboratories |
|
C8051F126 Datasheet(HTML) 4 Page - Silicon Laboratories |
4 / 16 page AN131 4 Rev. 1.3 (0x0093). The interrupt vector changes are outlined in the tables below. Device Comparison and Porting Checklist When porting a project from a C8051F02x device to a C8051F12x device, some code modifications are required and others are made to fully utilize the enhanced flexibility and performance of the C8051F12x devices. Both types of modifications are discussed below, sorted by peripheral. Analog-to-Digital Converter (ADC) Both the 12-bit and 10-bit versions of ADC0 are identical to ADC0 on the ‘F02x devices. ADC1 (8- bit 500 ksps) has been renamed to ADC2 on the ‘F12x. ADC2 now supports differential mode in addition to single-ended mode and has its own Pro- grammable Window Comparator. Also, the CNVSTR signal has been renamed to CNVSTR0. Please refer to the C8051F12x datasheet for ADC2 configuration information. Note that SFRPAGE should be set to ADC0_PAGE or ADC2_PAGE when reading or writing the corresponding ADC registers. Digital-to-Analog Converter (DAC) Both DAC0 and DAC1 on the ‘F12x are identical to DAC0 and DAC1 on the ‘F02x. However, be sure to set the SFRPAGE to DAC0_PAGE or DAC1_PAGE before reading or writing to any DAC registers. Voltage Reference (VREF) VREF1 on the ‘F02x has been renamed to VREF2 on the ‘F12x. Pin locations are unchanged. Note that SFRPAGE should be set to LEGACY_PAGE before any reads or writes to REF0CN. Comparators The comparators on the ‘F12x have been enhanced over the equivalent ‘F02x comparators with a new speed/power selection capability. As a result, two new registers, CPT0MD and CPT1MD, have been added to accommodate this new feature. These reg- isters give the user the option of putting comparator 0 and comparator 1 in a low power mode. The reset value for these registers leaves the speed and power consumption of ‘F12x compara- Figure 2. Interrupts Added to the ‘F12x Interrupt Source Interrupt Vector Priority ADC2 Window Comparator 0x008B 17 Figure 3. Interrupts No Longer Present in the ‘F12x Interrupt Source Interrupt Vector Priority External Interrupt 6 0x0093 18 External Interrupt 7 0x009B 19 External Crystal OSC Ready 0x00AB 21 Figure 4. Interrupts That Have Changed Locations in the ‘F12x Interrupt Source Interrupt Vector Priority ADC1 End of Conversion is now ADC2 End of Conversion 0x008B 0x0093 17 18 |
Similar Part No. - C8051F126 |
|
Similar Description - C8051F126 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |