I am trying to send ~5kB / sec using TiWi-SL and a MSP430f5438. Will I need to send this in multiple transactions to the TiWi? or can I send all 5kb over the SPI bus in one transaction?
EDIT: Actually, I need ~10kB / sec. I found these, but they are not mentioned anywhere else in the Basic Wifi App.
#define IPPROTO_RAW 255#define IPPROTO_MAX 256#define MAX_PACKET_SIZE 1500
EDIT 2: I have sent 500 B successfully, but 700 B causes something to hang, I am investigating further.
Nathan
Hi Nathan
The CC3000 internal packet buffers are limited to Max MTU (=1500). The CC3000 doesn't add fragmentation.
Can you please send details why the 700byte hangs the system?
- Elad
- Elad Raz
CTO
www.integrity-project.com
The CC3000 is capable to transmit up to 1470 data bytes for packet.
If you are using basic WiFi application and attempting to send data than within hte basic WiFi application itself there is a buffer limitation.
What are the sizes of the wlan_tx_buffer/spi_buffer that can be found in spi.c?
Igor
It was my mistake. I was sending 700 integers, ie, 1400 bytes of data. Of course, then comes the packet header and all that other stuff, and it was too much. I was able to get 600 integers, thus, 1200+ bytes, so all is well.
I am working with the MSP430FR5739+CC3000 EVK. I am attempting to maximize the transmission rate of the system. I have modified the Basic Wifi App to send one packet whenever it receives communication (not just the word "DATA"). The standard packet is of this form (server.c):
unsigned char dataPacket[] = { '\n', 0xBE,'1','2','3','4','5', 0xEF };
This packet contains 8 bytes. I have managed to modify it to send 60 bytes:
unsigned char dataPacket[60] = "AAAAAAAAA1AAAAAAAAA2AAAAAAAAA3AAAAAAAAA4AAAAAAAAA5AAAAAAAAA6";
I want to sent packets with 1400 bytes of data, but I cant get a variable to contain this much data. I tried to define it like this:
unsigned char large_Data_Packet[1400] = {0};
The problem with this is that the standard memory map of the Fram 5739 does not have enough ram to instantiate this variable. At least I think this is the problem.
I am new to programming in C, so could you suggest how I can create a dummy variable with 1400 bytes? How did you manage to create a data packet with 600 integers?
Many Thanks
Carson
Hi Carson,
Is this question similar to http://e2e.ti.com/support/low_power_rf/f/851/t/217393.aspx
Does it answer you question?
Pedro
Hi Pedro
Yes. This is linked to my other problem. Modifying the linker command file to create 3 individual buffers, and then addressing them directly with pointers, is the solution.