|
| 1 | +.. _google_kukui_board: |
| 2 | + |
| 3 | +Google Kukui EC |
| 4 | +############### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +Kukui is a reference board for Chromium OS-based devices Krane and |
| 10 | +Kodama. Zephyr has support for the STM32-based embedded controller |
| 11 | +(EC) on-board. |
| 12 | + |
| 13 | +Hardware |
| 14 | +******** |
| 15 | + |
| 16 | +- STM32F098RCH6 |
| 17 | +- MT6370 battery charger |
| 18 | +- BMM150 compass |
| 19 | +- BMM160 gyroscope |
| 20 | +- Connections to the MediaTek AP |
| 21 | + |
| 22 | +Supported Features |
| 23 | +================== |
| 24 | + |
| 25 | +The following features are supported: |
| 26 | + |
| 27 | ++-----------+------------+-------------------------------------+ |
| 28 | +| Interface | Controller | Driver/Component | |
| 29 | ++===========+============+=====================================+ |
| 30 | +| NVIC | on-chip | nested vector interrupt controller | |
| 31 | ++-----------+------------+-------------------------------------+ |
| 32 | +| UART | on-chip | serial port-polling; | |
| 33 | +| | | serial port-interrupt | |
| 34 | ++-----------+------------+-------------------------------------+ |
| 35 | +| PINMUX | on-chip | pinmux | |
| 36 | ++-----------+------------+-------------------------------------+ |
| 37 | +| GPIO | on-chip | gpio | |
| 38 | ++-----------+------------+-------------------------------------+ |
| 39 | +| CLOCK | on-chip | reset and clock control | |
| 40 | ++-----------+------------+-------------------------------------+ |
| 41 | +| FLASH | on-chip | flash memory | |
| 42 | ++-----------+------------+-------------------------------------+ |
| 43 | +| WATCHDOG | on-chip | independent watchdog | |
| 44 | ++-----------+------------+-------------------------------------+ |
| 45 | + |
| 46 | +Other features (such as I2C) are not available in Zephyr. |
| 47 | + |
| 48 | +The default configuration can be found in the defconfig file: |
| 49 | +``boards/arm/google_kukui/google_kukui_defconfig`` |
| 50 | + |
| 51 | +Connections and IOs |
| 52 | +=================== |
| 53 | + |
| 54 | +Each of the GPIO pins can be configured by software as output |
| 55 | +(push-pull or open-drain), as input (with or without pull-up or |
| 56 | +pull-down), or as peripheral alternate function. |
| 57 | + |
| 58 | +Default Zephyr Peripheral Mapping: |
| 59 | +---------------------------------- |
| 60 | + |
| 61 | +- UART_1 TX/RX : PA10/PA9 |
| 62 | + |
| 63 | +Programming and Debugging |
| 64 | +************************* |
| 65 | + |
| 66 | +Build application as usual for the ``google_kukui`` board, and flash |
| 67 | +using Servo V2, μServo, or Servo V4 (CCD). See the |
| 68 | +`Chromium EC Flashing Documentation`_ for more information. |
| 69 | + |
| 70 | +Debugging |
| 71 | +========= |
| 72 | + |
| 73 | +Use SWD with a J-Link or ST-Link. |
| 74 | + |
| 75 | +References |
| 76 | +********** |
| 77 | + |
| 78 | +.. target-notes:: |
| 79 | + |
| 80 | +.. _Chromium EC Flashing Documentation: |
| 81 | + https://chromium.googlesource.com/chromiumos/platform/ec#Flashing-via-the-servo-debug-board |
0 commit comments