EasyManua.ls Logo

NXP Semiconductors UM11483 - Bring-up of Bluetooth Interfaces

NXP Semiconductors UM11483
41 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
UM11483
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Linux OS
6 Bring-up of Bluetooth interfaces
Note: You must first load the combo firmware and initialize the Wi-Fi driver prior to
initializing the Bluetooth interface. Refer to Plugging the wireless module and Section 5.3
"Bring up the Wi-Fi interface" .
Use the following steps to bring up the Bluetooth interfaces.
Invoke the command to initialize hci0 interface
root@imx8mqevk:~# hciattach /dev/ttymxc2 any 115200 flow
Setting TTY to N_HCI line discipline
Device setup complete
root@imx8mqevk:~# hciconfig hci0 up
root@imx8mqevk:~# hciconfig
hci0: Type: Primary Bus: UART
BD Address: 00:50:43:24:83:B7 ACL MTU: 1021:7 SCO MTU: 120:6
UP RUNNING
RX bytes:1451 acl:0 sco:0 events:84 errors:0
TX bytes:789 acl:0 sco:0 commands:84 errors:0
Invoke the HCI command to change the speed where <device> is /dev/ttymxc2.
root@imx8mqevk:~# hcitool -i hci0 cmd 0x3f 0x0009 0xc0 0xc6 0x2d 0x00
root@imx8mqevk:~# killall hciattach
root@imx8mqevk:~# hciattach /dev/ttymxc2 any 3000000 flow
root@imx8mqevk:~# hciconfig hci0 up
UM11483 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 21 January 2021
36 / 41

Table of Contents

Other manuals for NXP Semiconductors UM11483

Related product manuals