User Manual

Apollo3 Blue Datasheet
DS-A3-0p9p1 Page 6 of 909 2019 Ambiq Micro, Inc.
All rights reserved.
9.9.6 Address Operation .......................................................................................... 334
9.9.7 Offset Address Transmission .......................................................................... 334
9.9.8 Write Operation .............................................................................................. 335
9.9.9 Read Operation ............................................................................................... 335
9.9.10 General Address Detection ........................................................................... 336
9.10 SPI Interface .......................................................................................................... 336
9.10.1 Write Operation ............................................................................................ 336
9.10.2 Read Operation ............................................................................................. 337
9.10.3 Configuring 3-wire vs. 4-wire SPI Mode ..................................................... 337
9.10.4 SPI Polarity and Phase .................................................................................. 337
9.11 Bit Orientation ....................................................................................................... 338
9.12 Wakeup Using the I2C/SPI Slave .......................................................................... 338
9.13 IOSLAVE Registers .............................................................................................. 338
9.13.1 Register Memory Map .................................................................................. 339
9.13.2 IOSLAVE Registers ..................................................................................... 340
9.14 Host Side Address Space and Register .................................................................. 352
9.14.1 Host Address Space and Registers ................................................................ 352
10. PDM/I2S Module ........................................................................................................... 357
10.1 Features .................................................................................................................. 357
10.2 Functional Overview .............................................................................................. 357
10.2.1 PDM-to-PCM Conversion ............................................................................ 358
10.2.2 Clock Generation .......................................................................................... 358
10.2.3 Clock Switching ............................................................................................ 359
10.2.4 Operating Modes ........................................................................................... 360
10.2.5 FIFO Control and Interrupts ......................................................................... 361
10.2.6 Digital Volume Gain ..................................................................................... 361
10.2.7 Low Pass Filter (LPF) ................................................................................... 362
10.2.8 High Pass Filter ............................................................................................. 362
10.3 I2S Slave Interface ................................................................................................. 362
10.4 PDM Registers ....................................................................................................... 363
10.4.1 Register Memory Map .................................................................................. 364
10.4.2 PDM Registers .............................................................................................. 365
11. GPIO and Pad Configuration Module ........................................................................... 379
11.1 Functional Overview .............................................................................................. 379
11.2 Pad Configuration Functions ................................................................................. 379
11.3 General Purpose I/O (GPIO) Functions ................................................................. 386
11.3.1 Configuring the GPIO Functions .................................................................. 386
11.3.2 Reading from a GPIO Pad ............................................................................ 386
11.3.3 Writing to a GPIO Pad .................................................................................. 386
11.3.4 GPIO Interrupts ............................................................................................. 386
11.4 Pad Connection Summary ..................................................................................... 387
11.4.1 Output Selection ........................................................................................... 387
11.4.2 Output Control .............................................................................................. 387
11.4.3 Input Control ................................................................................................. 389
11.4.4 Pull-up Control ............................................................................................. 389
11.4.5 Analog Pad Configuration ............................................................................ 389