#1 Nov. 7, 2017 17:31:59

anders
Registered: 2017-11-07
Posts: 3
Profile   Send e-mail  

TIWI5 Debug uart settings

What are the correct settings for the wifi and bluetooth debug uarts (baud rate etc)?
Are the settings the same when using a bts file for lower speeds (e.g. 115200 bps)?

Offline

#2 Nov. 9, 2017 16:53:15

SupportEngineer
Registered: 2016-03-11
Posts: 47
Profile   Send e-mail  

TIWI5 Debug uart settings

Could you clarify what pins on the module you are referring to?
Also, what is the need for using the debug ports?

Offline

#3 Nov. 9, 2017 17:14:51

anders
Registered: 2017-11-07
Posts: 3
Profile   Send e-mail  

TIWI5 Debug uart settings

Pin 42 (BT_UARTD/BT_FUNC4).
Since we get “Initialization timed out” when we run hciattach (using pins 34, 35, 36, 39), I was hoping that we could see some helpful message on pin 42. I see some activity on that pin when I set BT_EN high.
Our platform has a maximum uart speed of 921600 bps. Can this (or even 115200) be used with the HCI_RX and HCI_TX uart?


Offline

#4 Nov. 14, 2017 16:11:19

SupportEngineer
Registered: 2016-03-11
Posts: 47
Profile   Send e-mail  

TIWI5 Debug uart settings

We recommend enabling the debug info in the Bluez stack to get more information on what HCI command the module is failing at. We don’t think the debug pin will help that much.

Please confirm you are power sequencing the module properly? Is the SLOW_CLK stable before bringing BT_EN high? What Bluetooth patch file are you using? You should be using one from our website.

The module starts up with a default baud rate of 115200 and then gets switched to a higher baud rate in the patch file depending on what patch file is used. We provide multiple baud rate options.
Can you provide the commands that are used to start the module in Linux?

Offline

#5 Nov. 15, 2017 07:31:20

anders
Registered: 2017-11-07
Posts: 3
Profile   Send e-mail  

TIWI5 Debug uart settings

Thank you for the information. There was a problem with the CTS pin and once we solved that, the initialization worked.

Offline

Board footer

Moderator control