Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AIROC™ Bluetooth Forum Discussions

FrGu_4702376
Level 1
Level 1
First reply posted First question asked Welcome!

Hi Cypress,

We are running into a problem with our CYBT-413034 setup. We have a device with a the module connected to our CPU via a CY7C65215. When we boot the device, the CYBT-413034 often does not respond as expected (see a previous post here). Your colleague then told us that the device goes into 'download' mode, and that the only recovery mechanism for that is a hard reset. This is not an option for us in the field, so we would like to find out how to avoid this download-mode altogether.

As described in the datasheet, we are keeping CTS low, to allow continuous data transfer between host and module. We are disabling flow control from the CPU sided. However, we noticed that the module tends to come online more often if the CTS is HIGH at the time of reboot, and then set back to LOW after the module is online. Could you please explain this to us, and let us know if there are options to disable 'download' mode? In our device we do not have active control over CTS.

This is a very critical point for us, because the current supply chain is very limited. Could you please help us asap?

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

1. We are using 100ms in our module production procedure. 

2. There isn't a document for the mode selection operation.

3. The download mode is only used to program the device. There isn't a support command list for it. You can refer to the following doc about the HCI command during the program. https://cypresssemiconductorco.github.io/btsdk-docs/BT-SDK/WICED-HCI-Control-Protocol.pdf

View solution in original post

0 Likes
4 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

1. The flow control of the HCI UART is not able to disable.

2. The bootup mode is controlled by hardware.  You must pull the CTS to high to enter HCI mode. Or it will enter download mode and only limited HCI command can be accepted.

0 Likes

Hi Owen,

Thank you for your response. Where can we find the HCI command list that is supported in the download-mode? Can we somehow get the device out of download mode using an HCI command?

Best regards,

Mattia

0 Likes

Hi Owen, 

Thank you for clarifying. We seem to have finally been able to resolve the issue, but we would like confirmation from Cypress that our solution really works. We initially held CTS high for  >10 seconds after releasing the nReset pin. However, this did not give correct boot behavior. If we wait shorter time (1second) then the device does boot normally.

Can you confirm the following: Is it true that the timing of CTS to LOW compared to the nReset HIGH is important? If so, does 1 second ensure that the device will always boot properly? What is the recommended timing?

Additionally, we would like to ask you if this behavior is documented somewhere? We could not find it in the datasheet, but if it is critical for a proper boot sequence then we would ask you to state this more clearly.

Thirdly, could you answer my colleague's question about the list of HCI commands in download mode, for future reference?

Thank you

0 Likes
Owen_Zhang123
Moderator
Moderator
Moderator
500 solutions authored 250 sign-ins 1000 replies posted

1. We are using 100ms in our module production procedure. 

2. There isn't a document for the mode selection operation.

3. The download mode is only used to program the device. There isn't a support command list for it. You can refer to the following doc about the HCI command during the program. https://cypresssemiconductorco.github.io/btsdk-docs/BT-SDK/WICED-HCI-Control-Protocol.pdf

0 Likes