DA14585-531 Serial Port Service Reference Application User Manual

2022-04-07

●Abstract:This document describes the architecture and the implementation details of the Serial Port Service application running on DA14531 and DA14585 development kits
●Introduction:The Serial Port Service (SPS) emulates a serial cable communication. Itprovidesa simple substitute for RS-232 connections, including the familiar software flow control logic via Bluetooth®Low Energy. The SPS software distribution includes the application and profile source codes.Software has been developed for the DA14585 Development Kit (DK) –PRO, DA14531 Development Kit (DK) –Basic or DA14531TINY Module. It is also developed for Android and iOS tablets and mobile phones, allowing a serial port to be emulated when using two DA14585/DA14531DKs, or a DA14585/DA14531DK and an Android or iOS device. The DA14585 DK can either function in the GAP central role, or the peripheral role. The Android or iOS device only functions in the GAP central role. There are two projects provided,host and device projects, operating in BLE central and epripheral role respectively. Both projects use DMA driven UART operation for baud rates up to 921600, using hardware flow control only,optimized for DLE operation and high speeds.Both host and device applications are fully configurable,by reading a preprogrammed configuration file in SPI flash, while device application supports a remote configuration service server and it can be controlled by a connected smartphone app in runtime. SmartConfig, an Android mobile phone app can be used to discover, connect and monitor or change configuration of DSPS devicesthrough remote configuration BLE service. The application on the central device automatically starts scanning and connects to the selected in configuration file device or the first peripheral device supporting the serial port service. The Central device also handles situations of connection loss by stopping the flow of data and automatically trying to re-establish a connection. DSPS projects are implemented on top of SDK_6 for DA14585/DA14531. To get familiar with the DA14585’s software and hardware, read any of the following:
■UM-B-119, DA14585-DA14531 SW Platform Reference[1]
■UM-B-049, DA14585 & DA14586 Getting Started Guide with the PRO-Development Kit[2]
■UM-B-117, DA14531Getting Started with the Pro Development Kit[3]
■UM 139, DA14531 Modulegetting started Guide[4

DIALOG SEMICONDUCTOR

DA14585-531DA14531DA14585DA14586

More

Part#

More

More

User's Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

03-04-2020

Revision 1.1 -DRAFT

UM-B-088

2.9 MB

- The full preview is over. If you want to read the whole 45 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: