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.

MSP432E401Y: Adding WiFi interface alongside Ethernet

Part Number: MSP432E401Y
Other Parts Discussed in Thread: SYSCONFIG, CC3300

IDE: CCS v12.6.0.00008

SDK: Simplelink MSP432E4 SDK v4.20.00.12

Example: mqttclient

Compiler: TI v20.2.7.LTS

Kernel: TI-RTOS

Debugger: TI XDS110 USB Debug Probe

Hi,

I have a MSP401E401Y device with a working ethernet connection and want to add a wifi connection as well. To start, I used the mqttclient example to connect to a mqtt broker running on the local network over the ethernet connection. Next, I want to add a wifi connection and connect to the broker using the same settings but over wifi. The is a uart connection between the MSP and wifi module. Using AT commands over the uart interface I am able to connect to the wifi network.

From here, I'm not sure how to proceed. Ideally, I want to use the wifi module in PPP mode and use the same settings that were used over ethernet to connect to the mqtt broker. In the sysconfig I have tried adding a new NDK interface and set it to use a custom device, and the custom NIMU init function name. I tried copying what was being done in the EMACMSP432E4_NIMU init function but have run into issues not knowing how to properly set it up. I find that alot of the structs being used require EMACMSP432 variables that I am unable to properly locate within the project. I also assume that it should be fairly simple to just have uart reading and writing and passing that data within the NDK, but don't know if this is correct.

Am I on the right track and am I missing anything? Or is this the wrong direction and not something the NDK was meant for?

The end application is a device that sends sensor data to a mqtt broker. It will have both an ethernet and wifi connection, but will only use one at a time. If an ethernet connection is available it will use that, if not it should switch to using wifi if it's properly configured and the signal is available.

  • Hi,

      I'm sorry, I haveno  knowledge on Wifi in PPP mode. I find some PPP and Wifi examples for TM4C129 devices. Not sure if these will be of any help. TM4C129 is the same silicon as MSP432E though. 

    Are you using TI's CC3x Wifi? If the above examples do not help, can you please open a new thread with the part number e.g.  CC3300 or the one that you are using. I hope the experts there can provide some guidance and suggestions as I lack the knowledge in answering your questions. 

  • Hi Charles,

    I'll look into those examples and see if there is anything there of use.

    No, we're using an off the self module, the NINA-W13. It works over UART and AT commands but am wanting to try and use it in PPP mode to avoid having to duplicate the TCP connection between it and the ethernet.