Wi-Fi Combo Forum Discussions
Hello,
My application requires fairly high speed data acquisition (4Gb/s). To do this in absence of some integrated solution, we use FPGAs. This gives us basically Cortex A9, Xilinx Microblaze, or Altera NIOS as possible processors. The market is not huge. Perhaps a few 10Ks/year. However, if I don't ask, I can assure not possible support.
Regards,
davidhil
Show LessHi guys,
I'm trying to bring up I2C on the STM32F2xx MCU on my WICED evaluation board. I've got an i2c slave hooked up via the Expansion Header.
I'm running into an issue with I2C register reads. The first i2c transaction where the register read address is posted goes through OK. The slave acks, so at least basic electricial connectivity seems to be OK.
The 2nd transaction however, where the device address lsb is set to 1 to indicate read, goes wrong. SDA stays low and SCL just stops right when the read bit should be issued. See logic analyzer screenshot.
i.e. the problem appears to occur right before the i2c master should enter receive mode.
I confirmed using the debugger that SW does set the device address lsb when writing to the I2C DR register:
void I2C_Send7bitAddress(I2C_TypeDef* I2Cx, uint8_t Address, uint8_t I2C_Direction)
{
/* Check the parameters */
assert_param(IS_I2C_ALL_PERIPH(I2Cx));
assert_param(IS_I2C_DIRECTION(I2C_Direction));
/* Test on the direction to set/reset the read/write bit */
if (I2C_Direction != I2C_Direction_Transmitter)
{
/* Set the address bit0 for read */
Address |= I2C_OAR1_ADD0;
}
else
{
/* Reset the address bit0 for write */
Address &= (uint8_t)~((uint8_t)I2C_OAR1_ADD0);
}
/* Send the address */
I2Cx->DR = Address; <---- Address = 0x35
}
Any idea what's going wrong here?
Thanks for the help,
Ruben.
Show LessHi
I am using broadcom's 4330 chipset. I have compiled 3.10.17 yocto kernel.
I am having issues in sending file over bluetooth.
I am using wandboard dual lite rev C1 board and have got latest firmware bcm4330.hcd for bluetooth.
We are using obexftp (0.23) obexd (0.34) and bluez 4.1
root@wandboard-dual:/lib/firmware/brcm# obexftp -b BC:79:AD:5F:CF:88 -p hii.txt
Browsing BC:79:AD:5F:CF:88 ...
Connecting..\
failed: send UUID
Tried to connect for 2092ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Can anyone suggest what could be the issue
Regards
Deepika
Show LessAccording to the news here "http://www.broadcom.com/press/release.php?id=s886123", NFC has been integrated into WICED platform. However, there's no info here: http://www.broadcom.com/products/wiced/.
Could you help clarify where we could got more info and buy it?
Show LessI think the watchdog is timing out and resetting my device while I'm debugging.
The symptoms I'm seeing are that the terminal connected to the UART is outputting text while I'm stopped at a breakpoint. The text that is being sent is from the "printf" statements near the start of my code.
Id there a way to stop the watchdog or, better still, not let it start until I'm ready to use the code in 'release' mode?
If the watchdog IS still working and resetting the device, this may also explain why I'm not able to continue form one breakpoint to another, nor single step into code etc.. If the watchdog is not part of that explanation, then I have a second question!!!
Susan
Show LessHi,
I am trying to interface a few sensors with STM32F2xx through I2C using WICED. I was unable to find a sample code and am having difficulties in implementing it myself. It will be really helpful if someone can share a sample I2C code for WICED.
Thanks,
Yash
Show LessHi,
Initilaly I was using Wiced SDK 2.4.1 and created i2c mapping in Platforms/SN8000x/platform.c file as shown below
const platform_i2c_mapping_t i2c_mapping[] =
{
[WICED_I2C_1] =
{
........
},
};
But when I changed the SDK to I couldn't find any platform_i2c_mapping_t declarations/definitions so I failed to create i2c peripheral list in Wiced SDK 3.1.0 .
How can I achieve this ? Is there any samples available..
Note:I'm using SN8000x
Please help....
Show LessI am trying to use the 'wiced_hostname_lookup' function to convert a text URL into an IP address, but I only get "WICED_ERROR" as the response.
I can get back a URL that is the IP address in dotted text string format.
Immediately prior to making my call, I can use the NTP functions that also contain a call to this function and that seems to work, and immediately afterwards I can make a UDP connection to a remote server and that all works OK. Therefore I believe that the WiFI network is all set up and working correctly.
The documentation appears to be sadly lacking for this (and many other) functions so I have no idea if there are restriction's or prior functions that must be called to get this to work.
Any suggestions would be appreciated.
Susan
(SDK 2.4.1, STM32F1xx in an SN8200x, Threadx and Netx Duo)
Show LessHi there
I tried to sending data using HTTP POST using the wiced_http_get function, as below, but the body doesn't seem to be coming through correctly.
#define EXAMPLE_POST \
"POST /post_test HTTP/1.1\r\n" \
"Host: 54.213.213.231\r\n" \
"Accept: */* \r\n"\
"Content-Type: application/json \r\n" \
"Content-Length: %d \r\n" \
"\r\n"\
"%s" \
"\r\n"
and then
sprintf(body_json,"{\"value\":\"%u\" }", 32); //Simple JSON example
sprintf(post, EXAMPLE_POST, strlen(body_json),body_json );
WPRINT_APP_INFO(( post )); //This result looks correct
wiced_http_get(&ip_address, post, buffer, BUFFER_LENGTH);
I've tried including different structured bodies, and different Content-Type's i.e. application/x-www-form-urlencoded to no luck.
Using Wireshark, the package seems to be structured correctly. But any HTTP endpoints I've tried (Node.js, Xively etc.) just view the package sent as gibberish. Could this be a low-level TCP issue, in that wiced_http_get was not designed for bodies?
Or is there a better recommended way for structuring POST bodies in the WICED SDK?
Thanks.
Another interesting note is that using LwIP, Wireshark would not pick up the packets. Can anyone recommend a cause/workaround?
Show LessHello,
I am using Wiced SDK 2.4.1 to develop my UDP broadcast application. I have developed an application where I have to send data over network using UDP. The application sends real time application data. So I want to encrypt these data. So how can I encrypt my UDP packets?
Is there any other option available to encrypt UDP packets in Wiced SDK?
Thanks,
Nipam
Show Less