AMB21/22

Content


About AMB21/22


Where to purchase AMB21/22?

A: You can purchase the board at https://www.amebaiot.com/en/where-to-buy-link/#buy_amb21_22


Does AMB21/22 support ADC function?

A: Yes, A0 – A7 refers to the pins where ADC function is available. Connect to corresponding pin for ADC function.
A0 – Pin 21
A1 – Pin 20
A2 – Pin 19
A3 – Pin 18
A4 – Pin 1
A5 – Pin 0
A6 – Pin 2

Please refer to the pin table via:
Ameba ARDUINO: Getting Started with RTL8722 – Realtek IoT/Wi-Fi MCU Solutions


Does AMB21/22 have user-configurable push buttons and LEDs?

A: AMB21/22 does not have any user-configurable push buttons and LEDs.


Which Bluetooth standards are supported by AMB21/22?

A: AMB21/22 support BLE 5.0. Classic Bluetooth (BR/EDR) is not supported.


Which BLE roles are supported?

A: AMB21/22 can operate as either a BLE Central or BLE Peripheral device.


Are all pins on AMB21/22 usable?

A: No, those marked “NC” are not connected to any pin and thus unusable.


Is XIP (execute in place) supported on AMB21/22?

A: Yes, it is supported.


Does AMB21/22 support 5G WiFi?

A: Only AMB21 supports dual band 2.4G + 5G WiFi. AMB22 only supports single band 2.4G WiFi.


Hardware

How to enter the download mode?

A: Press and hold the UART DOWNLOAD button. Then Press the RESET button and release both UART DOWNLOAD and RESET buttons.


How do I know if my board successfully enters download mode?

A: First, open the Serial Monitor and enter download mode. If you successfully enter download mode, you will see “#Flash Download Start” in the Serial Monitor.


During download mode, what is the function of the flashing green and red LEDs?

A: When the green LED flashes, it indicates that the board is waiting in download mode. When the red LED flashes, it indicates that the sketch’s code is being downloaded to the board.


When connecting to D7, why didn't the LED light up on AMB21/22?

A: D7 is NC on AMB21/22. NC is “Not Connected”.


Software

How to add AMB21/22 on Arduino IDE?

A: Open Arduino IDE. To set up correctly in Arduino IDE, go to “File” → “Preferences” and paste the following URL into the “Additional Boards Manager URLs” field with https://github.com/ambiot/ambd_arduino/raw/master/Arduino_package/package_realtek.com_amebad_index.json. Next, go to “Tools” → “Board” → “Boards Manager” and install.

You may follow the guide on Ameba ARDUINO: Getting Started with RTL8722DM MINI​ – Realtek IoT/Wi-Fi MCU Solutions.


Application

Does AMB21/22 support TensorFlow Lite?

A: Yes. You may follow the example guides here: Ameba ARDUINO: Peripherals & Examples – Realtek IoT/Wi-Fi MCU Solutions.