Jump to content
43oh

ADIDAIllini

Members
  • Content Count

    7
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    ADIDAIllini reacted to CorB in Anaren TI CC110L RF AIR Booster Pack   
    Hi all,
     
    Anaren has released an update of their firmware and its now also available for CCs
     
    http://www.anaren.com/content/File/AIR/ ... upport.cfm
     
    cheers
     
    Cor
     
    EDIT: just checked the download and most of the code seems to be missing in this update ... contacting ANAREN now.
  2. Like
    ADIDAIllini reacted to gwdeveloper in Anaren TI CC110L RF AIR Booster Pack   
    Here's an updated CCS project for the Anaren Air Booster Pack. It's quite obvious they're not familiar with CCS. Included directories are very vague and leave header includes looking like "../../../HAL/HAL.h" instead of simply, "HAL.h". The code is a mess as well as the project's documentation lacks notes on how to configure the CCS project.
     
    CCS v5.1 Project
    [attachment=2]Anaren_CCS.zip[/attachment]
    CCS v4.2 Project
    [attachment=0]Anaren_CCS_v4.zip[/attachment]
    Originally, it required you to create a new workspace in the /Firmware folder then import the project. With this project, you can import into any workspace.
     
    2 warnings exist after compiling but don't seem to cause malfunction.
    [attachment=1]warning.JPG[/attachment]
     
    Consider this repair in the BETA stages, there are a few more changes that should be made for all-round usability but it works to get it going and test it.
     
    NOTE: This is a CCS project you need to import. In CCS, click "Project -> Import Existing CCS Project" then browse to the unzipped project folder.
  3. Like
    ADIDAIllini reacted to larsie in Anaren TI CC110L RF AIR Booster Pack   
    I'm making a very simple open source RF library for the MSP430 RF Booster Pack. It's at https://github.com/mobilars/LarsRF It's not done yet, but I hope to make a functional demo during today. It won't be advanced though. It's just meant for simple demos, prototypes and DIY stuff. For more advanced stuff, I'd recommend using SimpliciTI, now that this has been shown to be portable.
  4. Like
    ADIDAIllini got a reaction from bluehash in Anaren TI CC110L RF AIR Booster Pack   
    Just to clarify things a little bit more, I used gwdeveloper's method and this thread to do the inital setup for the SimpliciTI stuff:
    http://www.43oh.com/forum/viewtopic.php?f=8&t=1953
  5. Like
    ADIDAIllini got a reaction from bluehash in Anaren TI CC110L RF AIR Booster Pack   
    Yes it works on CCS. That's the main reason I messed with it! I've never worked with IAR and I figured it was easier to do this than learn IAR.
  6. Like
    ADIDAIllini got a reaction from bluehash in Anaren TI CC110L RF AIR Booster Pack   
    The changes need to be made in the your SimpliciTI smartrf_CC1101.h file. For me the file was located in the following path:
    c:\Texas Instruments\SimpliciTI-CCS-1.1.1\Components\mrfi\smartrf\CC1101\smartrf_CC1101.h
    SmartRF Studio will export your register settings and you can copy and paste them in this file after remove the settings that are in there. You need to make sure that you select all the registers and not just the default registers that are selected.
     
     
    These are fairly self explanatory, I believe.
     
    Original code from mrfi_board_defs.h:

    /* ------------------------------------------------------------------------------------------------ * GDO2 Pin Configuration * ------------------------------------------------------------------------------------------------ */ #define __mrfi_GDO2_BIT__ 7 #define MRFI_CONFIG_GDO2_PIN_AS_INPUT() st( P2SEL &= ~BV(__mrfi_GDO2_BIT__); ) /* clear pin special function default */ #define MRFI_GDO2_PIN_IS_HIGH() (P2IN & BV(__mrfi_GDO2_BIT__)) #define MRFI_GDO2_INT_VECTOR PORT2_VECTOR #define MRFI_ENABLE_GDO2_INT() st( P2IE |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_DISABLE_GDO2_INT() st( P2IE &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_IS_ENABLED() ( P2IE & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CLEAR_GDO2_INT_FLAG() st( P2IFG &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_FLAG_IS_SET() ( P2IFG & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CONFIG_GDO2_RISING_EDGE_INT() st( P2IES &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_CONFIG_GDO2_FALLING_EDGE_INT() st( P2IES |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */
    New Code for mrfi_board_defs.h:

    /* ------------------------------------------------------------------------------------------------ * GDO2 Pin Configuration * ------------------------------------------------------------------------------------------------ */ #define __mrfi_GDO2_BIT__ 0 #define MRFI_CONFIG_GDO2_PIN_AS_INPUT() st( P1SEL &= ~BV(__mrfi_GDO2_BIT__); ) /* clear pin special function default */ #define MRFI_GDO2_PIN_IS_HIGH() (P1IN & BV(__mrfi_GDO2_BIT__)) #define MRFI_GDO2_INT_VECTOR PORT1_VECTOR #define MRFI_ENABLE_GDO2_INT() st( P1IE |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_DISABLE_GDO2_INT() st( P1IE &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_IS_ENABLED() ( P1IE & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CLEAR_GDO2_INT_FLAG() st( P1IFG &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_FLAG_IS_SET() ( P1IFG & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CONFIG_GDO2_RISING_EDGE_INT() st( P1IES &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_CONFIG_GDO2_FALLING_EDGE_INT() st( P1IES |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */
     
    I hope this helps.
  7. Like
    ADIDAIllini got a reaction from CorB in Anaren TI CC110L RF AIR Booster Pack   
    The changes need to be made in the your SimpliciTI smartrf_CC1101.h file. For me the file was located in the following path:
    c:\Texas Instruments\SimpliciTI-CCS-1.1.1\Components\mrfi\smartrf\CC1101\smartrf_CC1101.h
    SmartRF Studio will export your register settings and you can copy and paste them in this file after remove the settings that are in there. You need to make sure that you select all the registers and not just the default registers that are selected.
     
     
    These are fairly self explanatory, I believe.
     
    Original code from mrfi_board_defs.h:

    /* ------------------------------------------------------------------------------------------------ * GDO2 Pin Configuration * ------------------------------------------------------------------------------------------------ */ #define __mrfi_GDO2_BIT__ 7 #define MRFI_CONFIG_GDO2_PIN_AS_INPUT() st( P2SEL &= ~BV(__mrfi_GDO2_BIT__); ) /* clear pin special function default */ #define MRFI_GDO2_PIN_IS_HIGH() (P2IN & BV(__mrfi_GDO2_BIT__)) #define MRFI_GDO2_INT_VECTOR PORT2_VECTOR #define MRFI_ENABLE_GDO2_INT() st( P2IE |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_DISABLE_GDO2_INT() st( P2IE &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_IS_ENABLED() ( P2IE & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CLEAR_GDO2_INT_FLAG() st( P2IFG &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_FLAG_IS_SET() ( P2IFG & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CONFIG_GDO2_RISING_EDGE_INT() st( P2IES &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_CONFIG_GDO2_FALLING_EDGE_INT() st( P2IES |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */
    New Code for mrfi_board_defs.h:

    /* ------------------------------------------------------------------------------------------------ * GDO2 Pin Configuration * ------------------------------------------------------------------------------------------------ */ #define __mrfi_GDO2_BIT__ 0 #define MRFI_CONFIG_GDO2_PIN_AS_INPUT() st( P1SEL &= ~BV(__mrfi_GDO2_BIT__); ) /* clear pin special function default */ #define MRFI_GDO2_PIN_IS_HIGH() (P1IN & BV(__mrfi_GDO2_BIT__)) #define MRFI_GDO2_INT_VECTOR PORT1_VECTOR #define MRFI_ENABLE_GDO2_INT() st( P1IE |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_DISABLE_GDO2_INT() st( P1IE &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_IS_ENABLED() ( P1IE & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CLEAR_GDO2_INT_FLAG() st( P1IFG &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_GDO2_INT_FLAG_IS_SET() ( P1IFG & BV(__mrfi_GDO2_BIT__) ) #define MRFI_CONFIG_GDO2_RISING_EDGE_INT() st( P1IES &= ~BV(__mrfi_GDO2_BIT__); ) /* atomic operation */ #define MRFI_CONFIG_GDO2_FALLING_EDGE_INT() st( P1IES |= BV(__mrfi_GDO2_BIT__); ) /* atomic operation */
     
    I hope this helps.
  8. Like
    ADIDAIllini got a reaction from JonnyBoats in Anaren TI CC110L RF AIR Booster Pack   
    I am admitted noob at SPI and all this, but I did end up getting the SimpliciTI stuff working (as far as I can tell). I had to do a couple of things, though.
    1) If you are in the US, you need to change your radio cofiguration using SmartRF Studio.
    2) Don't install your crystal, the air booster uses XIN/XOUT for SPI. You can get around it with jumper changes and cutting traces, but it is a pain.
    3) On the AIR booster for JP3 (CSN) connect the pads for position 3 (otherwise it wants to use XOUT as CSN, this doesn't really work with simplicity because it is setup for all of the SPI to be on Port1)
    4) In mrfi_boards_defs.h change GDO2 to BIT 0 on Port 1 instead of BIT 7 on Port 2. You have to change the bit number and all the port information too. Each line for GDO2 has a change in it.
×
×
  • Create New...