firmware for aek-com-blev1 testing

6
Features Demonstrates AEK-COM-BLEV1 evaluation board functionality using the BLE Scanner or similar Android app Commands from the app are received and executed by the AEK-COM-BLEV1 evaluation board connected to an AEK-MCU-C4MLIT1 evaluation board Source code available in the STSW-AUTODEVKIT AutoDevKit™ plugin version 1.1.0 (or higher) Description The STSW-AEKBLE firmware is designed to demonstrate the AEK-COM-BLEV1 evaluation board functionality using the BLE Scanner or similar app from Google Play. The app sends commands to an AEK-COM-BLEV1 board when connected to an AEK-MCU-C4MLIT1 board running appropriate firmware which is downloaded using the SPC5-UDESTK-SW software package. The firmware source code is available in the STSW-AUTODEVKIT (version 1.1.0 or higher). Product summary Firmware for AEK- COM-BLEV1 testing STSW-AEKBLE Bluetooth communication board based on the BlueNRG-1 AEK-COM- BLEV1 MCU discovery board for SPC5 Chorus 4M automotive microcontroller with CAN transceivers AEK-MCU- C4MLIT SPC5-UDESTK Debugging Software for Windows SPC5-UDESTK- SW AutoDevKit library plugin for SPC5- STUDIO STSW- AUTODEVKIT Applications Bluetooth Low Energy Mobility Services Firmware for AEK-COM-BLEV1 testing STSW-AEKBLE Data brief DB4126 - Rev 1 - February 2020 For further information contact your local STMicroelectronics sales office. www.st.com

Upload: others

Post on 16-Oct-2021

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Firmware for AEK-COM-BLEV1 testing

Features• Demonstrates AEK-COM-BLEV1 evaluation board functionality using the BLE

Scanner or similar Android app• Commands from the app are received and executed by the AEK-COM-BLEV1

evaluation board connected to an AEK-MCU-C4MLIT1 evaluation board• Source code available in the STSW-AUTODEVKIT AutoDevKit™ plugin version

1.1.0 (or higher)

DescriptionThe STSW-AEKBLE firmware is designed to demonstrate the AEK-COM-BLEV1evaluation board functionality using the BLE Scanner or similar app from GooglePlay.

The app sends commands to an AEK-COM-BLEV1 board when connected to anAEK-MCU-C4MLIT1 board running appropriate firmware which is downloaded usingthe SPC5-UDESTK-SW software package.

The firmware source code is available in the STSW-AUTODEVKIT (version 1.1.0 orhigher).

Product summary

Firmware for AEK-COM-BLEV1 testing STSW-AEKBLE

Bluetoothcommunication boardbased on theBlueNRG-1

AEK-COM-BLEV1

MCU discovery boardfor SPC5 Chorus 4Mautomotivemicrocontroller withCAN transceivers

AEK-MCU-C4MLIT

SPC5-UDESTKDebugging Softwarefor Windows

SPC5-UDESTK-SW

AutoDevKit libraryplugin for SPC5-STUDIO

STSW-AUTODEVKIT

ApplicationsBluetooth LowEnergy

Mobility Services

Firmware for AEK-COM-BLEV1 testing

STSW-AEKBLE

Data brief

DB4126 - Rev 1 - February 2020For further information contact your local STMicroelectronics sales office.

www.st.com

Page 2: Firmware for AEK-COM-BLEV1 testing

1 How to use the BLE Scanner app

Follow the procedure below to evaluate the functionality of the AEK-COM-BLEV1 board functionality.

Step 1. Use the SPC5-UDESTK-SW software to download STSW-AEKBLE onto the AEK-MCU-C4MLIT1microcontroller (SPC58EC80E5)

Step 2. Use the wiring scheme in the following table to connect the AEK-MCU-C4MLI1T and AEK-COM-BLEV1 evaluation boards.

Table 1. AEK-COM-BLEV1 and AEK-MCU-C4MLIT1 connection

AEK-COM-BLEV1 (connector J2541409) AEK-MCU-C4MLIT (Chorus-connector 4x37)

Pin 2 [GND] A1 [GND]

Pin 3 [+3V] C37 [3.3V]

Pin 4 [RXD] B21 [TXD]

Pin 5 [TXD] D17 [RXD]

Pin 6 [RESETN] C17 [RESET]

Step 3. Install the BLE Scanner app on your mobile phone

Figure 1. BLE Scanner app

Step 4. Activate Bluetooth and GPS Location functionality on the phone

STSW-AEKBLEHow to use the BLE Scanner app

DB4126 - Rev 1 page 2/6

Page 3: Firmware for AEK-COM-BLEV1 testing

Step 5. Launch the app, search for [BLE_Device] and press [CONNECT]

Figure 2. BLE Scanner app - BLE device connection

Step 6. Expand the [GENERIC ACCESS] section and press [W] in the [DEVICE NAME] subsection

Figure 3. BLE Scanner app - device name selection

STSW-AEKBLEHow to use the BLE Scanner app

DB4126 - Rev 1 page 3/6

Page 4: Firmware for AEK-COM-BLEV1 testing

Step 7. Write the value “1” and press [OK].This numeric value is associated with a command sent via Bluetooth, which is received and decodedby the AEK-MCU-C4MLIT1 board. This command turns off LED LD9.

Figure 4. AEK-MCU-C4MLIT1 LED LD9

Step 8. Write the value "2" to turn the LED on again.

STSW-AEKBLEHow to use the BLE Scanner app

DB4126 - Rev 1 page 4/6

Page 5: Firmware for AEK-COM-BLEV1 testing

Revision history

Table 2. Document revision history

Date Version Changes

19-Feb-2020 1 Initial release.

STSW-AEKBLE

DB4126 - Rev 1 page 5/6

Page 6: Firmware for AEK-COM-BLEV1 testing

IMPORTANT NOTICE – PLEASE READ CAREFULLY

STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to STproducts and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. STproducts are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.

Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design ofPurchasers’ products.

No license, express or implied, to any intellectual property right is granted by ST herein.

Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.

ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or servicenames are the property of their respective owners.

Information in this document supersedes and replaces information previously supplied in any prior versions of this document.

© 2020 STMicroelectronics – All rights reserved

STSW-AEKBLE

DB4126 - Rev 1 page 6/6