KT1025A藍牙音頻芯片產品串口測試方法以及說明
串口測試說明和問題排查
一、簡介

串口的基礎概念就不描述了,網上好多。產品的串口都是AT指令,注意是非標的。和其他廠家的模塊不一樣
波特率出廠默認是115200 。上電會自動返回模塊或者芯片的一些參數(shù),如版本、藍牙名、UUID等等參數(shù)
二、問題
2.1串口的格式說明

2.2串口的測試的工具說明

2.3串口的調試正常的現(xiàn)象如下:



只要給模塊發(fā)送了正確的數(shù)據,模塊是一定會返回OK或者ER+x等等信息,注意查看
2.4串口的測試遇到問題怎么辦
如果在調試的過程中,遇到問題。請不要著急,冒然懷疑這,懷疑那。因為問題是要一步一步的去解決。
我們做售后遇到的各種客人,其實最終的解決辦法,基本就是如下:無其他
1、先使用“電腦端”的串口調試助手,把USB轉TTL工具的TX和RX短接,看一下自發(fā)自收是否正常
2、檢查一下藍牙模塊,上電主動返回的串口信息是否有收到。
3、在調不通的情況下,一定要使用電腦端的串口調試助手試一下,推薦使用我們提供的。
4、然后發(fā)送一下“AT”指令,看模塊是否會返回“ER+x”信息。如果返回就一切正常
5、還要檢查一下USB轉TTL的工具,我們再三聲明,建議使用CH340G的芯片板。因為我們的芯片是弱驅,其他的USB轉TTL的模塊,可能會有問題。
6、如果都排查了,最后也是有可能模塊本身不良。但是這種概率極低,就出現(xiàn)一例[2年時間]
If you encounter problems during debugging. Please don't worry, doubt this, doubt that. Because the problem needs to be solved step by step.
In fact, the final solution for all kinds of customers we meet after sales is basically as follows: nothing else
1. First, use the serial port debugging assistant of the "computer end" to short connect the TX and Rx of the USB to TTL tool to see if the spontaneous self collection is normal
2. Check whether the serial port information returned from Bluetooth module is received.
3. In case of failure in debugging, it is necessary to use the serial port debugging assistant of the computer end to try it. It is recommended to use what we provide.
4. Then send the "at" command to see if the module will return the "ER + X" message. If you go back, it's all right
5. Also check the USB to TTL tool. We have repeatedly stated that we recommend using ch340g chip board. Because our chip is a weak drive, other USB to TTL modules may have problems.
6. If all of them are checked, it is possible that the module itself is defective. But the probability is very low, so there is an example [2 years]