Electronic Components Datasheet Search |
|
AN334 Datasheet(PDF) 6 Page - Silicon Laboratories |
|
AN334 Datasheet(HTML) 6 Page - Silicon Laboratories |
6 / 44 page AN334 6 Rev. 0.4 A PPENDIX A—R EFERENCE D ESIGN S OFTWARE //----------------------------------------------------------------------------- // Si57x_FreqProgFirmware_F300_A.c //----------------------------------------------------------------------------- // Copyright 2008 Silicon Laboratories, Inc. // http://www.silabs.com // // Program Description: // // This software communicates with a Si570 via the SMBus interface with an 'F30x // device to program the output frequency. By pressing the 'next' button on the // board, the next output frequency in FOUT1 will be output. The MCU will always // start from the default start-up frequency. The software is compatible with the Si598/599. // When using those devices, the max frequency should be limited to 525 MHz. // // Note: This code has been successfully tested using SDCC (ver 2.8.0), Keil // (ver 8.0), and Hi-Tech (ver 9.01) // // - Interrupt-driven SMBus implementation // - Only master states defined (no slave or arbitration) // - Timer1 used as SMBus clock source // - Timer2 used by SMBus for SCL low timeout detection // - SCL frequency defined by <SMB_FREQUENCY> constant // - ARBLOST support included // - Pinout: // P0.0 -> SDA (SMBus) // P0.1 -> SCL (SMBus) // P0.2 -> LED // P0.3 -> LED // P0.4 -> LED // P0.5 -> LED // P0.6 -> LED // P0.7 -> 'Next' button on board // // all other port pins unused // // How To Test: // // 1) Download code to a 'F30x device that is connected to an Si570 device via SMBus. // (Note: In this example, SDA is connected to P0.0 and SCL is connected to P0.1) // 2) Run the code: // a) The output of the Si570 will cycle through the predefined list called // FOUT1. Each time the 'next' button is pressed, the output frequency will // change. // b) The frequencies in FOUT1 can be changed, but do not forget to update the // global definition FREQ_LIST_LENGTH with the corresponding length of the // of the new array. // // // Target: C8051F30x // Tool chain: SDCC 2.8.0 // Command Line: None // // Release 1.0 // -Initial Revision (ES) // -25 AUG 2008 // //----------------------------------------------------------------------------- // Includes //----------------------------------------------------------------------------- |
Similar Part No. - AN334 |
|
Similar Description - AN334 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | 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 |