Wi-Fi Combo Forum Discussions
Hello,
We are considering using spiflash in our design (SDK 6.4) for sensor data storage.
We are looking into implementing a NAND flash as the deign is cost sensitive.
As I understand (link), NAND flash has some bad blocks and its overall write reliability is reduced compared to NOR flash.
Is there any implementation in the SDK of file system running on top of NAND flash (taking care of bad blocks)?
Can such NAND flash be used as temp storage of the OTA image ?
If not, can you refer to a NOR flash implementation/guidelines of such filesystem.
Can such flash be used both for OTA image storage as well as real-time data storage?
Thanks
Folks,
I'm trying to get the most basic of BLE demos up and running with WICED on custom hardware. We're using a module that has a CYW4343W device on it.
I want to get custom service and characteristics going, completely failed writing my own code, so thought I'd have a go with ble_hello_sensor. If I understamd this correctly, this should advertise to a phone and I should be able to connect and see its custom charcteristc and be able to write/read those characteristics. However, I cannot make any headway on this. Took me a day of battling with WICED just to get it cimpiled and running, but I'm finding that:
hello_sensor_management_callback
Is never getting called so hello_sensor_application_init() is never getting called, which I guess is why it's not advertising, because that is where a lot of this setup seems to go on.
What causes hello_sensor_management_callback to get called? I have imported ble_hello_sensor into my project, I have not run the project as a stand alone program and very much doubt it's possible on custom hardware. I slightly modded the ble_hello_sensor.c file as blow
void ble_application_start( void )
{
const wiced_bt_cfg_buf_pool_t *wiced_bt_cfg_buf_pools;
wiced_bt_cfg_buf_pools = diplo_ble_config_get_config_buf_pool(); // Need to get these values form a different file
wiced_bt_cfg_settings = diplo_ble_config_get_config_settings();
// wiced_core_init(); //<-This is commented out as it's already been called
WPRINT_APP_INFO( ( "Hello Sensor Start\n" ) );
/* Register call back and configuration with stack */
wiced_bt_stack_init( hello_sensor_management_callback , wiced_bt_cfg_settings, wiced_bt_cfg_buf_pools );
}
I get these messages from the serial port/debugger we have setup.
Hello Sensor Start
00:00:00.035000 GKI_create_task func=0x8017191 id=1 name=BTU stack=0x0 stackSize=4096
00:00:00.038000 GKI_create_task func=0x80188cd id=0 name=HCISU stack=0x0 stackSize=3072
Would some one confirm what I am tryingf to do with ble_hello_sensor should do what I want and can any pooint me in the direction of how to get this working, why hello_sensor_management_callback is never getting called? I haven;t hacked the ble_hello_sensor.c code other than commenting out wiced_core_init() and adding the calls to get wiced_bt_cfg_buf_pools and wiced_bt_cfg_settings.
Many thanks.
Show LessHi,
Can you please provide the command to set BLE TX Power on CYW43455 module?
When we ran below command for reading the LE_Read_Advertising_Channel_Tx_Power we are observing 12dbm.
hcitool -i hci0 cmd 0x08 0x0007
< HCI Command: ogf 0x08, ocf 0x0007, plen 0
> HCI Event: 0x0e plen 5
01 07 20 00 0C
btmon output:
< HCI Command: LE Read Advertising... (0x08|0x0007) plen 0 #1 [hci0] 32.775675
> HCI Event: Command Complete (0x0e) plen 5 #2 [hci0] 32.776624
LE Read Advertising Channel TX Power (0x08|0x0007) ncmd 1
Status: Success (0x00)
TX power: 12 dbm (0x0c)
Can we decrease the Tx Power while advertising the Data ?
CYW4343W HCI Vendor Specific Command to set BLE TX Power
In above link SheetalJ_96 mentioned below information:
"The output power level for BLE is fixed; It is set to 4dBm for adv packets."
But we are observing 12 dbm. Is there any way to decrease the TX Power ?
GauravS_31 SheetalJ_96 DheerajP_41 VictorZ_46 VinayakS_26
Show LessI get the above errors when I try to build a make target.
Hi
I have been designing extensively on PSoC creator using PSoC 4 and 5 chips. We are now starting with WiFi and IoT and I have PSoC-6 WiFi + BLE kit with me.
Things are so unclear in Wiced studio. I have a few questions, please help.
1. Does the CYW4343 chip have a TCP/IP stack?
2. When we build a simple example project to say scan for WiFi network, does the IDE program the PSOC chip or does it program the WiFi chip, since even the WiFi module has a ARM M3 processor?
3. How is communication happening between WiFi module and PSoC? (If at all PSoC is involved)
4. All the examples are so platform-centric. How can I use PSoC-5 with the WiFi module. We need the analog features of PSoC5. Is it even possible?
Please help me with a link of good documentations.
Thank you
Show LessHi, all.
I'm working on a throughput performance test with a murata module using a cypress BT/WLAN combo chip.
All other basic tests have been completed and throughtput performance test is currently being measured as the final step.
It uses the dhd driver provided by cypress, and wpa_supplicant and hostapd are provided by linux.
It is measuring the throughput performance between 2-stations connected to AP.
What is curious is that if our board is used as AP mode (wifi hotspot), communication between AP and STA does not work.
In this case, communication between stations are possible.
(This is not p2p. Therefore, communication between stations is performed via AP)
The result is the same when both the AP and the stations have a static IP as well as when the AP allocates the station's IP dynamically.
Of course, if the commercial smartphone is set as an AP (wifi hotspot) and tested, communication between AP and stations are possible.
Do you need to change any additional settings in hostapd.conf or wpa_supplicant.conf?
If not, what additional work is required?
Our development environment is below:
- freescale i.mx8qxp AP
- yocto distritution based on linux 4.14.98
- SDIO interface between AP and WLAN / BT combo module
Best regards.
DongHwi
Show LessIs there a programming manual to program the Wifi module aboard the development board. We do not want to use WICED studio for programming the wifi functionality.
Are there any APIs available for the wifi module?
Show LessHi
I have installed Wiced 6.1 (6.4 simply doesn't install the platform folders). And then installed Peripheral Driver Library 3.1 and also installed CY8CKIT062WiFiBT setup.
When I try to download and run the "scan" Wifi example on the CY8CKit-062 Wifi+BT, I get errors stating OpenOCD failed.
Please help, I just can't get things running.
Moreover WICED 6.4 doesn't even install correctly, it shows no platforms in the make target.
Thank you
Show LessI am not able to find the answer in any of the datasheet.
Can we use PSoC creator to program the PSoC to use Wifi.
I am currently using PSoC 6 wifi-BT Pioneer Kit (CY8CKIT-062-WiFi-BT).
Show LessProcessor: CYW43907 (Murata 1GC module)
SDK: WICED 6.4
Issue 1:
Calling wwd_wifi_get_ap_info provides an AP mac address that does not match what the client is connect to.
The MAC provided is a valid MAC address of an AP but not what the Aruba Controller shows the client being connected to. It could be a cached MAC address from a previous connection before roaming but i don't have wireless captures to verify.
Issue 2:
Calling wwd_wifi_get_channel provides incorrect channel. The channel provides does not match the connected AP configuration. For example, if running channel 36 on the AP, the result of wwd_wifi_get_channel might be 39 or something close to the correct channel (not random or completely off).
Both of these commands read directly from the WLAN core via the ioctl commands so it is not a cached value within WICED layers.
Has anyone seen this?
Show Less