background image

www.ti.com

Revision History

Revision History

Changes from December 5, 2014 to July 20, 2015

..........................................................................................................

Page

Throughout document, changed the link destinations for the MSP-EXP430FR4133 Software Examples and MSP-
EXP430FR4133 Hardware Design Files

...............................................................................................

1

NOTE: Page numbers for previous revisions may differ from page numbers in the current version.

25

SLAU598A – December 2014 – Revised July 2015

Revision History

Submit Documentation Feedback

Copyright © 2014–2015, Texas Instruments Incorporated

Summary of Contents for BoosterPack BOOST-IR

Page 1: ...llers within the MSP430FRxx MCU series Explore IR communication using the MSP430FR4xx and MSP430FR2xx microcontrollers TI Designs are also available to help accelerate development using IR transceiver capabilities These designs contain documentation design files and test data to minimize design overhead Download a full reference design leveraging the MSP EXP430FR4133 LaunchPad and BOOST IR Booster...

Page 2: ...ng 14 12 Pulse Distance Protocol Data Frame Format 14 13 MSP430FR4133 Pinout 16 14 Directing the Project Import Function to the Demo Project 17 15 When CCS Has Found the Project 18 16 BOOST IR Software Examples in TI Resource Explorer 22 17 Schematics 24 List of Tables 1 IR Receiver Replacement Options 8 2 Hardware Change Log 9 3 Software Examples 17 4 IDE Minimum Requirements for MSP430FR4133 17 ...

Page 3: ...gn overhead Download a full reference design leveraging the MSP EXP430FR4133 LaunchPad and BOOST IR BoosterPack 1 2 Key Features IR LED transmitter IR receiver and demodulator 4x4 membrane keypad 20 pin BoosterPack standard for use with any LaunchPad Compatibility with different IR signal generation methods 1 3 What s Included 1 3 1 Kit Contents 1 x BOOST IR BoosterPack Plug in module 1 x Quick St...

Page 4: ... shows an overview of the BOOST IR module Figure 2 BOOST IR Overview 4 BOOST IR Infrared IR BoosterPack Plug in Module SLAU598A December 2014 Revised July 2015 Submit Documentation Feedback Copyright 2014 2015 Texas Instruments Incorporated ...

Page 5: ...s The BOOST IR intentionally does not use the I2 C and SPI pins to allow other BoosterPacks that use these pins to be stacked together with the IR BoosterPack This BoosterPack does not have both male and female headers to support stacking on top This is because the keypad is too large and in most applications this keypad would be on the top To stack other BoosterPacks along with BOOST IR use them ...

Page 6: ...till low Eventually the MCU toggles Keypad Out 4 high and reads that Keypad In 1 has now transitioned to high Recall that the bottom left button connects Keypad Out 4 with Keypad In 1 forcing the input row to read high The MCU maps out this connection and knows that the bottom left button was pushed because that is the intersection point of Keypad Out 4 and Keypad In 1 The MCU can now perform the ...

Page 7: ...ncreases the range of the remote NOTE Increasing the IR transmit power may draw more current than supported from the LaunchPad Check the specific LaunchPad user s guide to make sure that enough power can be provided or use external power see Section 2 2 2 2 1 3 3 IR Transmit Selection IR transmit can be controlled by two different pins selectable by jumper J4 see Figure 2 Setting the J4 jumper to ...

Page 8: ...rt Number Receive Frequency TSOP58430 30 kHz TSOP58433 33 kHz TSOP58436 36 kHz TSOP58438 38 kHz Populated TSOP58440 40 kHz TSOP58456 56 kHz The IR receive module is very sensitive and receives almost all of the IR transmissions from its own IR LED This is mostly unavoidable without physically altering the BoosterPack Make sure that your firmware compensates for receiving its own transmissions by i...

Page 9: ...tion properly 2 Connect the external power supply After these steps are complete you should be able to operate the IR BoosterPack with an external voltage 2 3 Design Files 2 3 1 Hardware Schematics can be found in Section 6 All design files including schematics layout bill of materials BOM Gerber files and documentation are available in a zip folder SLAR104 2 3 2 Software All design files includin...

Page 10: ...easy to use IR Emitter and Receiver examples plug in module for adding Infrared IR IR Learning Mode example communications to your Launchpad design It Featured Applications contains everything that you need to start developing IR communication with your TV Remote Control Launchpad including a keypad IR LED Air Conditioner Remote Control transmitter and IR receiver demodulator Design Photo Design R...

Page 11: ... a high frequency signal When the two signals are combined the carrier frequency is output whenever the envelope is high and the signal is held low when the envelope is low Figure 7 shows an example of an IR modulated signal using Pulse Position encoding Figure 7 Pulse Position Encoding ASK 3 1 1 2 IR Modulation Logic on MSP430FR4133 The MSP430FR4133 device includes some logic to help enable IR mo...

Page 12: ...0 0B TA0 0A Input Logic 00 01 10 11 DVSS DVCC TA0CCTL0 CCIS TA0 0A TA0 0B Input Logic 00 01 10 11 DVSS DVCC TA1CCTL0 CCIS TA1 0B TA1 0A Output Logic TA1 0B TA1 0A P1 2 INCLK TI Design and Software Examples www ti com Figure 8 IR Modulation Logic Blocks in MSP430FR4133 Figure 9 shows the ASK IR Modulation signal generation used in the example software for this TI Design found in the MSP EXP430FR413...

