diff --git a/.DS_Store b/.DS_Store index 6e57f50..a636aa8 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/assets/.DS_Store b/assets/.DS_Store index 314005b..6ab848e 100644 Binary files a/assets/.DS_Store and b/assets/.DS_Store differ diff --git a/assets/download/tools_software/XT25F16F_QSPI.spec b/assets/download/tools_software/XT25F16F_QSPI.spec new file mode 100644 index 0000000..6ad4460 --- /dev/null +++ b/assets/download/tools_software/XT25F16F_QSPI.spec @@ -0,0 +1,23 @@ +0, /* XT25F16F_QSPI - Just specify 0 as flash_id */ +256, /* page size */ +8192, /* num pages */ +3, /* address size */ +4, /* log2 clock divider */ +0x9F, /* QSPI_RDID */ +0, /* id dummy bytes */ +3, /* id size in bytes */ +0x0B4015, /* device id */ +0x20, /* QSPI_SE */ +4096, /* Sector erase is always 4KB */ +0x06, /* QSPI_WREN */ +0x04, /* QSPI_WRDI */ +PROT_TYPE_SR, /* Protection via SR */ +{{0,0x00},{0,0}}, /* QSPI_SP, QSPI_SU */ +0x02, /* QSPI_PP */ +0xEB, /* QSPI_READ_FAST */ +1, /* 1 read dummy byte */ +SECTOR_LAYOUT_REGULAR, /* mad sectors */ +{4096,{0,{0}}}, /* regular sector sizes */ +0x05, /* QSPI_RDSR */ +0x01, /* QSPI_WRSR */ +0x01, /* QSPI_WIP_BIT_MASK */ \ No newline at end of file diff --git a/en/docs/dev_doc/protocols/xu316_zerocode_protocol.md b/en/docs/dev_doc/protocols/xu316_zerocode_protocol.md index 0b42b96..8ebf5e0 100644 --- a/en/docs/dev_doc/protocols/xu316_zerocode_protocol.md +++ b/en/docs/dev_doc/protocols/xu316_zerocode_protocol.md @@ -222,8 +222,8 @@ sequenceDiagram | 0x21 | Media Control | MCU→XU316 | | 0x22 | Report Playback Audio Stream Format and Type | XU316→MCU | | 0x23 | Set Input/Output Mode | MCU→XU316 | - | 0x24 | Send Playback Volume | MCU→XU316 | - | 0x25 | Send Recording Volume | MCU→XU316 | + | 0x24 | XU316 Send Playback Volume | XU316→MCU | + | 0x25 | XU316 Send Recording Volume | XU316→MCU | | 0x26 | Switch MCLK | MCU→XU316 | === "HID-MCU Transparent Transmission Commands (0xEE-0xEF)" @@ -635,7 +635,7 @@ sequenceDiagram ``` === "Function Description" - - This command is used by MCU to set current playback volume to XU316 + - This command is used by XU316 to report current playback volume to MCU #### 3.3.6 Send Recording Volume (0x25) @@ -662,7 +662,8 @@ sequenceDiagram ``` === "Function Description" - - This command is used by MCU to set current microphone recording volume to XU316 + - This command is used by XU316 to report current microphone recording volume to MCU + - Reserved command, not currently used #### 3.3.7 Switch MCLK (0x26) diff --git a/en/docs/services_support/tools_software/index.md b/en/docs/services_support/tools_software/index.md index 7dcfe37..1c5de81 100644 --- a/en/docs/services_support/tools_software/index.md +++ b/en/docs/services_support/tools_software/index.md @@ -17,4 +17,5 @@ login: true | usbdeview | View USB device enumeration information in Windows | :material-download: | | Zadig | Windows USB driver | :material-download: | | tuning_gui | XMOS DSP and EQ debugging tool | :material-download: | +| XT25F16F_QSPI.spec | Xflash configuration file, applicable to: A316-Mini-V1, A316-LS-MIC-V2, A316-V71-GAME-V1 | :material-download: | diff --git a/en/mkdocs.yml b/en/mkdocs.yml index 1b0f46e..e87229a 100644 --- a/en/mkdocs.yml +++ b/en/mkdocs.yml @@ -287,6 +287,7 @@ nav: - Communication Protocols: - dev_doc/protocols/index.md - XU316 USB HiFi Decoder Zero-Code Product Configuration Protocol: dev_doc/protocols/xu316_zerocode_protocol.md + - XMOS EQ HID Product Configuration Protocol: dev_doc/protocols/XMOS_EQ_HID_Protocol.md - Development SDK and Examples: - dev_doc/sdk_examples/index.md - A316 Zero-Code Firmware MCU Development Guide: diff --git a/zh/docs/assets/download/tools_software/XT25F16F_QSPI.spec b/zh/docs/assets/download/tools_software/XT25F16F_QSPI.spec new file mode 100644 index 0000000..6ad4460 --- /dev/null +++ b/zh/docs/assets/download/tools_software/XT25F16F_QSPI.spec @@ -0,0 +1,23 @@ +0, /* XT25F16F_QSPI - Just specify 0 as flash_id */ +256, /* page size */ +8192, /* num pages */ +3, /* address size */ +4, /* log2 clock divider */ +0x9F, /* QSPI_RDID */ +0, /* id dummy bytes */ +3, /* id size in bytes */ +0x0B4015, /* device id */ +0x20, /* QSPI_SE */ +4096, /* Sector erase is always 4KB */ +0x06, /* QSPI_WREN */ +0x04, /* QSPI_WRDI */ +PROT_TYPE_SR, /* Protection via SR */ +{{0,0x00},{0,0}}, /* QSPI_SP, QSPI_SU */ +0x02, /* QSPI_PP */ +0xEB, /* QSPI_READ_FAST */ +1, /* 1 read dummy byte */ +SECTOR_LAYOUT_REGULAR, /* mad sectors */ +{4096,{0,{0}}}, /* regular sector sizes */ +0x05, /* QSPI_RDSR */ +0x01, /* QSPI_WRSR */ +0x01, /* QSPI_WIP_BIT_MASK */ \ No newline at end of file diff --git a/zh/docs/dev_doc/protocols/xu316_zerocode_protocol.md b/zh/docs/dev_doc/protocols/xu316_zerocode_protocol.md index 3f79a68..337753d 100644 --- a/zh/docs/dev_doc/protocols/xu316_zerocode_protocol.md +++ b/zh/docs/dev_doc/protocols/xu316_zerocode_protocol.md @@ -222,8 +222,8 @@ sequenceDiagram | 0x21 | 媒体控制 | MCU→XU316 | | 0x22 | 报告播放音频流格式和类型 | XU316→MCU | | 0x23 | 设置输入输出模式 | MCU→XU316 | - | 0x24 | 发送播放音量 | MCU→XU316 | - | 0x25 | 发送录音音量 | MCU→XU316 | + | 0x24 | xu316发送播放音量 | XU316→MCU | + | 0x25 | 发送录音音量 | XU316→MCU | | 0x26 | 切换MCLK | MCU→XU316 | === "HID-MCU互相透传命令(0xEE-0xEF)" @@ -635,7 +635,7 @@ sequenceDiagram ``` === "功能说明" - - 该命令用于MCU向XU316设置当前播放音量 + - 该命令用于XU316向MCU报告当前播放音量 #### 3.3.6 发送录音音量(0x25) @@ -662,7 +662,8 @@ sequenceDiagram ``` === "功能说明" - - 该命令用于MCU向XU316设置当前麦克风录音音量 + - 该命令用于XU316向MCU报告当前麦克风录音音量 + - 是预留命令,当前未使用 #### 3.3.7 切换MCLK(0x26) diff --git a/zh/docs/products/std_product/index.md b/zh/docs/products/std_product/index.md deleted file mode 100644 index 1483843..0000000 --- a/zh/docs/products/std_product/index.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: 核心模组 -hide: - -toc ---- - ---8<-- "common/phaten_xmos_support_img.md" - - -