Studio Bluetooth Forum Discussions
I am using a RS232 FTDI adapter to download a hello_sensor_app through the HCI interface. The communication goes fine and the minidriver is launched OK but the log file shows the module memory has a mistmatch in the bytes writen and read.
I append here the last lines of the log:
A total of 2 contiguous memory areas were filled:
[FF000000..FF000027] DATA (40 bytes)
[FF003000..FF01419B] DATA (70044 bytes)
Download config error trying to verify 40 bytes at address 0xFF000000 (SOURCE: CONFIG Configuration data build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release.hex) (Data mismatch at address 0xFF000000. Expected byte value 0x01 but device contains 0x66)
Please, help.
Thanks,
Show LessI want to wire a CYBT-353027-EVAL to the CODEC MAX 98090 via I2S running the Headset Demo Application.
Try #1: CYBT-353027 is I2S Master
I programmed the Headset app into the BT module and paired it to a cell phone. I wired the I2S to the MAX 98090 Eval Board. I started a music player on the phone. As a consequence, I can hear music in the earphones connected to the MAX 98090. I can also see that there is an I2S BCLK, I2S LRCLK and I2S Data going on using a Logic Analyzer. The LRCLK rate is 48 kHz.
I ended the music player app on the phone an initiated a phone call to another cell phone. The I2S BCLK and I2S LRCLK changed. The LRCLK is now running on 16 kHz. However, there is *nothing* to be seen on the SDIN and SDOUT lines. I disconnected the SDIN and SDOUT lines and, funny enough, there is a signal on the SDOUT line at least.
I assumed, it is pulled to low by the MAX 98090 CODEC.
So I decided to change the roles and make the CODEC the I2S master and the BT module the slave.
Try #2: MAX 98090 is I2S Master
I changed the source code to make the Headset Demo app configure the BT module as I2S Slave and set up the MAX 98090 as I2S master, running the LRCLK at 16 kHz with BCLK set to 64 x fs and an MCLK of 12 MHz.
I checked with the music player app on the phone - it works (although the sound is too loud and clipped).
I tried to make a phone call and again - nothing is on SDIN and SDOUT.
Question: Does this even work?
Which CODEC is recommended to use with the CYBT-353027 to get the I2S working in a bidirectional manner?
Show LessHi,
我想把hci_audio_gateway demo里的hci_ag_cfg_settings里的ble_scan_cfg.high_duty_scan_duration=0设置成永远都在high scan,但是测试下来以后,好像scan了一轮后就不scan了。如下是我的的配置。请帮我确认一下
Show Less
In our existing project we use CYBT-353027-02 module and WICED Studio 6.4. The CYBT module is running in embedded mode. The module is connected to a host CPU via UART. CYBT firmware update is done via UART, using correspondent minidriver.
Question: after loading minidriver to RAM we execute HCI_FLASH_ERASE command (0x01, 0xCE, 0xFF, 0x04, 0x00, 0x00, 0x00, 0xFF). Is it really necessary? Our goal is to keep application data in CYBT untouched after firmware upgrade, i.e. to keep link keys, BT MAC address and so on. Is it possible?
Show LessHi there. I'd like to know if the CYW20706 can be used directly via HCI H4 (ignoring the WICED Bluetooth stack on the chip) with a full stack on the main MCU, and if yes, how.
In the CYW920706WCDEVAL Evaluation Kit Hardware User Guide, I found this in chapter 9.3:
"In CYW20706, it is available only for application-defined HCI commands and events; it is not for Bluetooth standard HCI commands.
In CYW20706, it is used to communicate with the external MCU and does support Bluetooth standard HCI commands."
The first sentence says it's not possible, while the second one says it is.
The product number is similar to e.g. CYW20710 which did support HCI H4, so I thought it might be an interesting Bluetooth Controller to officially support in our Bluetooth stack. There aren't many new dual-mode chipsets released by other vendors...
Best regards
Matthias Ringwald, BlueKitchen GmbH
Show LessCypress_FOTA_release-v3.1.0 or btsdk-peer-apps-ota-master OtaUpgrade 프로젝트 진행
Cypress PuriCare Mask기기 제품 등록중 file load성공후 Upgrade 버튼 클릭시 "Invalid WICED OFU services" 메세지 발생
otaService, otaControlPoint, otaControlData 모두 nil
var isWicedOfuSeviceValid: Bool {
return otaService != nil && otaControlPoint != nil && otaControlData != nil
}
if !activePeripheral!.isWicedOfuSeviceValid {
self.appendLog("Invalid WICED OFU services")
return
}
해당 값들이 세팅안된 이유를 살펴 보다 보니
peripheral.services 빈배열로 되어있어서 더이상 진행이 안되고 있습니다.
AOS 샘플앱에서는 Cypress 펌웨어 업데이트 성공된 제품입니다.
안되는 이유가 있을까요?
수정된 버전을 받고 싶습니다.
Show LessHi Sir:
As I know. the CYW20719 and CYW20721 support BLE 2Mbps PHY and Infineon has module support EZ-serial FW.
I studied the the EZ-serial FW doc on 413xxx/423xxx/483xxx module. But the doc didn't mention how to configuration the BLE 2Mbps on BLE.
My question are
1. Can EZ-serial FW set BLE 2Mbps PHY by command??
2. Does EZ-serial FW support BLE over UART mode with 2M data rate??
3. Does EZ-serial FW BLE 5.0 certification. Because the link mentioned to 4.2 only.
|
Austin
Show LessI am new to WICED Studio Tools.
I have the CYW920719Q40EVB board/kit. After I downloaded/installed WICED Studio, It shows an empty project explorer. So wondering where I can get the proper demo/platform/project files for my target board?
Show LessI'm using CYBT-483039 device and i need to download Wiced Studio 6.4. I tried to download it from this link "https://community.infineon.com/t5/Public-Archive/WICED-Studio-6-4-0-Installer-Windows/td-p/259228" but when i click on "Click here for a High performance download of the WICED-Studio 6.4.0 Installer (Windows) through Akamai", I'm redirected to MyInfineon Homepage so the link is broken.
How can I download Wiced Studio 6.4?
I can't use Wiced Studio 6.2 becouse for our application we need to set transmit power at 20 dbm and with Wiced Studio 6.2 i'm not able to set transmit power over than 4 dbm.
Show LessHi there,
I'm trying to connect via HCI commands to a SPP capable device.
I merged two examples but I always receive WICED_BT_RFCOMM_NO_RESOURCES code inside spp_rfcomm_start_server();
Registration setup:
/* SPP SEVER1 */
wiced_bt_spp_reg_t spp_reg1 =
{
SPP_RFCOMM_SCN1, /* RFCOMM service channel number for SPP connection */
MAX_TX_BUFFER, /* RFCOMM MTU for SPP connection */
spp_connection_up_callback, /* SPP connection established */
spp_connection_failed_callback, /* SPP connection establishment failed */
spp_service_not_found_callback, /* SPP service not found */
spp_connection_down_callback, /* SPP connection disconnected */
spp_rx_data_callback, /* Data packet received */
};
App cfg buffer pools:
const wiced_bt_cfg_buf_pool_t wiced_app_cfg_buf_pools[WICED_BT_CFG_NUM_BUF_POOLS] =
{
/* { buf_size, buf_count } */
{ 64, 16 }, /* Small Buffer Pool */
{ 360, 5 }, /* Medium Buffer Pool (used for HCI & RFCOMM control messages, min recommended size is 360) */
{ 1024, 9 }, /* Large Buffer Pool (used for HCI ACL messages and GATT DB) */
{ 2048, 2 }, /* Extra Large Buffer Pool - Used for GATT DB and miscellaneous */
};
Spp init:
/*
* SPP initialization
*/
void hci_spp_init()
{
/* Make device connectable (enables page scan) using default connectability window/interval.
* The corresponding parameters are contained in 'wiced_bt_cfg.c' */
/* TODO: Make sure that this is the desired behavior. */
wiced_bt_dev_set_connectability(BTM_CONNECTABLE, BTM_DEFAULT_CONN_WINDOW, BTM_DEFAULT_CONN_INTERVAL);
/* Make device discoverable (enables inquiry scan) over BR/EDR using default discoverability window/interval.
* The corresponding parameters are contained in 'wiced_bt_cfg.c' */
/* TODO: Make sure that this is the desired behavior. */
wiced_bt_dev_set_discoverability(BTM_GENERAL_DISCOVERABLE, BTM_DEFAULT_DISC_WINDOW, BTM_DEFAULT_DISC_INTERVAL);
// Initialize 1st SPP Server
wiced_bt_spp_startup(&spp_reg1);
wiced_init_timer(&spp_transport_flow_control_timer, spp_transport_flow_control_timeout, 0, WICED_MILLI_SECONDS_TIMER);
wiced_init_timer(&spp_ota_flow_control_timer, spp_ota_flow_control_timeout, 0, WICED_MILLI_SECONDS_TIMER);
}
What causes this issue WICED_BT_RFCOMM_NO_RESOURCES?
Best regards
Alex
Show Less