Freescale Semiconductor 802.15.4 manual System Bus Frequency, Uart Baud Rate

Page 16

2.3 System Bus Frequency

The MC908HCS08GB60/GT60 starts in 4 MHz self clocked mode. The init code changes this to 8 MHz after a few instructions from reset.

If NVM data is found, the system clock (MC908HCS08GB60/GT60 ICG module and MC13192 CLKO) and other options are setup as specified by the uploaded application. See the Freescale 802.15.4 MAC/PHY Software Reference Manual, 802154MPSRM/D, for more details.

If no NVM data can be found, the following (safe mode boot) values are used:

MC13192 CLKO = 62.5 KHz

MC908HCS08GB60/GT60 bus clock = 16 MHz

2.4 UART Baud Rate

If NVM data is found, the UART baud rate is setup as specified by the uploaded application. Several values can be used. See the MC908HCS08GB60/GT60 MCU Data Sheet, MC9S08GB60/D for more information.

The baud rate depends on the NVM values specified by the application. See the Freescale 802.15.4 MAC/PHY Software Reference Manual, 802154MPSRM/D, for more details.

If no NVM data is found, the following (safe mode boot) values are used:

UART baud rate 19200 kbps, 8 data, 1 start, 1 stop, none parity.

2-4

Embedded Bootloader Reference Manual, Rev 0.0

Freescale Semiconductor

Image 16
Contents 802.15.4/Zigbee Embedded Bootloader How to Reach Us USA/Europe/Locations Not Listed Contents Embedded Bootloader Programming Embedded Bootloader Public Function Description Audience Conventions References Chapter Embedded Bootloader Description TargetPorted Targets Axiom AXM-0308Potential Issues FeaturesBenefits Optional Firmware Upload Settings Upload Firmware Chapter Using the Embedded BootloaderUse Case One Safe Mode Boot Use Case TwoAn Example of How to Change the MAC Address Updating Non-volatile Memory NVMSystem Bus Frequency Uart Baud RateChapter Test Tool Zigbee Flash Tool Using the Tools Menu Option Graphical User Interface GUI VersionUsing the View Menu Option View Menu OptionSelecting the Firmware File to Upload Firmware UploadAfter a Successful Firmware Upload Using the Help Menu Changing the NVM Data in Flash or FileSystem Configuration Window Command Line Version CMD Command Line Version Parameter ListNormal Use Example Default Flash Erase Disabled ExampleEmbedded Bootloader Reference Manual, Rev Chapter Embedded Bootloader Programming Programming To An Empty Erased BoardConnection Assistant Window Load Executable Window Status Window Upgrading The Embedded Bootloader Connection Assistant Window Programmer Expert Window S19 File Window Status Window Embedded Bootloader Reference Manual, Rev Embedded Bootloader Image Chapter Application Integration Reference GuideProduct Deliverables Application Support FilesUnreferenced Symbols ApplicationApplication Linker File Compiler DefinesSystem Clock Setup Application Support FilesDigiType.h 2 Gb60io.h3 Crt0.c and Crt.h NVData.c and NVData.h EmbeddedBootloader.h and EmbeddedBootloader.cISRVectors.c DummyIsr.c Embedded Bootloader Build Environment Chapter Port Integration Reference Guide1 HCS08 Compiler 2 HCS08 LinkerEmbeddedBootloader.mcp EmbeddedBootloaderFunctionalityLib.Lib2 HCS08FlashLib.Lib Source FilesPorting to a Specific Target Code and Data SegmentsStandard Libraries Compiler #definesSource Files Target.hResetVector.c EmbeddedBootloaderTarget.hHWInit.c HWInit.hMain.c 802.15.4/Zigbee Application Accessible Functions Chapter Embedded Bootloader Public Function DescriptionEnableDownloadFirmware Embedded Bootloader boot flag HardReset UpdateNVRAMNVFlashSetup FLICGSetupUARTPortSelect Output NoneEmbedded Bootloader Reference Manual, Rev Chapter Embedded Bootloader Memory Map 128 Direct Port Registers1BFF 4BFF 4DFF 4FFF 8BFF 8DFF 8FFF Embedded Bootloader Reference Manual, Rev FFB0 Ffbf Cursive = fixed register and vectors in flash Embedded Bootloader Reference Manual, Rev Appendix a Release Folder and File Structure Folder StructureFile Structure EmbeddedBootloaderFunctionalityLib.Lib Functionality library Embedded Bootloader Reference Manual, Rev