A.3.7 DA16x00 Status –DA16x00 to MCU...................................................................35
Revision History ................................................................................................................................ 37
Figures
Figure 1: Overview of AT-CMD with AWS-IOT ..................................................................................... 5
Figure 2: Hardware Configuration ......................................................................................................... 6
Figure 3: Pin Connection....................................................................................................................... 7
Figure 4: Default UART HW Connection............................................................................................... 8
Figure 5: User Example of Custom UART1 HW Connection................................................................ 8
Figure 6: DA16x00 Wake Up HW Connection ...................................................................................... 9
Figure 7: Default Wake Up Pin HW Connection.................................................................................... 9
Figure 8: User Example for External Host Wake Up Pin HW Connection .......................................... 10
Figure 9: Tera Term............................................................................................................................. 11
Figure 10: Serial Port Setup................................................................................................................ 11
Figure 11: DA16x00 Image Download ................................................................................................ 12
Figure 12: Reset Button....................................................................................................................... 13
Figure 13: Script File for Configuration................................................................................................14
Figure 14: CubeIDE Project File.......................................................................................................... 16
Figure 15: Thing Name in MCU Source Code..................................................................................... 16
Figure 16: Build Project....................................................................................................................... 16
Figure 17: Debug Configurations Menu ..............................................................................................17
Figure 18: Set Debug Configurations..................................................................................................17
Figure 19: Set Perspective Switch ...................................................................................................... 18
Figure 20: Block Diagram for Opening a Door.................................................................................... 22
Figure 21: Door Opening Operation....................................................................................................22
Figure 22: Door Opened Status on DA16x00 Console .......................................................................23
Figure 23: Block Diagram for Closing a Door...................................................................................... 24
Figure 24: Door Closing Operation......................................................................................................25
Figure 25: Door Closed Status on DA16x00 Console......................................................................... 26
Figure 26: Android Application Screenshots ....................................................................................... 27
Figure 27: Setting Mode ...................................................................................................................... 29
Figure 28: Provisioning Mode.............................................................................................................. 30
Figure 29: Communication Mode ........................................................................................................ 30
Figure 30: Communication from MCU to Phone ................................................................................. 31
Tables
Table 1: Serial Port Configuration Values............................................................................................. 7
Table 2: UART1 Pin Configuration........................................................................................................ 8
Table 3: GPIO Pin Configuration.........................................................................................................10
Table 4: Configuration of the Topics ................................................................................................... 31
Table 5: The Basic set of MCU to DA16x00........................................................................................31
Table 6: TLS from MCU to DA16x00...................................................................................................32
Table 7: The PIN MUX from MCU to DA16x00...................................................................................33
Table 8: Configuration Data from MCU to DA16x00........................................................................... 34
Table 9: Command of MCU to DA16x00............................................................................................. 34
Table 10: Command of DA16x00 to MCU........................................................................................... 35
Table 11: Status from DA16x00 to MCU.............................................................................................35