Page 13: ...SOP59348 IR Receiver device This device performs all of the steps above stripping off the carrier signal and then provides the envelope directly to the FR4133 TA0 2 input The Timer A0 module is then used in capture mode to record the edges of the signal The pulse length is calculated from these capture values to determine if a 0 or 1 was received using pulse distance encoding 3 1 1 4 Pulse Distanc...

Page 14: ...verted version of itself and the command byte with an inverted version of itself This is to help catch any errors in the communication to increase robustness and is a standard feature of the pulse distance protocol used by many remote controls After the payload is transmitted the Data Frame ends with a tail pulse to indicate the end of the packet This tail is a 560 us carrier modulated pulse Figur...

Page 15: ... and flexible It supports both ASK and FSK modulation which allows implementation of a variety of IR protocols For more information on the IR modulation capabilities of the FR4133 device see the MSP430FR4xx and MSP430FR2xx Family User s Guide SLAU445 For more information on how to implement different remote control IR protocols using the FR4133 IR features see the application report Infrared Remot...

Page 16: ...P2 5 L29 P2 4 L28 P2 3 L27 P2 2 L26 P2 1 L25 P2 0 L24 P6 7 L23 P6 6 L22 P6 5 L21 P6 4 L20 P6 3 L19 P6 2 L18 P6 1 L17 P6 0 L16 P3 7 L15 P3 6 L14 P3 5 L13 P3 4 L12 P3 3 L11 P3 2 L10 P3 1 L9 P3 0 L8 P7 7 L7 P7 6 L6 P7 5 L5 P7 4 L4 P7 3 L3 P7 2 L2 P7 1 L1 P7 0 L0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50...

Page 17: ...opment Environment Requirements To use any of the software examples with the LaunchPad you must have an integrated development environment IDE that supports the MSP430FR4133 device Table 4 IDE Minimum Requirements for MSP430FR4133 Code Composer Studio IDE IAR Embedded Workbench IDE CCS v 6 1 or later IAR EW430 v7 0 or later For more details on where to download the latest IDE see Section 4 2 3 1 4...

Page 18: ... and one for programming the device to receive This is handled within one project by using build configurations To change between Emitter and Receiver right click on the CCS project and go to Build Configurations Set Active and then select either IR Emitter or IR Receiver 3 1 4 2 IAR IAR 6 10 2 or higher is required To open the demo in IAR click File Open Workspace and browse to the eww workspace ...

Page 19: ...CR2 generates the envelope for the data to be sent and TA0CCR2 generates the carrier frequency The timers are connected internally and using the SYSCFG settings are combined to generate the IR signal output on a pin which goes to the IR emitter LED on the BoosterPack For more details on the IR generation using the IR modulation features of the MSP430FR4133 and information on how data is encoded in...

Page 20: ...ed in FRAM for later use to generate the same signal when the button is pressed For more details about how the learning mode software works see Section 3 1 1 5 Note that the IR receiver and demodulator on the BoosterPack is tuned for 38 kHz carrier frequency This is one of the most common carrier frequencies used by many remote control manufacturers for a number of devices If communication needs t...

Page 21: ... IR Emitter code can only enter LPM0 because this is the lowest power mode in which SMCLK is on See the MSP430FR4133 data sheet SLAS865 for more details about low power modes LPMs and current consumption Table 8 Range Testing Resistor Used for R2 Ω Range meters 47 8 m 4 7 20 m By default the BOOST IR module comes with a 47 Ω resistor for R2 R2 controls the TX current for the IR LED This has a dire...

Page 22: ...plete collection of libraries and tools It includes a driver library driverlib graphics library grlib and many other software tools MSP430Ware is optionally included in a CCS installation or can be downloaded separately IAR users must download it separately MSP430Ware includes the TI Resource Explorer for easily browsing tools For example Figure 16 shows all the software examples in the tree Insid...

Page 23: ...FAQs Q Why does one column on my keypad not work A On some LaunchPads one of the column pins is connected to the UART RX pin through the backchannel UART Disconnect the UART RX jumper on the LaunchPad isolation block Q Why do I receive everything that I transmit A The receiver module is sensitive and receives almost every transmission sent by the IR LED Make sure that your firmware ignores the mes...

Page 24: ...atics www ti com 6 Schematics Hardware design files can be downloaded from www ti com lit zip slar104 Figure 17 Schematics 24 BOOST IR Infrared IR BoosterPack Plug in Module SLAU598A December 2014 Revised July 2015 Submit Documentation Feedback Copyright 2014 2015 Texas Instruments Incorporated ...

Page 25: ...estinations for the MSP EXP430FR4133 Software Examples and MSP EXP430FR4133 Hardware Design Files 1 NOTE Page numbers for previous revisions may differ from page numbers in the current version 25 SLAU598A December 2014 Revised July 2015 Revision History Submit Documentation Feedback Copyright 2014 2015 Texas Instruments Incorporated ...

Page 26: ...esponsible for compliance with all legal regulatory and safety related requirements concerning its products and any use of TI components in its applications notwithstanding any applications related information or support that may be provided by TI Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failur...

Page 27: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments BOOST IR ...

Reviews: