Wi-Fi Combo Forum Discussions
Hello,
I have cc3200audboost and I have cyw943907aeval1f evaluation kit. I need to stream audio/voice over wi-fi using these two boards using an I2S interface. The connections I'm thinking are as follows. Please correct me if I'm wrong.
CYW943907 | AUDBOOST |
J6.3 (I2S0_MCK) | J1.14 (FSYNC) |
J6.4 (I2S0_SD_OUT) | J1.18 (DIN) |
J6.5 (I2S0_SCK_BCLK) | J1.16 (BCLK) |
J6.6 (I2S0_WS_LRCLK) | J1.14 (FSYNC) |
J6.8 (GND) | J1.4 (GND) |
J9.4 (3v3, 3.3V power) | J1.1 (VCC_3V3) |
J10.8 (I2S0_SD_IN) | J1.20 (DOUT) |
Thanks,
Santosh
Show LessWhat is the power consumption of the R4 Core @ 320Mhz when not using the radio?
I will be doing a lot of work with the R4 in active mode and only transmitting packets every 5 to 10 seconds. I can't find an spec on the core active power consumption.
Thanks,
Mike
Show LessHello,
I have CY8CKIT-062-WiFi-BT.
I would like to control the power mode of PSoC 6 using WICED Studio 6.2.
Do you have samples that will be helpful?
PSoC Creator has the following application notes, but I want the sample code built in WICED Studio.
CE219881 - PSoC 6 MCU Switching Between Power Modes
http://www.cypress.com/documentation/code-examples/ce219881-psoc-6-mcu-switching-between-power-modes
Regards,
Show LessIs it possible to set the application Major/Minor version numbers from a file, such as a header, versus defining it in the build target?
I want to go from this build target
Quickprojects.OTA_Test-QuicksilverEval-FreeRTOS-LwIP ota2_image APP_VERSION_FOR_OTA2_MAJOR=1 APP_VERSION_FOR_OTA2_MINOR=2
to
Quickprojects.OTA_Test-QuicksilverEval-FreeRTOS-LwIP ota2_image
and add a header file similar to this
version.h
#define APP_VERSION_FOR_OTA2_MAJOR 1
#define APP_VERSION_FOR_OTA2_MINOR 2
Show LessI am having an issue with an old version of the SDK, 3.1.2, with devices that are presently in the field. I am having an unexplained issue wherein I get return 5007 from `wiced_tcp_stream_read`, indicating an invalid TLS record.
The TCP+TLS stream is being read in a mechanism whereby a file is downloaded by manually opening a socket, setting up a TLS context, creating a stream, constructing an HTTP request, sending it to the stream, parsing the HTTP header response, and then grabbing the binary body 1024 bytes at a time until the end.
The particularly odd thing is that this code works fine on 95% of wifi AP's, but on a mobile hotspot wifi (including an iPhone 6S), it will hit this error at the same point through the download. The file is ~300KB, and the error will happen at ~80K, repeatably, always in the same length through stream.
I am running on a platform that is *somewhat* resource constrained, with 128KB of RAM. However, again: it works fine on some WiFi AP's, and not on others.
I have tested this with an nginx server that uses both 16KB TLS records and 2KB TLS records, per the `ssl_buffer_size` parameter, and the problem exists for both cases.
I am running it on hardware with a debug build, but no debug or malloc-related breakpoints or hardfaults are being hit.
As far as I can tell, the failure is in `wiced_tls_receive_packet`, line 750, on the call to :
result = tls_get_next_record( context, &record, timeout, TLS_RECEIVE_PACKET_IF_NEEDED );
Unfortunately, I can't go deeper than that, since BESL in 3.1.2 is a binary.
I don't quite know enough about TLS at the moment to try and do debugging around the results within `wiced_tls_receive_packet`.
Any ideas as to why this is happening?
Show LessI am having an issue with WWD initialization by using wiced_core_init() separately from wiced_wlan_connectivity_init() .
I am getting a return of TIMEOUT from wiced_wlan_connectivity_init(), and the associated output message saying that the CLM download has failed.
In my system, I would like to delay the WLAN init since it takes 1-2 second. Right on startup, I want to do wiced_core_init, then show the animation, then do wlan init after it is finished.
For the animation, I am using a worker thread that is running at high priority, priority 2. I have also tried it at all other priorities, but the failure remains.
Interestingly, removing the animation and replacing it with an rtos delay (in the app thread) does alleviate the issue.
Also interestingly, this ONLY happens in a release build, and using a -debug build, the late call to wiced_wlan_connectivity_init will give successful wlan init.
From tracing the target, I can see that the failure happens in wwd_sdpcm_send_ioctl(), on the line where `wwd_sdpcm_ioctl_sleep` is taken:retval = `host_rtos_get_semaphore( &wwd_sdpcm_ioctl_sleep, (uint32_t) WWD_IOCTL_TIMEOUT_MS, WICED_FALSE );`
The CLM blob resource size is being fetched from external sflash from a WICEDFS section, and the size is being reported correctly (7222 B).
I am using SDK 6.1.0 (thus wifi FW + CLM blob in WICEDFS), and notably this whole phenomenon does NOT happen for nearly identical code in SDK 5.1.0, where the monolithic wifi_fw + clm_blob are being loaded from the WIFI_FW section of the sflash. In both cases, an STM32F412 micro is used.
Any insight into how to make this work? Of course, I need to use a release build when it comes time to ship, and it would be great to not have to include the 2-second wait right at device power-up.
Show Lessmifo
I just found you changed the 6.2 release to 6.2.1
https://community.cypress.com/thread/34443
What is the difference between 6.2 and 6.2.1?
I don't see too much changes between 6.2 and 6.2.1, the main differences are the binary files.
So I have no idea what is changed/improved.
But I believe you must have a good reason that you need to make a new release.
BTW, please don't update sdk release this way.
If you have new release, please post new message rather than edit old post.
Very few people check the old posts so people who already downloaded
6.2 usually think they are using the latest sdk.
Show LessFirmware version:
wl ver
1.8 RC0.0
wl0: Apr 10 2018 00:42:50 version 13.10.271.99 (r687870) FWID 01-2151702e
I am attempting to set up the new keep-alive feature but it does not seem to produce any keep-alive messages. The wl command sequence I am using is
wl tko connect 0 0 0:90:4c:2a:9:0 e4:8d:8c:74:1:e7 192.168.112.139 192.168.100.200 60061 8888 557792717 1642456692 913
wl tko param 20 1 8
wl tko enable 1
wl bcn_li_dtim 6
wl PM 1
at this stage I sleep for 300 seconds, during which time I should see multiple messages with keep-alives set to 20 seconds. I then cancel the keep-alives and come out of power-save with
wl PM 2
wl bcn_li_dtim 0
wl tko connect 0
wl tko enable 0
wl tko status
The software then attempts to send a data packet to the server
I have attached wireshark captures and command line terminal debug for the attempts
There are some other questions regarding the implementation of the feature as well, which relate to the broadcom specific keep-alives which this feature is meant to replace.
a) In order to transmit a valid message during sleep mode, the tko subsytem needs to use the ip connection identification field (two bytes at offset 18 in the ip packet) yet there is no parameter to set this in the wl tko connect command
b) The broadcom version allowed us to add data to the keep-alive messages. The same data is transmitted each time (and contains UUID identifying the sender and some other information). there is no parameter in the wl tko connect command to allow us to do this
c) And a general question. The parameter <ip_addr_type> in the wl tko connect command, I initially assumed it was to be used for item a) above but that did not seem to work (some values passed in were rejected). Can you please tell me what values are valid
If you filter the wireshark capture on 192.168.112.139 and 192.168.100.200 you will see the messages that are used to set up the keep-alive.
Related to the intended use but not to the issue above, the firmware does not seem to contain an internal supplicant (wl set_pmk returns an error code). Is it possible to add this, I believe it's absence will mean the wifi will need to wake up the host for key rotations which will mean decreased battery life
Show LessHaving a problem at 'Choose IDE Folder Location' step:
There's about 1TB of space on this drive, so it would be nice to know what's really wrong here.
Thanks!
Show LessEnvironment:WICED studio 6.1,CYW943907AEVAL1F
Application:snip.sd_filesystem
SD Card:2GB microSD, 512MB microSD, both formatted as FAT32 on the PC(Win7 X64)
Problem:
Plug either SD card into the evaluation board, then compile and download the application to the chip.The log information printed is as follows:
Testing SD/MMC fs
Testing SD/MMC on FileX
Error mounting filesystem
source dir /src is not existing.
Error unmounting filesystem
So, could anyone tell me what caused the error? Thanks!
Show Less