Studio Bluetooth Forum Discussions
I'm using CYW920719Q40EVB-01 which is connected to an evaluation board (as a SPI slave) having an MCU via SPI interface. In my code, CYW920719Q40EVB-01 is a SPI Master which is sending/receiving array of 1024 bytes to/from my Slave board. The Slave board is powered by the 3.3V supply from CYW920719Q40EVB-01, so both boards use the same voltage.
My experiments:
1- Before connecting to CYW920719Q40EVB-01 board, my SPI slave board has been tested with a similar board with good SPI communication.
2- After CYW920719Q40EVB-01 is connected to the Slave board, I noticed that the data is transmitted from the Master (CYW920719Q40EVB-01) board to slave board but the Master receives all zero data.
3- Using an oscilloscope, I noticed that the High-level on the MISO wire is about 620 mV. Please see the attached snapshot showing the CS and MISO traces.
4- When the MISO wire between the Master and Slave is disconnected, the MISO output from the Slave shows normal High level (3.3V), again connecting the MISO from the Slave to the CYW920719Q40EVB-01 brings the High-level voltage of MISO to 620 mV.
5- The MOSI wire out of CYW920719Q40EVB-01 shows normal voltage level and correct data is received by the Slave board.
6- Different situations like using Pull-Up and Pull-Down or changing SPI1 and SPI2 in SPI initialization did not fix this issue.
My questions:
Why does the MISO input on CYW20719 drops to a lower voltage while the MOSI output shows normal operation?
Is this because I'm using a defective evaluation board (CYW920719Q40EVB-01) or I'm missing something in my coding. I'm using the SPI Master example code provided for CYW920719Q40EVB-01.
Thanks!
Abi
Show LessHi,
I am following the 'Starting CYSPP Out of the Box in Peripheral Mode' example to connect to the establish connection from the PC and send data.
Prior to following this, I only changed the name of the device.
Once I go to the 'add bluetooth devices' on windows, I see both EZ-serial and my custom name, how ever when I try to establish connection with the custom names device I am getting below events with a disconnection. Am I missing something here?
Show Lessdear sir or madam,
I have BT860 module that its bluetooth is cyw20704 A2. it answer to Bluetooth HCI command but it does not answer to WICED command it means that it is not in application mode yes?
should I load a WICED command to it if yes, where can i find the WICED command file.
thanks alot
Show LessHi everyone,
About HCI_UART pins (D7,C7,E6,D6),
・Pin state at reset (whether pull-up/down is present or not)
・Normal terminal status (whether pull-up/down is present or not)
Could you please give me some advice.
Thanks,
Yang
Show LessHi,
When I try to set the logic of the GPIO pins using 'SIOL' command I am getting bad command error.
eg:
PAD 11 GPIO_0: GPIO_0/P36/P38
I want to set the logic HIGH of GPIO_0, I used this command 'SIOL,P=36,L=1' and response attached. Am I missing something?
Show Less
What is the maximum throughput when using this module in BTclassic and 1M baudrate? Would that be the same as HCI mode?
It would be helpful if you could share any data related to throughput testing in using Ez serial.
Thanks,
Se
Show LessHello.
My design is sending data that received PUART via SPP.
My base code is common/app/snip/bt/spp.
SPP sending without PUART interrupt, in your sample code, no error was found so far.
It is normal operation. I request to send 307 bytes, and check if buffer is not full and send 307 bytes(RFCOMM SENT) finally wrote 307 result 0
I found this operation SPP Lib source code.
But Sending data are missing during communication with stress ( PUART Tx/Rx, SPP Tx, Rx, and frequent timers.)
I got this log BTSpy
407, 507, 512, 95 Byest of data is missing with result 0.
In this case tx buffer was not full. I check it using wiced_bt_spp_can_send_more_data() in SPP lib.
In order to make it clear, I calculate attached test log using MS excel. (wrote and RFCOMMSEND)
wrote: 366939
RFCOMM SEND: 249127
I believe stress made this loss.
So How I can find out when I can send data without loss?
It is very urgent and important for me.
Thanks in advance.
Show LessHi,
Could anyone please suggest how to program the module CYBT-483039-02 in modustoolbox 2.1.
What is the platform to be selected to program this module. The available default platforms for CYW20719 in the modustoolbox 2.1 are
Best regards,
NK
Show LessHi,
What is the most efficient way to program these modules for mass with specific uart parameters? We want to reduce the steps in mass production. If the modules are shipped with 115200, the hos t MCU won't be able to communicate with the module as the host lacks the run time change for baudrate.
Thanks,
Se
Show LessDevelopment environment:
Windows 8.1 pro
Platform: CYBT-423028-02
IDE: Wiced Studio 6.2.1
Just as an example :
Created service A
It has 2 characteristics B and C
B characteristic has Read and Write property n permission
C characteristic has Read and Notify property n permission
We have developed a demo code and created a characteristic(C) of one of the services(A) with "Notify" property.
Once the peer device writes into the client configuration of (C), I get the 0x1000 for notification.
But when we use the same characteristic to send the notification value, A peer device is not getting any notification. Please tell me which attr handle should be used to send the notification to peer device, please share the example.
wiced_bt_gatt_status_t wiced_bt_gatt_send_notification (uint16_t conn_id, uint16_t attr_handle, uint16_t val_len, uint8_t *p_val );
conn_id = connected device's id
attr_handle = (Characteristic C )CLIENT_CONFIGURATION , handle
val_len = length of the actual data to be shared with a connected device
p_val = Notification value
Please note we have followed the steps from the "demo.sensor" project, but it doesn't work in our code.
So please provide me the proper example of it.
Show Less