Nuvoton NuTRM Chatbot
Description
Nuvoton NuTRM Chatbot is an AI-powered chatbot extension that answers questions about Technical Reference Manual (TRM) for a specific chip.
Outline
Features
- A chat extension for VSCode building on GitHub Copilot Chat.
- Use a prompt to query the TRM content.
- Get answers based on the content of the TRM.
- Add a custom agent to Copilot Chat
- Allows customization of how user requests are handled.
- Add custom commands
- Supports TRMs for multiple chips.
Requirements
- Visual Studio Code: Version 1.110 or higher is recommended.
- Install VS Code Extension: GitHub Copilot.
- Need a GitHub Account to sign in to the Github Copilot extension.
- Ensure that your corporate or personal firewall does not block VS Code's network access during the installation of extensions.
Commands
- Custom agent
- Select
NuTRM as the agent in the Copilot Chat interface to query TRM content.
- Slash commands
/{chip}: handle issues related to the specified chip. All supported chips are listed in the Supported Chips section. For example,
/M55M1: questions about M55M1 TRM
/M460: questions about M460 TRM
- To compare multiple chips, simply list the chip names (e.g., M55M1 vs M460) in your prompt, omitting the slash command.
/all: handle issues related to all supported chips.
Getting Started
Launch the VS Code application.
Make sure GitHub Copilot is signed in.
- If it isn’t: Command Palette (Ctrl+Shift+P) → “GitHub Copilot: Sign in”.
Click the Chat button to open the Chat Panel.
Access Chat Input Box in Chat Panel
- Recommended Language Model: The latest and greatest Claude model.
Please check the GitHub Copilot plan for details on the free and subscription models.
To query TRM content, select NuTRM as the agent in the Copilot Chat interface.
If you want to let the agent create or edit files based on the TRM content, please enable edit tools in the Copilot Chat interface. This allows the agent to write content into files in the workspace because edit tools are disabled by default.
NOTE: After open new chat session, you need to enable edit tools again as the setting is not persistent across sessions.
- You can specify the chip either by using the
/{chip} command or by including the chip name in your prompt. Alternatively, use /all to query all supported chips.
- Example 1:
/M55M1 What is the difference between SPI DUAL mode and SPI 2-bit mode? Explain and provide direct link to the figures.
- Example 2:
Compare the UART features of the M460, M480, M2003 and M2U51, and provide a citation.
- Example 3:
/M55M1 show UART block diagram
- Example 4:
/M3331 What is I2C GC mode?
- Example 5:
/M2A23 What is the maximum frequency the Arm Cortex-M23 core can reach?
- Example 6:
/M55M1 What transmission modes does UART support?
- Example 7:
/all What is the LDROM size for each chip?
Supported Chips
| Product Line |
Supported Chips |
| NuMicro® M0 Family |
M029G, M030, M030G, M031, M031G, M032, M051, M058S, M071M, M071R1, M071S, M091, M0A21, M0A23, Mini51, Mini58, Nano100B, Nano102, Nano112, Nano103, NUC121, NUC122, NUC123, NUC125, NUC1261, NUC230, NUC240 |
| NuMicro® M23 Family |
M2003, M2354, M251, M252, M253, M254, M256, M258, M2A23, M2L31, M2U51, NUC1262, NUC1263 |
| NuMicro® M33 Family |
M3331 |
| NuMicro® M4 Family |
M451, M4521, M460, M471, M480, NUC505 |
| NuMicro® M55 Family |
M5531, M55M1 |
| NuMicro® A35 Family |
MA35D1 |
| NuMicro® 8051 Family |
MG51FC, MG51LD, ML51, ML54, ML56, MS51_16K, MS51_32K, MS51_8K, MUG51 |
| NuMicro® ARM9 Family |
N9H30, NUC980 |
| |