Continious BT Transmit with BSA

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

cross mob
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Setup Target Platform:

Create a bootable SD Card with released Linux software as described in “Wi-Fi/BT EVK for i.MX6 Quick Start Guide (Linux)”,https://community.broadcom.com/community/linux. The Quick Start Guide “Preparing Bootable SD Card for i.MX6 with Wi-Fi/BT EVK” describes steps to create an SD Card, follow this section to create bootable SD Card. Steps in section Quick Start Guide “Copying/Replacing Files on SD Card” describes how to update image and setup to run WiFi and Bluetooth.

Setup mapping of the BT_REG_ON for resetting the BT radio before starting the BSA server.

Start bsa_server and app_tm client application:

Open a two terminal windows to start BSA Server and app_tm client application.

Start the BSA Server application on one of the terminal windows.

     Copy bsa_server and app_manager to desired directory (eg: ~/)

     ./bsa_server –d /dev/tty… -p <patch_file> -all <debug level>

     Eg for BCM43340:

     ./bsa_server -d /dev/ttymxc2 -p BCM43341B0.1BW.hcd -all 1

  

     Eg for BCM4343W:

     ./bsa_server -d /dev/ttymxc2 -p BCM43430A1.1DX.hcd -all 1

Start the app_tm on the other terminal.

     ./app_tm

Note: After coping "chmod +x app_tm bsa_server" may needed.

Start continuous transmission on the BT radio:

Following menu options will be displayed:

     Bluetooth Test Module Application Main menu:

          1 => Enable Test Mode

          2 => Disable Test Mode

          3 => Disconnect a device

          4 => Get Server Memory Usage

          5 => Get Client Memory Usage

          6 => Ping

          7 => Sent VendorSpecificCommand

          8 => Control trace level(0 ~ 5)

          9 => Read Version

          10 => Read RAM

          11 => Read BD address from flash

          12 => Read ACL connections table

          13 => VSE Register

          14 => VSE Deregister

          15 => Set Tx Carrier Frequency

          16 => Read BFC parameters

          17 => Read WLAN Coexistence Parameters (require specific FW)

          18 => Write WLAN Coexistence Parameters (require specific FW)

          19 => Read RSSI

          20 => Read Raw RSSI

          21 => Set Tx Power Level

          22 => Read Tx Power Level

          23 => LE Tests

          24 => Config GPIO

          25 => Read OTP

          26 => Write OTP

          99 => Quit
     Select action =>

     Use option "15 => Set Tx Carrier Frequency” to set the Bluetooth in continuous transmission mode

The latest version of the BSA server and client applications could be downloaded from BSA Sample Client Applications for i.MX6 link.

0 Likes
0 Replies