|
| 1 | +.. _ch565w_evt: |
| 2 | + |
| 3 | +CH565W-EVT |
| 4 | +########## |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The CH565W-EVT is a evaluation board for the CH565 chip. |
| 10 | + |
| 11 | +CH565/9 is a member of the QingKe V3A family developed by WCH. |
| 12 | + |
| 13 | +Hardware |
| 14 | +******** |
| 15 | +- QingKe V3A RISC-V RV32IMAC core, running up to 120MHz |
| 16 | +- 448KB Flash |
| 17 | +- 32/64/96KB + 16KB SRAM |
| 18 | +- 49 GPIOs |
| 19 | +- 4 UARTs |
| 20 | +- 2 SPIs |
| 21 | +- 1 DVP |
| 22 | +- USB 2.0 High Speed |
| 23 | +- USB 3.0 Super Speed |
| 24 | + |
| 25 | +Supported Features |
| 26 | +================== |
| 27 | +The CH565W-EVT supports the following features: |
| 28 | + |
| 29 | +.. list-table:: |
| 30 | + :header-rows: 1 |
| 31 | + |
| 32 | + * - Peripheral |
| 33 | + - Kconfig option |
| 34 | + - Devicetree compatible |
| 35 | + * - Clock Mux |
| 36 | + - N/A |
| 37 | + - :dtcompatible:`wch,ch56x-clkmux` |
| 38 | + * - GPIO |
| 39 | + - :kconfig:option:`CONFIG_GPIO` |
| 40 | + - :dtcompatible:`wch,ch56x-gpio` |
| 41 | + * - PFIC |
| 42 | + - N/A |
| 43 | + - :dtcompatible:`wch,ch32v-pfic` |
| 44 | + * - PINCTRL |
| 45 | + - :kconfig:option:`CONFIG_PINCTRL` |
| 46 | + - :dtcompatible:`wch,ch5xx-pinctrl` |
| 47 | + * - SYSTICK |
| 48 | + - N/A |
| 49 | + - :dtcompatible:`wch,ch32v-v3-systick` |
| 50 | + * - UART |
| 51 | + - :kconfig:option:`CONFIG_SERIAL` |
| 52 | + - :dtcompatible:`wch,ch5xx-uart` |
| 53 | + |
| 54 | +Other hardware features have not been enabled yet for this board. |
| 55 | + |
| 56 | +Programming and Debugging |
| 57 | +************************* |
| 58 | + |
| 59 | +.. zephyr-app-commands:: |
| 60 | + :zephyr-app: samples/basic/blinky |
| 61 | + :board: ch565w_evt |
| 62 | + :goals: build |
| 63 | + |
| 64 | +Flashing |
| 65 | +======== |
| 66 | + |
| 67 | +The WCH MCUs can be flashed via USB (using WCHISPTool), or via WCH-Link. |
| 68 | + |
| 69 | +WCHISPTool |
| 70 | +---------- |
| 71 | + |
| 72 | +`WCHISPTool_CMD`_ is required to flash the board. Add it to the ``PATH`` |
| 73 | +environment variable, and refer to the tool's documentation for generating the |
| 74 | +device configuration file. |
| 75 | + |
| 76 | +.. code-block:: sh |
| 77 | +
|
| 78 | + west flash --device XXXX --cfg-file /path/to/CH565.ini |
| 79 | +
|
| 80 | +.. _WCHISPTool_CMD: |
| 81 | + https://wch-ic.com/downloads/WCHISPTool_CMD_ZIP.html |
0 commit comments