Skip to main content
tkjmail
Associate II
January 11, 2010
Question

STM32F103 and WiFi chip

  • January 11, 2010
  • 15 replies
  • 3281 views
Posted on January 11, 2010 at 19:09

STM32F103 and WiFi chip

    This topic has been closed for replies.

    15 replies

    apoppi
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Hi! I'm looking for a way to add wireless capability to this processor too.

    I found this interesting STM32F103-based device:

    http://www.seeedstudio.com/depot/micro-digital-storage-oscilloscopedso-nano-p-512.html

    which is open-source and schematic is available.

    If you find any solution, please let me know!

    Alessandro

    tkjmail
    tkjmailAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Hi.

    I'm working on another project which needs a WiFi connection.

    I've allready got a WiFi chip module from ZeroG Wireless, called ''ZeroG Wireless G2100''.

    Are there anybody who knows how to control this module with the STM32F103?

    OBS: I have programmed alot in Basic and C for other uC's (PIC & AVR), but I'm new to the Ride7 enviroment!

    Best Regards

    Thomas Jespersen

    st3
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Quote:

    Are there anybody who knows how to control this module with the STM32F103?

    The module neither knows nor cares what is being used to control it!

    You just need to do whatever the Datasheet tells you!

    Standard procedure for interfacing anything to anything else - irrespective of the specific devices involved - is:

    http://www.8052.com/forum/read/160143

    See also:

    http://www.st.com/mcu/forums-cat-9360-23.html

    tkjmail
    tkjmailAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Ok, I will try ;)

    apoppi
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Quote:

    On 08-01-2010 at 11:18, Anonymous wrote:

    Quote:

    Are there anybody who knows how to control this module with the STM32F103?

    The module neither knows nor cares what is being used to control it!

    You just need to do whatever the Datasheet tells you!

    Standard procedure for interfacing anything to anything else - irrespective of the specific devices involved - is:

    http://www.8052.com/forum/read/160143

    Yes, but you should take into account that maybe one does not have a spare month to reinvent the wheel and write a SPI low level driver then a TCP/IP stack over it from scratch. Better rather focusing on the application.

    Said that, I suppose that the question from tkjmail was: ''Is there any library or driver or application note for Zero-G modules on STM32 family?''

    Ciao!

    jj_it
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    @apoppi-

    You come across as smart/caring STM user - you're certainly trying to assist.

    Must come to the defense of mon ami ST7 - he is pointing out that poster is a tad ''too quick'' on the trigger - allowing his need/desire to exceed his
    tkjmail
    tkjmailAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    I have allready developed a fully working library for the ATMEGA, in Arduino C-language though, so I don't know is I will be able to port that.

    But that includes the communication protocol, and a complete TCP/IP protocol too!

    st3
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    The point is that the only parts that will be specific to the STM32 are the parts that deal directly with the STM32's specific features - such as the SPI. And, for those parts, the fact that it's talking to a ZG2100 is irrelevant.

    So you can just look at any STM32 SPI examples for that.

    Similarly, the operation of ZG2100 is independent of what controller is being used - so you can look at generic examples for that.

    It is really important to understand this, as this is common to pretty much all projects!

    Understanding this allows you to correctly focus your activities - instead of looking for one unique STM32-specific solution, you can use any generic implementation, and concentrate just on the STM32 specifics.

    Of course, if you're not really interested in how to do it, but just want an ''out-of-the-box'' solution - then that's a different question!

    tkjmail
    tkjmailAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    The TCP/IP Protocol, if that's target dependant, then I won't be able to port that with ease?

    [ This message was edited by: tkjmail on 11-01-2010 09:42 ]

    st3
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Quote:

    I have allready developed a fully working library for the ATMEGA

    So, to have done that, you must already be fully aware of how the ZG2100 works.

    You just need to do the same on the STM32!

    Quote:

    in Arduino C-language though

    Is ''Arduino C-language'' really so different from standard, ANSI 'C'?

    Quote:

    I don't know is I will be able to port that.

    Why not?

    Even if you couldn't port it, you could just use it as your model from which to code an STM32 version.

    Quote:

    But that includes the communication protocol, and a complete TCP/IP protocol too!

    98% of which will be totally target independent!