- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I am having problem with mbt sw on CYW20719 Eval board.
Flashing via USB went fine.
Disconnect jumpers at J5 to interface 20719 HCI UART to PC host.
The PC HOST COM port, Baudrate, parity Bit are set correct.
Using 4ch oscilloscope on the UART bus to monitor the data and handshake.
sending "mbt reset" cmd is succesful. any following command is failing, as Cypress 20719 does not set RTS high after last "mbt reset" cmd. As other have problem with the mbt program, different setting of "WICED_BT_TRACE_ENABLE" are tried out in "hello_sensor.c" As well "C_FLAGS" are omitted in makefile.
Performing a master recovery, solve the issue, but only once as the."mbt reset" cmd can only be performed once. A second "mbt reset" fail as RTS isn't enabled for Host handshake.
Any inputs or comments are appreciated.
Thanks Hans
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I got it to work, based on Cypress code from: (Reported Jul 26 2018 by: nagakotapaidivenkatesh.budde_3529051)
hw 20719 Eval board, WICED Studio 6.2.1
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please pull the CTS pin to high in the power on procedure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using a FTDI serial cable directly to the HCI UART.
The 20721 Vsup is setup to 3.3Volt
The FTDI serial cable is 3.3Volt
Connected as:
CTS(Host) <-> RTS(20721)
RTS(Host) <-> CTS(20721)
TXD(Host) <-> RXD(20721)
RXD(Host) <->TXD(20721)
HCI UART levels after hw Recovery Reset:
CTS(20721): 3.3V high level
RTS(20721): 0.0V low level
TXD(20721): 3.3V high level
RXD(20721): 3.3V high level
”mbt reset” command work one time
Send as second "mbt reset" or other cmd, and the UART is ”hanging”
(RTS is never enabled, never trigger high)
HCI UART levels after hw Reset:
CTS(20721): 3.3V high level
RTS(20721): 3.3V high level
TXD(20721): 3.3V high level
RXD(20721): 3.3V high level
”mbt reset” command does not work
Monitoring the HCI UART using oscilloscope. The RTS(20721) is never enabled.
Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using a 20721 board, not 20719?
The 20721 is not a broad market product. Please contact your local Cypress sales team or Local FAE to get support on this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We both have have 20719 and 20721 boards.
I will check with local sales team.
Best Regards
Hans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem with 20719 board and 20719 sw.
The problem is that the 20719 pull the RTS low. It do never go high in the communication.
First command after Recover Reboot, went ok.
MBT_TRANSPORT: COM13
DOWNLOAD_BAUDRATE: 115200 <default>
APPLICATION_BAUDRATE 115200 <default>
Sending HCI Command:
0000 < 03 0C 00 >
Received HCI Event:
0000 <0E 04 01 03 0C 00>
Success
Second command fail since RTS is never enabled.
MBT_TRANSPORT: COM13
DOWNLOAD_BAUDRATE: 115200 <default>
APPLICATION_BAUDRATE 115200 <default>
Sending HCI Command:
0000 < 03 0C 00 >
^C
(The communication is stalled and terminated with Cntr C)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exactly same problem as
https://community.cypress.com/thread/35595?start=0&tstart=0
Reported Jul 26 2018 by:
nagakotapaidivenkatesh.budde_3529051
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you send the command successfully by following the resolution in the thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I downloaded the file zip file from.
https://community.cypress.com/thread/35595?start=0&tstart=0
and made customer folder as suggested. I can send one sucessfull mbt command, second command stall the HCI UART. The Host (PC) never get a RTS knowledge from 20719. Using 4ch oscilloscope, the HCI UART is monitored.
Cypress HCI UART:
Yellow trace: CTS
Green trace: RTS
Blue trace: TXD
Pink: trace: RXD
Triggered on CTS high to low transicion. 2Volt/div. The Cypress 20719 level jumper set to 3.3Volt. The FTDI cable to host is 3.3Volt.
Picture above, first mbt reset cmd. The Cypress does not give a RTS aknowledge (Green trace always low)
First mbt reset cmd went fine, second reset cmd and the UART in stalled.
Second mbt reset command. The Cypresse 20719 does not send a TXD aknowledge back, not enable the RTS.
The HCI UART set is tried out on three different PC's (Win7 and 2*Win10) All with same HCI UART problem.
Are there any special sw HCI UART setting in the code, I am missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to unplug the USB interface and re-plug it again. Per my test, the mbt can work normal after re-plug the device.
Do you intend to test the RF with the MBT tool? You may try to test with CYBluetool: CyBluetool (Windows Installer) . The CYBluetool has all the command supported by the mbt and it is more convenient. Please use the CyBluetool as follows:
1. Download an application(hello_sensor for example) to the 20719 device.
2. Reset the device with Reset Pin.
3. Open the HCI UART port with CyBluetool.
4. Choose command in the CyBluetool and send it.
Please notice that the sequence of step 2 and step 3 can't be reversed.
Please try the CyBluetool and let me know if you can run it successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I do re-plug the USB. I only use the USB as power supply, as I intend to use the HCI UART for communication.
The is the same for CTBluettol. I can sen done cmd, second cmd and the communication is stalling.
Which version of WICED Studio do you test with?
I use WICED Studio 6.2.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I got it to work, based on Cypress code from: (Reported Jul 26 2018 by: nagakotapaidivenkatesh.budde_3529051)
hw 20719 Eval board, WICED Studio 6.2.1
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Cypress
"Set_Tx_Carrier_Frequency_ARM" command works fine in CyBluetool.
Is it possible to run the command from "Flash", as I need to disconnect the power supply for integration. And do wireless TX test after product integration.
My wish is:
1) Program 20719 device
2) Set_TX_Carrier_Frequency_ARM in Flash
3) Disconnect power supply and Integrate product
4) Connect power supply, and 20719 TX transmit as specified in 2)
5) After TX test, the 20719 is set back in factory mode by Recovery Reset.
Best Regards
Hans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command can only be sent from the HCI interface. It can't be sent from the application.