EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / interface msp430 with cc3000wifi via SPI

interface msp430 with cc3000wifi via SPI

|

Electronics › Electronics › interface msp430 with cc3000wifi via SPI

  • This topic has 5 replies, 2 voices, and was last updated 12 years ago by AJISH ALFRED.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 26, 2013 at 5:41 pm #2737
    tuong
    Participant

    Hello all,
    I am using msp430f249 MCU to interface with cc3000mod TI and I had a problem when initiating start cc3000 via SPI.
    when I sent first write command to start cc3000 wifi , but cc3000 response wrong data.

    from msp430 to cc3000 command: 01 00 05 00 00 01 00 40 01 00 . I sent right command on TXbuffer register.
    from cc3000 to msp430 command:  I received : {02}{00}{FF}{00}û{00}{00}{00}{00}û (wrong received data) instead of 02 00 00 00 05 04 00 40 01 00 (right data). Only first two bytes are true 0x02,0x00 and otherwise is false.
    there are 5 connected pins, SPI_CS,SPI_Din,SPI_Dout, SPI_CLK, SPI_INT.
    Personally, I think that signals did not completely transmit to cc3000, so it didn’t response right data. I pay attention to 2 pins SPI_CLK and SPI_Dout because it transmits data to cc3000. I get feedback someone say that it didn’t match impedance but I don’t know how much impedance or capacitor, resistor, inductor should add?. I am not electrical profession, so it is difficult to solve it. Someone can help cope with this situation, hopely?
    Thank you so much
    regards
    Tuong

    November 28, 2013 at 12:49 pm #10663
    AJISH ALFRED
    Participant

    Hi tuong,

    If your are not an electrical profession, you must have find this project from a website or book. Is there any link or any other means by which we can learn more about this project and help you better?

    November 28, 2013 at 3:04 pm #10672
    tuong
    Participant

    You can help me about matching impedance between MCU and CC3000 wifi. I figured out some document on website and knew what matching impedance?. In my ideas, I will measure output impedance from host and input impedance from slave. You think it is right?

     

    November 30, 2013 at 7:21 am #10678
    AJISH ALFRED
    Participant

    Hi Tuong,

    I read this datasheet of your Wifi module

    http://www.ti.com/lit/ds/swrs126/swrs126.pdf

     

    It can be simply interfaced to the SPI port of the microcontroller just like any other SPI device. 

    SPI is a kind of digital interface method and there is no need to consider the impedance and all.

    December 1, 2013 at 2:21 am #10683
    tuong
    Participant

    You are right but cc3000 did not receive right data, so it did not response approriate sequence of bytes to msp430.

    Hence, transmission line got problem. Do you agree with me?

    December 5, 2013 at 2:12 pm #10701
    AJISH ALFRED
    Participant

    Hi Tuong,

    The SPI standard specifies the details of the transmission lines also. Suggest you to do a good research on it and find whether the transmission lines that you use matches with the SPI specifications.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • What is involved to convert a small town to fiber optic? December 12, 2025
  • Droplet1 December 12, 2025
  • EEPROM not being written or read on dsPIC30F2010 December 12, 2025
  • 12VDC ( 10 - 24 V ) to 0 to +/- 30VDC 1A dual tracking psu - for sale December 11, 2025
  • volkswagen car stereo model rcd310 December 11, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise