• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. _module-pw_sys_io_ambiq_sdk:
2
3===================
4pw_sys_io_ambiq_sdk
5===================
6.. pigweed-module::
7   :name: pw_sys_io_ambiq_sdk
8
9``pw_sys_io_ambiq_sdk`` implements the ``pw_sys_io`` facade over UART using the
10Ambiq Suite SDK HAL.
11
12The UART baud rate is fixed at 115200 (8N1).
13
14Setup
15=====
16This module requires relatively minimal setup:
17
181. Write code against the ``pw_sys_io`` facade.
192. Specify the ``dir_pw_sys_io_backend`` GN global variable to point to this
20   backend.
213. Call ``pw_sys_io_Init()`` during init so the UART is properly initialized and
22   configured.
23
24The UART peripheral and the GPIO pins are defined in the ``am_bsp.h`` file. Make sure
25that the build argument ``pw_third_party_ambiq_PRODUCT`` is set correctly so that
26the correct bsp header file is included.
27