Wi-Fi Combo Forum Discussions
Hello,
I want to know about SPI slave interface of CYW43907.
There are two SPI but those are master interface which is written in 1.1.1 Features of CYW43907 data sheet.
(Those SPI pins are described as SPI0_*, SPI1_* in the data sheet.)
There is a gSPI(SDIO3.0) in the figure 2 (block diagram).
Is this SPI slave interface ? There is no detail explanation in the data sheet.
If this is correct, the pin assignments are as follows ? ;
SD CLK -> SPI Clock input for CYW43907
SD CMD -> SPI MOSI input for CYW43907
SD DATA0 -> SPI MISO output from CYW43907
SD DATA1 -> SPI IRQ output from CYW43907
How about chip select ? SD DATA 2?
Please somebody clarify them for my design.
Thank you in advance.
Hiroto
Show LessHello
We are debugging our application board which is almost same as CYW43907EVAL1F but
we use Adesto AT25SF641 instead of MX25L6433FZNI.
We are facing strange problem when bring up the board.
The debug port show the message ;
!!! Sflash will work in generic 1-bit mode ( unknown sflash id :0x17321f ) !!!
I think id :0x17321f is AT25SF641.
Is there any thing for us to change QSPI flash in software ?
Regards
Show LessHi,
The customer would like to use combo module that is CYW43907+CYW20707.(Murata and Azurewave already provided that one).
I think CYW20707 is controlled by CYW43907 in this case but I'm not sure whether Cypress has such API to control CYW20707 in WICED studio
(I can not find it in API manual)
Q1: Do you have such API ?
Q2; Do you have good example code?
I think this configuration is used in famous smart speaker in US so I hope Cypress to provide good example.
Thank you.
--TAK
Show LessUnder WICED Studio 5.0, several users has experienced problems during the install which are related to white space in temp folder name.
Example: C:\Users\John Doe\AppData\Local\Temp\
The workaround here is to change the location of temp folder as shown below :
- Create a folder such as c:\temp (without white space)
- Go to Control Panel -> System -> Advanced System Settings -> Environment Variables
- Change the ‘TEMP’ and ‘TMP’ variables to c:\temp
- Note: Requires admin rights along with write permission to the TEMP and TMP folders
Log off and log on, then install.
This issue will be resolved in the next release of WICED Studio.
Show LessCan the WICED board can use 'Amazon FreeRTOS' in place of 'FreeRTOS'?
Hey everyone,
I am trying to use ultrasonic sensor, HC-SR04, with the microcontroller. The problem that I am having is using HC-SR04 with WICED studio. I have connected them to the board, echo and trig are connected to J12.4 and J12.3. Voltage is connected to J9.5 and GND is connected to J9.6.
I am trying to send a trigger for 10useconds but it is not possible. I have the echo connected to Salaea logic analyzer to collect the duty cycle output. But the trigger is not being sent. The logic analyzer displays "Waiting for trigger".
My trigger is sent when a button on the board is clicked. Here is the code:
#include "wiced.h"
#define TRIG_HIGH_TIME (0.01) //0.01 mSec = 10 uSec
volatile wiced_bool_t newPress = WICED_FALSE;
void echo_measure(void* arg) {
}
/* Interrupt service routine for the button */
void button_isr(void* arg) {
/* let trigger pin settle */
wiced_gpio_output_low(WICED_PWM_2);
wiced_rtos_delay_milliseconds(10);
/* Send trigger from button click */
wiced_gpio_output_high(WICED_PWM_2);
wiced_rtos_delay_milliseconds(0.01);
wiced_gpio_output_low(WICED_PWM_2);
newPress = WICED_TRUE;
}
void application_start( )
{
uint8_t pressCount = 0;
char printChar;
wiced_init();
/* Initialize the WICED device */
wiced_gpio_input_irq_enable(WICED_BUTTON2, IRQ_TRIGGER_FALLING_EDGE, button_isr, NULL);
/* Setup interrupt */
const wiced_uart_config_t uart_config = {
.baud_rate = 115200,
.data_width = DATA_WIDTH_8BIT,
.parity = NO_PARITY,
.stop_bits = STOP_BITS_1,
.flow_control = FLOW_CONTROL_DISABLED,
};
wiced_uart_init( WICED_UART_1, &uart_config, NULL);
/* Setup UART */
while (1 ) {
if(newPress) {
pressCount ++;
/* Increment counter */
if(pressCount > 9) {
pressCount = 0;
}
printChar = pressCount + 0x30;
wiced_uart_transmit_bytes(WICED_UART_1, &printChar , 1);
newPress = WICED_FALSE; /* Reset for next press */
}
}
}
Show LessAs a follow on to this thread: Re: brcm_patchram_buf to flash?
Damn, it looks like the BT library wherein the brcm_patchram_buf is actually loaded is inside a closed-source library.
There's the wiced_hci library, but that appear to be only for a 92xxx products?
If it wasn't, it really shouldn't be hard to add it into the FS image and load from there. The hardest part would be patching the Makefile system to work cleanly.
rroy feature request
Show LessWICED Studio 6.2.1
- WICED-Studio 6.2.1 Installer (Windows)
- WICED-Studio-6.2.1 (OSX)
- WICED-Studio-6.2.1 (Linux 64-bit)
- Release Notes: WICED Studio 6.2
- Release Notes: WICED Studio 6.2.1
- Technical Brief: WICED Studio 6.2.1
- API Reference: WICED Studio 6.2.1 (Wi-Fi/Combo)
============================
Changes for WICED-SDK 6.2.1
===========================
* Applications
* Chip/Platform support
* Added support for Arrow QuickSilver EVK Platform (Murata 1GC/CYW43907 based).
* Added support for CYW943455EVB_02 (STM32H+43455) platform with the following features:
* BSP, peripheral drivers and IO applications based on FreeRTOS
* Middleware, Network stack and applications based on FreeRTOS and LWIP
* [4390x WiFi] Fixed issue of XIP mode unable to program large file (>1347584 bytes) in sflash.
* [STM32F4XX] Added SPI Slave driver support for STM32F4XX platform
* Support SPI active high chip select signal on STM32 platforms
* [4390x] Added FRAM support in 4390x sflash driver.
* [CY8CKIT_062] Updated Wiced CapSense Code to be Consistent to ES100 PDL and PSoC Creator generated CapSense files.
* Libraries, Protocols, Drivers
* [WICED pro 4390x] Enhancements to WICED audio and Apollo libraries:
* audio_render - adjusted late/early audio calculations
* 8021as/ascu - adjustments to wiced_time_read_8021as()
* Apollo - Enhanced to use BT embedded firmware by default on CYW20706A2 with CYW943907WAE4 platforms
* Apollo streamer - Added statistics and refined timestamping strategy
* audio_render - Improved silence insertion strategy
* Apollo - Changes to support IP multicast in addition to RMC
* Enabled support for TLS advanced security curves in AVS
* Added playback sample rate above 48kHz to CS47L24 codec
* Fixed playback state reporting to AVS library
* Gedday enhancements and fixes:
* Fixed DHCP thread stack corruption related to IPv6 AUTO IP
* Added fixes in Gedday for WICED to discover MDNS services
* Fixed MDNS record TTL values as per the RFC
* Remove PTR record and add cache flush bit for the records in MDNS update service advertisement sent during add/remove pairing
* Enchancements and fixes to HomeKit library:
* Added Secure WAC and Software Authentication support for IP and BLE transport. This is a preview version.
* Added support for uint64 and double data formats for HomeKit characteristic values
* Improved error handlings in HomeKit iCloud request processing
* Added fixes for HomeKit certification test case failures - TCC014, TCC028, TCH044.
* Removed "AUTO_IP_ENABLED" flag from the HomeKit library
* [WICED pro 4390x] Bluetooth audio hybrid mode support
* [CYW9MCU7X9N364] Gateway app cleanup
* [all WiFi] Upgraded mbedtls stack to version 2.6.0
* BLE WiFi Introducer app cleanup
* [all WiFi] Enhancements to FreeRTOS/LwIP:
* Upgraded to LwIP 2.0.3
* Modified auto IP handling in LwIP stack to pass BCT
* Added websocket library
* [all WiFi] Fixed enterprise security issue where WICED failed to associate to IAS server in PEAP
* [all WiFi] Verified enterprise security support with FreeRadius and IAS servers over EAP-TLS, EAP-TTLS and PEAPv0; including 802.11r and Fast Roaming
* [CYW94343x] Modified Bluetooth firmware with CoEx and throughput improvement fixes
* [all WiFi] BESL - Integrated uECC functions for ECC cipher operations in BESL instead of mbedTLS ECC for performance driven applications (can be configured by the application to pick uECC or mbedTLS-ECC)
* [all WiFi] Added support for AWS Greengrass connectivity. Unified AWS library for AWS IoT Cloud/Greengrass Core connections.
* [all WiFi] Upgraded cJSON library
* [4390x] Integrated hardware crypto engine with BESL/mbedtls - TLS funtionality on 4390x shall use hw crypto library by default
* [all WiFi] Enhancements and stability fixes to SSDP library
* Added OTA_SUPPORT flag in platform_config.h to enable OTA Support
* [all WiFi] Resolved memory leaks during long haul enterprise security join-leave tests
* [all WiFi] Added support to configure multiple certificate & key pairs for BESL TLS based servers
* [all WiFi] Added API to DNS library to provide a list of all resolved IP addresses
* [all WiFi] BESL - Improved TLS handshake timing for DHE cipher suite
* [CYW943907WAE4] Added support for Bluetooth Low Power Mode (LPM)
* Stability fixes to BTEWICED host stack including pairing fixes as central keyboard
* [all WiFi] Resolved stability issues with AMQP library
* [all WiFi] Incorporated Coverity fixes to several WICED components - supplicant, BESL, WiFi mesh, HTTP2, Gedday, WWD, Platform BSP drivers, MQTT, BTEWICED stack, AWS, OTA2, WICED Audio and WICED HCI BT library
* New WLAN firmware (7.45.98.50) added for 43364/43438/4343W platforms.
* Various Coverity fixes
* Coex fix for LE Connection getting lost with UDP Tx Traffic
* Enhanced Krack fix
* New WLAN firmware (7.15.168.114) added for 4390x/54907 platforms
* Fix Codenomicon test issues
* Fix CYW954097AEVAL1F 11AC certification test 5.2.27 issue
* Fix for low TCP Tx/Rx throughput with ACL
* Synchronize phy watchdog to data flow to avoid packet loss
* Fix Wiced errors setting up softap channel in 5G band
* New WLAN firmware (5.90.230.31) added for 43362 platforms
* Infrastructure
* Upgraded toolchain to GCC 7.2.1
Show LessI am trying to size optimize my app for flash and RAM usage. I am using a 4343W radio.
I noticed that brcm_patchram_buf is being located in the RAM section.
Does it strictly need to be? I see that the declaration is const, but it still gets located & loaded into RAM in my app, all 40K of it.
Is it a read/write area needed to ongoing operation of the BT stack? (like a scratch section)
Notably, I am including in my app makefile:
GLOBAL_DEFINES := MAC_ADDRESS_SET_BY_HOST \
WICED_DCT_INCLUDE_BT_CONFIG \
BT_CONFIG_APPLICATION_DEFINED
Show LessI found a bug where during the download firmware process, tools/common/Linux64/make would run into segmentation fault. As it turns out, the make tool that came with the SDK is from version 3.8.1 (which was released in 2006!). Then I downloaded make ver 4.2 from the GNU/Make website and it works fine now on Ubuntu 16.04 x64. Just as a reference, the make.exe that came with the SDK for Windows seems to be built from the development version (the version number is a commit signature instead of x.y). Hope that this will be fixed in the next release!
Show Less