This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC3200-LAUNCHXL: LORAWAN Implementation

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200

Tool/software: TI C/C++ Compiler

Hi, 

I have CC3200 launchXL and semtech 1272 Lora. I want to implement LORAWAN. Can i implement using CC3200 and if it is possible please share some reference code or procedure how can i implement?'

Thanks and Regards

Rohit

  • Moving to SimpleLink WiFi CC31xx/CC32xx forum.
  • Hi Rohit,

    From what I understand, LoraWAN is a Sub-GHz technology, which the CC3200 cannot support. You may be able to communicate with the Semtech part via SPI, but we do not have any reference for this technology.

    Best regards,
    Sarah

  • Thanks Sarah,

    It is possible to implement LORAWAN using cc3200 via SPI because you have mention that i can able to communicate with semtech part via SPI or i have to use some other device for implementing LORAWAN.

    Reply ASAP.

    Thanks and Regards
    Rohit
  • Hi Rohit,

    It can be done, but TI does not have any implementation of LORAWAN for the CC3200. This means you will have to study the documentation of the Semtech part, and figure out how to use the SPI interface to be able to send the right commands, transfer data packets correctly, etc.

    You could look at LORAWAN libraries for other environments (such as arduino, mbed) and use that for reference, but it would be up to you to implement LORAWAN on the CC3200.

    Regards,

    Michael
  • Thanks Michael,

    can i have some reference related with this. I mean transfer data packet using spi clearly, because sample example which is given in sdk example are not so clear so i just want how cc3200 have configured their pin config for SPI.

    Thanks and regards
    Rohit
  • Hi Rohit,

    The spi_demo example has the SPI pins configured in its pinmux.c file. This is where the package IO pins are muxed to the SPI peripheral.

    Once those pins are connected, the SPI peripheral is configured with MAP_SPIConfigSetExpClk(), where you pass in the base address of the SPI interface as well as the SPI parameters such as bit rate, phase, etc. . Once you enable the SPI interface with MAP_SPIEnable(), you can then transfer data with MAP_SPITransfer(). You can see the reference for all of those driverlib API calls in the driverlib source files. 

    The demo follows the SPI setup that I outlined above to transmit 50 bytes of data from a prepared buffer to a slave. There is also slave code in the demo, so that you can use a second CC3200 as the slave device, but you can ignore that entirely if you have your CC3200 as a master connected to the Semtech part. 

    I hope that helps make things clearer. Feel free to ask me anything related to the SPI interface that you still need clarification on.

    Regards,

    Michael

  • Thanks Michael,

    Thanks for wonderful explanation its really helps me a lot.

    Regards 

    Rohit 

  • Hi Rohit ,
    I am new to the cc3200 with LORA combination . I want to connect cc3200 with LORA please tell me procedure
    Regards,
    Ashok
  • Hi,
    anyone please help me the procedure to connect LORA with cc3200 i am newbie to this platform. i didn't get procedure on google how to connect it and i am totally rid off about this
    thanks in advance
    Regards,
    Ashok
  • Hi Ashok,

    i tried to implement LORAWAN with cc3200 but unable to implement it. As you can read our conversation regarding this topic TI experts also wont have any reference regarding this LORAWAN implementation with CC3200. They clearly told that cc3200 won't support LORAWAN but CC3200 is bare metal device and we can implement LORAWAN with it. As Michael, gave some document you can go through that document and try to implement it. For MSP430 i have lora to lora communication but for LORAWAN i didn't. As due to less time, rather than giving much time on CC3200 i moved on to Raspberry pi to implement LORAWAN and it easier and lots of documents is available to implement LORAWAN via raspberry pi or NODE MCU.

    Regards

    Rohit

  • Hi Rohit,
    Thanks for reply,
    Could you please tell me the procedure for MSP430 i have lora to lora communication

    Regards,
    Ashok
  • Hi,

    Yeah just go through the available code for lora to lora communication which is available for arduino and just take library file arduinoLORA.cpp and arduinolora.h file to be use in MSP. Just download example for SPI available for MSP get through the sample code and change that code which is required for lora and include the library file from arduino . Just take only arduinoLORA.cpp and arduinoLORA.h file.

    Regards
    Rohit
  • Hi Rohit,
    Thanks for reply,
    arduino LORA libraries are works fine with MSP430 ?

    Like that can i use those libraries for cc3200? is it works

    your replies most valuable to me......

    Regards,
    Ashok
  • Hi,

    Yeah it works fine just few things you have to do modification. Its just C++ library code which is going to work in any field just the thing you have to care is to configure it properly for MSP430. For CC3200, yes you can use same libraries code for lora to lora communication. There is spi demo available for cc3200 just configure Spiconfig API for lora to lora and use lora libraries. I haven't tried lora to lora communication for cc3200, i have implemented for MSP430 FR series and G2 series and i think its going to work for cc3200 because it is bare metal device.

    Regards
    Rohit