Other Parts Discussed in Thread: CC3120, UNIFLASH
Tool/software: Code Composer Studio
Hello,
I have been struggling with binding MSP432P401R Launchpad board and CC3120 Booster pack together.
I have looked over Datasheets of both boards, TI Resource Explorer, examples, Simplelink Academy, even most of the TI E2E forums for similar examples
and tried to use these but could not figure out.
The features i am using in MSP432 is just the ADC and SPI master. In CC3120, SPI slave and WIFI packet transfers.
I was hoping if someone had some insights or could give some tips about where to start about these, since I am very new to this area.
What I am trying to do is to is, (Using CCS)
1. In MSP432P401R board, Use 14bit ADC to sample at maximum sampling frequency (1 MSPS).
2. Use DMA to transfer the ADC samples to RAM
3. Use SPI to transfer from MSP432 to CC3120 Boost
4. Send from CC3120 Boost to my PC WIFI module by either UDP or TCP packets.
5. Repeat the above process.
By following the msp432 forum answers and examples, I can sample the ADC at 1 MSPS for about 30000 samples (maximum is 31700 samples due to RAM size I believe) and store it in RAM
using nortos. (step 1 &2)
Even though I have not finished step 3( SPI transfer), I am trying to enable WIFI process.
From the datasheets, I thought the SPI transfer data throughput and the UDP or TCP throughput may be enough.
I have tried the network terminal example from ti. But I am not sure how to extract the parts I want to use from it. From what I have learned, I think I should use socket.c parts or transceiver.c parts.
So my overall question is that does the above steps (1~5) look possible?
to be more specific,
1. All of the code and compiling is put in MSP432? There is nothing to be done for cc3120? (I did update the service pack using EMULBOOST and Uniflash) (how can the CC3120 be initialized and work as programmed (know that SPI transfers data and send it through WIFI)?)
2. Is it possible to retrieve only some parts from network_terminal.c example and use it alone? (only the socket part, or transceiver part)
3. how can I implement (insert) my own data (ADC data from MSP432 via SPI) in the UDP or TCP sockets? (will it be possible to send ADC data from msp432 through SPI to cc3120 to send it over WIFI?)
or is it possible to retrieve the data from ram and send it through WIFI
4. Is it correct (possible?) way to combine my nortos ADC code with CC3120 code into a single code and put it inside the MSP432?
I tried to figure it by myself by looking at/studying forums, MSP432 (datasheet, user guide, driverlib, examples), CC3120 programmer's guide but feel like trapped in a infinite loop of confusion.
If someone could answer, or even give me some tips about anything, it would be great.
Thank you.