Jump to content

znanev

Members
  • Content Count

    20
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    znanev reacted to gwdeveloper in SimpliciTI RF wireless for the Launchpad   
    With the group buy for CC2500 radios happening soon, I though everyone might want easy access to software and get up and running with wireless super fast.
     
    The conversion was pretty simple to get SimpliciTI running on the MSP430G2553. It uses UCBO on P1.4, 1.5, 1.6, 1.7. P2.6 and 2.7 were used for GDO0 and GDO2 but these can be changed if needed. The led on P1.0 is used for a connection indicator. Of course, the jumper on 1.6 must be removed.
     
    Unzip the attached file to your SimpliciTI\bsp\boards folders.
    eg:

    C:\Texas Instruments\SimpliciTI-CCS-1.1.1\Components\bsp\boards\LP_G2553
     
    It will work with MDFLY's CC2500 radio http://www.mdfly.com/index.php?main_page=product_info&cPath=8_52&products_id=880&zenid=hqoogv1qn7ler204vb7vjkior3, the group buy CC2500 radio http://www.43oh.com/forum/viewtopic.php?f=22&t=1873, and TI's RF2500T http://www.ti.com/tool/ez430-rf2500t.
     
    I'm working on a demo project to post here as well as a short tutorial on getting a basic SimpliciTI project started in CCS.
     
    On a side note, this will not work in CCSv5.1 yet. The new compiler creates numerous Syntax errors. It compiles and works just fine with CCSv4.
    EDIT: After changing the optimization level and ignoring the syntax errors, it compiles and runs just fine from CCS v5.1!
     
    LP_G2553.zip
  2. Like
    znanev reacted to gwdeveloper in SimpiciTI Tutorial for CC2500   
    This tutorial is meant to provide simple instruction to prepare a SimpliciTI wireless project using the TI Launchpad and CC2500 radio. Currently, CCSv5.1 will compile this program but have a few syntax errors. They can be ignored for now. CCSv4 will compile with no issues.

    Please feel free to critique and ask questions. It helps to make us all better.

    Part 1 of 2

    Hardware Needed:
    Launchpad with MSP430G2553
    CC2500 Radio (several variants available; MDFLY CC2500 breakout or ez430-RF2500t)
    (will insert an image of various hardware versions from TI to DIY)

    Software Needed:
    TI's CCS v5.1 http://processors.wi...hp/Download_CCS
    SimpliciTI 1.1.1 for CCS http://www.ti.com/tool/simpliciti
    LP_G2553.zip (launchpad BSP for simpliciTI)
    2274_SimpliciTI_Toggle.zip (only needed for RF2500T used as slave; it will disable the cpu and set up peripherals to toggle leds) 2274_SimpliciTI_Toggle.zip

    Step 1: Install Softwares.

    - Install CCS v5 OR V6 for the MSP430 (if you don't already use CCS)
    - Install SimpliciTI 1.1.1 (make note of the install directory; we'll use C:\Texas Instruments\SimpliciTI-CCS-1.1.1)
    - unzip LP_G2553.zip bsp files to C:\Texas Instruments\SimpliciTI-CCS-1.1.1\Components\bsp\boards
    - modified vlo_rand library for easy address assignment will be unzipped later
    - for RF2500T, unzip 2274_SimpliciTI_Toggle.zip to your current CCS workspace
    --- this project will need to be imported to CCS via Project -> Import Existing CCS Project

    Step 2: Create CCS Project

    -File -> New CCS Project
    -Give project name. Select MSP430 Family and MSP430G2553 as variant. Connection should be left to default and Empty Project selected for template.
    5_2folder_structure.JPG[/attachment]

    Step 4: Create project file structure

    -Now you will need to open the SimpliciTI\components folder.
    --- for eg; C:\Texas Instruments\SimpliciTI-CCS-1.1.1\Components
    (after the following actions, select "Link To" for the copy action)
    -- drag 3 files from ..\bsp to the bsp project folder
    -- drag 3 files from ..\mrfi to the mrfi project folder
    -- drag all files from ..\Simpliciti\nwk to nwk project folder
    -- drag all files from ..\Simpliciti\nwk_applications folder to nwk applications project folder
    -We'll borrow the nwk .dat files from the EZ430RF project
    --drag smpl_nwk_config.dat from \SimpliciTI-CCS-1.1.1\Projects\Examples\eZ430RF\Simple_Peer_to_Peer\CCS\Configuration to the configuration project folder.
    --drag smpl_config.dat from \SimpliciTI-CCS-1.1.1\Projects\Examples\eZ430RF\Simple_Peer_to_Peer\CCS\Configuration\End_Device to the end device project folder.
    [attachment=1]5_3linked_files.JPG[/attachment]

    end of part 1. (limited due to 5 attachments per entry)
  3. Like
    znanev reacted to MattTheGeek in [Group Buy-3][D]CC2500 Breakout/BoosterPack   
    Glad to hear that.
     
    I had to use stamps instead of printing a international label as paypal took that feature away :problem:
     
    The stamps are called Forever stamps. As for the Christmas theme, it's just what i had on hand.
  4. Like
    znanev reacted to RobG in CC2500 Breakout/BoosterPack   
    Here's the tutorial
     


  5. Like
    znanev reacted to RobG in CC2500 Breakout/BoosterPack   
    After going back and forth all weekend on what jumpers to include, here's the "final" design.
    The board includes:
    1 Booster pack
    2 G2xx3/CC2500 boards
    2 breakout boards compatible with booster pack
    1 breakout board with single row header
    (I know this is one board too many, so if Seeed rejects it, I will remove single row breakout.)
     
    Booster pack is designed to work with G2xx3 chips (is there any need for G2xx1/2 compatibility?)
     
    Port mapping:
    P1.1 - MISO (CC2500/SPI 2)
    P1.2 - MOSI (CC2500/SPI 2)
    P1.4 - SCLK (CC2500/SPI 2)
    P1.5 - SCLK (CC2500/SPI 1, Memory)
    P1.6 - MISO (CC2500/SPI 1, Memory)
    P1.7 - MOSI (CC2500/SPI 1, Memory)
    P2.0 - CS (CC2500/SPI 1)
    P2.1 - GDO0 (CC2500/SPI 1)
    P2.2 - GDO2 (CC2500/SPI 1)
    P2.3 - GDO2 (CC2500/SPI 2) or Memory Hold
    P2.4 - GDO0 (CC2500/SPI 2) or Memory CS
    P2.5 - CS (CC2500/SPI 2)
     
    When memory is not used, CS should be jumpered to Vcc, same with Hold.
     
    What thickness are we going with?
    1.0mm would be great for MCU boards, but might be too thin for the booster pack. 1.2mm should be perfect.
     
    I will post the complete set of files later today.
     

  6. Like
    znanev reacted to gwdeveloper in Bus Pirate, SUMP and the MSP430   
    To start off, this is not a tutorial but more of a quick how-to. The 1st post will be about using your Bus Pirate to "sniff" SPI data on your MSP430. Mostly, I'm posting this because I've never found clear instructions or examples on doing this but it's been important in solving a lot of programming issues. The Bus Pirate is the handiest tool on my bench -it's tiny and has a lot of functionality.
     
    Bus Pirate http://dangerousprototypes.com/docs/Bus_Pirate
     
    Hardware Connections
    Bus Pirate -> MSP430
    CS -> UCBxSTE (or your CS pin)
    CLK ->UCBxCLK ( or your SPI clock pin)
    MISO -> UCBxSOMI (or your SPI input pin)
    MOSI -> UCBxSIMO (or your SPI output pin)
    AUX -> SPI D/C or other Trigger source.
     
    Software
    Alternative Sump Logic Analyzer Client http://www.lxtreme.nl/ols/
    Labeled Client Project for MSP430 sump_no_signals.JPG[/attachment]
    Then, what I like to do, is create a logic trigger in my program. This is done, so I can determine exactly when I want to trigger the analyzer instead of relying on a clock source.
     
    This code can be placed in your main.c:

    // manual logic trigger for analyzer #define LOGIC_OUT P1OUT #define LOGIC_DIR P1DIR #define LOGIC_BIT BIT7 #define TRIGGER (LOGIC_OUT |= LOGIC_BIT)
    Here I used P1.7 on the MSP430F2274. Change the port and bit configuration to suit your hardware. This will be the pin we connect to the AUX pin of the Bus Pirate. Then you can place TRIGGER; anywhere you'd like to start analyzing your data.
     
    To being a capture, click on the 'Start Capturing' button. You'll be presented with a configuration window. Select the configuration for your hardware; Analyzer Port is the com port for the Bus Pirate. Leave the speed at 115200bps and for Device Type, select "Bus Pirate OLS mode". In the Acquisition tab, leave the default settings. Move to the Triggers tab; check the box to enable the trigger. For mode, select "Serial" and Channel to 0. The last step is select the Trigger Mask. We're using Channel 4 (AUX on the Bus Pirate), so put a check in the 5th box from the right.
     
    It should look like this:
    uart3.zipsump_no_annotations.JPG[/attachment]
    From here, select "Tools -> SPI Analyzer". The proper channel and mode settings were saved as part of the Labeled Client Project, so just press "Analyze". You will see all of the data that was transfer and at what times. Press close when you're done reading.
     
    The resulting window after Analyzing:
    [attachment=0]sump_annotations.JPG[/attachment]
    Here you can see that our Trigger was pulled high, CS was pulled low, no serial data was incoming, the clock is function properly and our outgoing datastream is "0xAE, 0x00, 0x10, 0x40, 0x00, 0x81, 0x8F....." (BTW, that's the init sequence for the OLED Booster Pack)
     
    To scan again, just press the "Repeat Capture" button. This also works for I2C, UART and other protocols (with different settings, of course).
  7. Like
    znanev reacted to MattTheGeek in [Group Buy-3][D]CC2500 Breakout/BoosterPack   
    Alright, Added you to the list.
  8. Like
    znanev reacted to MattTheGeek in CC2500 Breakout/BoosterPack   
    My breakout

     
    I'll see if i can design a BP as well. Good to have options.
  9. Like
    znanev reacted to bluehash in [Group Buy-2][D]CC2500 RF Module - GB2   
    SugarAddict---20
    Bluehash ------25
    Rob-------------4(or 2)
    Rcouto---------6(I)
    Megamerican--4
    Rickta59-------6
    caa028---------10
    zborgerd-------4
    Lars------------10(I)
    Geekdoc--------4
    EskimoBob-----24(I)
    oPossum-------5
    xpg------------10(I)
    greenITguy----6
    resistor--------2
    znanev---------4
     
     
    ----------------------------
    Total-----------144
    Goal------------100
  10. Like
    znanev reacted to Fe2o3Fish in Special TI eStore offers for Facebook critters   
    FYI, FWIW, IYGARA -- This just popped up on my Facebook feed:
     
    Interested in TI Microcontroller development tools? You
  11. Like
    znanev got a reaction from netrafter in Cheap C2000 Piccolo: F2806x MCU - $11   
    Hi all,
     
    Browsing through DangerousPrototypes blog today, I saw Ian posted some info about TI's floating-point Piccolo MCUs. Texas Instruments has development boards with F28069 in memory stick form factor on promotion now ($11 if using the promo code Piccolo11 at checkout).
     
    It seems those Piccolo MCUs have far more capabilities than I'll ever use in my simplistic projects, but there are a lot of clever people in this forum who may find it useful
     
    You can see and order the dev board here:
    https://estore.ti.com/TMDX28069USB-F28069-Piccolo-controlSTICK-P2257C43.aspx?DCMP=F2806x&HQS=Other+EM+f2806x_em1_es
     
    Here is where I got this tip from:
    http://dangerousprototypes.com/2011/01/13/c2000-piccolo-f2806x-mcu/
     
    Cheers,
    zn
  12. Like
    znanev got a reaction from markey1979 in Cheap C2000 Piccolo: F2806x MCU - $11   
    Hi all,
     
    Browsing through DangerousPrototypes blog today, I saw Ian posted some info about TI's floating-point Piccolo MCUs. Texas Instruments has development boards with F28069 in memory stick form factor on promotion now ($11 if using the promo code Piccolo11 at checkout).
     
    It seems those Piccolo MCUs have far more capabilities than I'll ever use in my simplistic projects, but there are a lot of clever people in this forum who may find it useful
     
    You can see and order the dev board here:
    https://estore.ti.com/TMDX28069USB-F28069-Piccolo-controlSTICK-P2257C43.aspx?DCMP=F2806x&HQS=Other+EM+f2806x_em1_es
     
    Here is where I got this tip from:
    http://dangerousprototypes.com/2011/01/13/c2000-piccolo-f2806x-mcu/
     
    Cheers,
    zn
  13. Like
    znanev got a reaction from javier.hp in Cheap C2000 Piccolo: F2806x MCU - $11   
    Hi all,
     
    Browsing through DangerousPrototypes blog today, I saw Ian posted some info about TI's floating-point Piccolo MCUs. Texas Instruments has development boards with F28069 in memory stick form factor on promotion now ($11 if using the promo code Piccolo11 at checkout).
     
    It seems those Piccolo MCUs have far more capabilities than I'll ever use in my simplistic projects, but there are a lot of clever people in this forum who may find it useful
     
    You can see and order the dev board here:
    https://estore.ti.com/TMDX28069USB-F28069-Piccolo-controlSTICK-P2257C43.aspx?DCMP=F2806x&HQS=Other+EM+f2806x_em1_es
     
    Here is where I got this tip from:
    http://dangerousprototypes.com/2011/01/13/c2000-piccolo-f2806x-mcu/
     
    Cheers,
    zn
  14. Like
    znanev got a reaction from gatesphere in Cheap C2000 Piccolo: F2806x MCU - $11   
    Hi all,
     
    Browsing through DangerousPrototypes blog today, I saw Ian posted some info about TI's floating-point Piccolo MCUs. Texas Instruments has development boards with F28069 in memory stick form factor on promotion now ($11 if using the promo code Piccolo11 at checkout).
     
    It seems those Piccolo MCUs have far more capabilities than I'll ever use in my simplistic projects, but there are a lot of clever people in this forum who may find it useful
     
    You can see and order the dev board here:
    https://estore.ti.com/TMDX28069USB-F28069-Piccolo-controlSTICK-P2257C43.aspx?DCMP=F2806x&HQS=Other+EM+f2806x_em1_es
     
    Here is where I got this tip from:
    http://dangerousprototypes.com/2011/01/13/c2000-piccolo-f2806x-mcu/
     
    Cheers,
    zn
  15. Like
    znanev got a reaction from GeekDoc in Cheap C2000 Piccolo: F2806x MCU - $11   
    Hi all,
     
    Browsing through DangerousPrototypes blog today, I saw Ian posted some info about TI's floating-point Piccolo MCUs. Texas Instruments has development boards with F28069 in memory stick form factor on promotion now ($11 if using the promo code Piccolo11 at checkout).
     
    It seems those Piccolo MCUs have far more capabilities than I'll ever use in my simplistic projects, but there are a lot of clever people in this forum who may find it useful
     
    You can see and order the dev board here:
    https://estore.ti.com/TMDX28069USB-F28069-Piccolo-controlSTICK-P2257C43.aspx?DCMP=F2806x&HQS=Other+EM+f2806x_em1_es
     
    Here is where I got this tip from:
    http://dangerousprototypes.com/2011/01/13/c2000-piccolo-f2806x-mcu/
     
    Cheers,
    zn
  16. Like
    znanev got a reaction from NatureTM in Cheap C2000 Piccolo: F2806x MCU - $11   
    Hi all,
     
    Browsing through DangerousPrototypes blog today, I saw Ian posted some info about TI's floating-point Piccolo MCUs. Texas Instruments has development boards with F28069 in memory stick form factor on promotion now ($11 if using the promo code Piccolo11 at checkout).
     
    It seems those Piccolo MCUs have far more capabilities than I'll ever use in my simplistic projects, but there are a lot of clever people in this forum who may find it useful
     
    You can see and order the dev board here:
    https://estore.ti.com/TMDX28069USB-F28069-Piccolo-controlSTICK-P2257C43.aspx?DCMP=F2806x&HQS=Other+EM+f2806x_em1_es
     
    Here is where I got this tip from:
    http://dangerousprototypes.com/2011/01/13/c2000-piccolo-f2806x-mcu/
     
    Cheers,
    zn
  17. Like
    znanev reacted to bluehash in [ REMINDER ] Sparkfun Freeday is coming up!   
    Just a reminder for you guys that Sparkfun's Free day is coming up. Don't miss out.
  18. Like
    znanev reacted to gatesphere in Electronics reverse-engineering game   
    Hey all, just thought I'd share this cool game I found. It's pretty sweet, as most of the games on this site are.
    Anyways, it's called Ruckingenur II, and it's free.
     
    http://thesiteformerlyknownas.zachtroni ... com/?p=654
  19. Like
    znanev reacted to cde in LCD-I2C For HD44780 LCDs and PCF8574 Expanders   
    Soo, I got busy. Tested the lcd out with my i2c explorer, and then coded up a i2c based lcd controller. It works well enough to initialize and write to an lcd, even commands. At this point, it just runs a test, and that's it. Will be trying to add a RX uart soon (since the biggest code hog was the i2c read routine [i2c.c was about 1k in i2c-explorer] it should fit fine), but it is all setup for 4bit lcd control, and separate functions for lcd commands and lcd data. Two port pins on the expander are still free, and could be used for a larger lcd with 2 enable pins, or reseting the lcd (with a pnp? needs some testing to figure out how to force it to hardware reset) or the same for the led backlight (5v, nearly 300ma from what I read. Could use an extra resistor and/or npn for control.). But you can't do all three from the i2c expander (6 used, 2 free). But the launchpad still has 4 free gpio (5 if you dont need RX)
     
    Did add a small bit of debug tool to it. The expander_write function will turn on led1, go into a while loop, then send the actual data. If the i2c system does not receive an ACK, it will keep looping, trying to send the data again and again, and will keep the led on until a ack is received. So this serves two purposes. If you see the led on for an extended period of time, something is up (It really shouldn't even be fast enough for you to see. i2c is running at a [snail-worthy] 8khz, and 8 bits at a time...), and it allows for some form of error-prevention (Some i2c devices will ignore extra read/write commands when processing internal data, so retrying until it responds is standard procedure).
     
    Allows you to control a HD44780 compatible LCD through a simple I2C Port Expander.
    Tested on DV-16100-S1FBLY LCD (16x1 lcd, 2 Lines of 8 Characters at a time [Weaksauce, sure, but free. Will test a 40x4 lcd after RX works.])
    Used with a TI PCF8574(A for alternative slave addresses) 8bit port expander. No special setup needed for this Port Expander. Others need you to write a port address, and possible setup as outputs.
    Created for a MSP430G2231. ~900 bytes of code, so can fit on smaller ones. Created on IAR Kickstart.
     
    Displays "cde 43oh" on Line 1, " ^___^ " on Line 2.
     

     
    I2C control based on my own work.
     
    Based on work by Michael Bok of http://www.nighsoft.com found at:
    http://forum.sparkfun.com/viewtopic.php?t=13656
    http://hestia.nighsoft.net/files/L1682_MSP430_code.zip
    He wrote up a direct gpio to lcd program for the comparable msp430f2012.
    lcd-i2c.zip
  20. Like
    znanev reacted to simpleavr in TI Screwed the Pooch on this.   
    my UK friend, what was your experience w/ FedEX. I also got the EZ430 w/ coupon that brought the price to $0.00 (w/ free shipping from new eStore), but FedEx in Canada decided to charge me custom clearance fee of $20.00. and that's the cost for the device itself. and FedEx does this selectively, i order free samples and did not get charged.
     
    now i will order only from newark canada for ti items as i can predict the cost (usually just $12.00 shipping).
  21. Like
    znanev reacted to GeekDoc in Free shipping from the eStore   
    &^%# IT! They always get me with free shipping!
     
    In for another (free) EZ430-F2013 and three (more) LaunchPads. Why? Because I think they lost my last backorder and, if not, can you really have too many LaunchPads? (Seriously, I'll probably give them away to friends if I get both orders.)
     
    BTW: You can only use the EZFREE2013 code once. I tried. Whaaat? I was curious.
     
    -Doc
×
×
  • Create New...