background image

 

 Getting 

Started

 

17

 

ƒ

 

LED OFF  

ƒ

 

LED TOGGLE – SLOW 

ƒ

 

LED TOGGLE – FAST  

Carriage Return/an Enter command followed by any of the above instructions results in the 
following: 

ƒ

 

LED ON: Turns on the LED and returns the phrase "LED is ON" back to HyperTerminal 

ƒ

 

LED OFF: Turns off the LED and returns the phrase "LED is OFF" back to HyperTerminal 

ƒ

 

LED TOGGLE – SLOW: Turns on the timer used to toggle LED with a large period and returns 
the phrase "LED is toggling slowly" back to HyperTerminal 

ƒ

 

LED TOGGLE – FAST:  Turns on the timer used to toggle LED with a smaller period and 
returns the phrase "LED is toggling fast" back to HyperTerminal 

NOTE:

 In case any other phrase (other than the ones discussed above) is typed in the 

HyperTerminal followed by the enter command, “No such command!” is returned back to the 
HyperTerminal.  

The CDC and HID stacks provide a number of useful code examples that can serve as a good 
starting point for USB development. 

5

 

Special Considerations for the MSP430F66xx Device  

The document 

MSP430x5xx Overview Comparison to MSP430x2xx and MSP430x4xx 

provides 

a high level overview of migration concerns when moving from an MSP430F2xx/4xx family 
device to an MSP430F5xx/F6xx device. In addition the section below outlines some specifics 
about enhancements in select modules in the F66xx device family. 

5.1

 

Memory Map 

The MSP430F66xx family has a 1-MB unified memory map with expanded peripheral space 
over previous families (see Table 1). 

 

Peripheral space is eight times the size available in the MSP430x2xx/MSP430x4xx 
families. 

 

Info A is two times the size available in the MSP430x2xx/MSP430x4xx families. 

 

Interrupt vector space is two times the size available in the MSP430x2xx/MSP430x4xx 
families. 

 

Extra 2KB USB RAM which can be used by the application code if the USB module is not 
in use. 

Table 1.

 

Example Memory Map (MSP430F6638) 

 

Segment Address 

Summary of Contents for MSP430F5630

Page 1: ...USB Firmware for the F6638 5 4 4 4 Using CCS IAR to Compile Download Run the Firmware 6 4 5 USB Device First Time Enumeration 8 4 6 Verifying USB Device Installation and Determining COM Port Assignme...

Page 2: ...Technical Documents tab 1 Device Datasheet 2 MSP430x5xx Family User s Guide 3 Application Report PMM UCS Port Mapping and Flash Libraries for the MSP430x5xx and MSP430x6xx Devices 4 MSP430F66xx Device...

Page 3: ...C Program Files Texas Instruments MSP430_USB_DRIVERS_v3 USB IAR C ProgramFiles IAR Systems Embedded Workbench x x 430 drivers TIUSBFET WinXP The MSP430 Hardware Tool User s Guide Appendix F gives deta...

Page 4: ...ed to connect the USB FET tool MSPFET430UIF USB Connector The USB type B connector on the target board is used to connect the USB cable Type A to B between PC and the target board 4 3 2 Jumper Setting...

Page 5: ...ection below outlines getting started with development on the F6638 using a USB code example 4 4 1 Attach the USB FET Tool to the PC Connect the USB FET tool to a spare USB port on the PC using the US...

Page 6: ...ion on the PC Your Working Directory USB CDCv1 19 for CCSv4 b Start CCSv4 Core Edition Start Programs Texas Instruments Code Composer Studio v4 Code Composer Studio v4 Core Edition c If opening the ex...

Page 7: ...py and extract the contents of the USB API firmware USB CDCv1 19 for IAR zip that is present in the MSP430 USB CDC HID API Stacks zip file to a known location on the PC Your Working Directory USB CDCv...

Page 8: ...lready installed within Windows but Windows needs to be guided to an inf file MSP430_CDC inf included with this kit Using this inf file Windows can finish loading the appropriate drivers NOTE The enum...

Page 9: ...click Next 4 In the Choose your search and installation options window select Search for best driver in these locations options and use the browse button to enter the file path that contains the USB...

Page 10: ...g Started Your Working Directory USB CDCv1 19 for CCSv4 or IAR USBCDC_Example1 Once the file path has been entered in the box click Next to proceed 5 Wait while the wizard searches the driver files as...

Page 11: ...the following screen will be displayed unless installing a Microsoft WHQL certified driver Click on Continue Anyway to continue with the installation If Windows XP is configured to ignore file signat...

Page 12: ...12 Getting Started 8 Windows should then display a message indicating that the installation was successful Click Finish to complete the installation for the first port of the device...

Page 13: ...device use Device Manager which is Windows means of viewing all peripheral devices available in the system In Windows the Device Manager can be opened by browsing through Start Control Panel System an...

Page 14: ...Application using HyperTerminal All the USBCDC examples that are provided with the USB API firmware interface with HyperTerminal application on the PC The USBCDC_Example1 demo application is used to c...

Page 15: ...rted 15 Set appropriate PORT SETTINGS as shown below and press OK Find below the ASCII set up configurations for this demo This window can be opened by navigating through File Properties Settings tab...

Page 16: ...ted Appropriate phrases entered in the HyperTerminal window help control the LED on the MSP430F6638 target board Mentioned below are the valid LED control phrases that can be typed in the HyperTermina...

Page 17: ...ide a number of useful code examples that can serve as a good starting point for USB development 5 Special Considerations for the MSP430F66xx Device The document MSP430x5xx Overview Comparison to MSP4...

Page 18: ...s required to power the oscillator It is also possible to power the oscillator directly from DVcc by disabling the backup system in software This is done by setting the BAKDIS and BAKSW bits in the BA...

Page 19: ...e the RTC registers to their previous state It is important to note that this reconfiguration needs to be performed before the LOCKIO bit is cleared More details on the state of each RTC register at r...

Page 20: ...h statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury...

Reviews: