Suche
M031-Serie / Benutzerhandbuch
https://www.nuvoton.com.cn/products/microcontrollers/arm-cortex-m0-mcus/m031-series/?tab=2&group=Document&rt=User Manual
/resource-files/RH_NuConsole_EN_V2.04.6725.pdf NuTool-NuConsole Revision History RH0320171215164642
Häufig gestellte Fragen / Why can’t the clock source of HCLK be switched to PLL when the system clock source is initialized with the following commands? CLK->CLKSEL0 = (CLK->CLKSEL0 & ~CLK_CLKSEL0_HCLKSEL_Msk); CLK->CLKSEL0 |= CLK_CLKSEL0_HCLKSEL_PLL;
https://www.nuvoton.com.cn/support/technical-support/faq/d7065f9d-04f1-11ea-b113-05daf7eedf03/
HIRC, PLL, 时钟切换 Why can’t the clock source of HCLK be switched to PLL when the system clock source is initialized with the following commands? CLK->CLKSEL0 = (CLK->CLKSEL0 & ~CLK_CLKSEL0_HCLKSEL_Msk); CLK->CLKSEL0 |= CLK_CLKSEL0_HCLKSEL_PLL; 1480414232839 Q: Why can’t the clock source of HCLK be switched to PLL when the system clock source is initialized with the following commands? CLK->CLKSEL0 = (CLK->CLKSEL0 & ~CLK_CLKSEL0_HCLKSEL_Msk); CLK->CLKSEL0 |= CLK_CLKSEL0_HCLKSEL_PLL; A: In the execution of the first command line, CLK->CLKSEL0 = (CLK->CLKSEL0 & ~CLK_CLKSEL0_HCLKSEL_Msk); HCLKSEL (CLKSEL0 [2: 0]) is set to 0x00. When HCLKSEL is set to 0x00, as shown below, the clock source of HCLK is switched to external crystal. If the external crystal is not stable or enabled at this time, the switching clock source will fail and the HCLKSEL will be remain its default setting (initialized as 0x07, clock source as HIRC). Therefore, in the execution of the second command line, CLK->CLKSEL0
Häufig gestellte Fragen / What is the main function of Window Watchdog Timer (WWDT)?
https://www.nuvoton.com.cn/support/technical-support/faq/d70b68b0-04f1-11ea-b113-05daf7eedf03/
What is the main function of Window Watchdog Timer (WWDT)? 1480414244861 The Window Watchdog Timer (WWDT) protects the entire system by restarting the chip when the program is unable to control due to unexpected errors during the execution of the program and the WWDT counter is reset incorrectly. The WWDT has a 6-bit counter, and a settable Reload Window. During operation, the WWDT will ask the program to reset the counter in the Reload Window. When the program does not reset the counter in the Reload Window, or the counter counts down to 0, the program is in an uncontrollable state; at this time, the WWDT will restart the system, as shown below:
Häufig gestellte Fragen / After using the ADC to obtain a temperature sensor value in the NuMicro® series, how does a user convert it into an actual temperature?
https://www.nuvoton.com.cn/support/technical-support/faq/d7347495-04f1-11ea-b113-05daf7eedf03/
After using the ADC to obtain a temperature sensor value in the NuMicro® series, how does a user convert it into an actual temperature? 1482199057718 The temperature for a temperature sensor can be calculated by the following formula: Vtemp (mV) = Gain (mV/℃) x Temperature (℃) + Offset (mV) where Gain and Offset are constants, which may vary in each NuMicro® series. For example, in the NuMicro® M051 series: When the operating voltage of the M051 series is 3.3V, use a 12-bit ADC to obtain the temperature sensor value as 0x33D = 829. The following can be obtained: Vtemp = (829 / 4096) * 3.3 = 0.668 (V) = 668 (mV) The Gain and Offset for the M051 series are -1.75 (mV/℃) and 724 (mV), respectively, as shown in the figure below. Thus, we can use the temperature sensor calculation formula 668 = (-1.75) * Temperature + 724 and obtain Temperature = (668 – 724) / (-1.75) = 32 (℃)
Häufig gestellte Fragen / Can each channel of ADCs in the NuMicro® family microcontrollers with the same module be sampled simultaneously?
https://www.nuvoton.com.cn/support/technical-support/faq/d776fbfc-04f1-11ea-b113-05daf7eedf03/
Can each channel of ADCs in the NuMicro® family microcontrollers with the same module be sampled simultaneously? 1486027960325 No, simultaneous sampling of multiple channels are not supported by ADCs with the same module. However, the NuMicro® M0519 series supports two ADC modules that can simultaneously sample channels from different modules. For example, in the NuMicro® M451 series: When AVDD works at 4.5V - 5.5V, the maximum ADC clock frequency is up to 20 MHz, and it needs 20 ADC clocks to complete an A/D conversion. Thus, the minimum sampling frequency interval for each channel of the ADC is 1 uS.
Häufig gestellte Fragen / Can FMC instructions be used to adjust the Data Flash size in the program?
https://www.nuvoton.com.cn/support/technical-support/faq/d79643de-04f1-11ea-b113-05daf7eedf03/
Can FMC instructions be used to adjust the Data Flash size in the program? 1493179003648 For the NuMicro® series that can set the Data Flash size, usercanmodify DFEN (Config0 [0]) to enable or disable Data Flash,and modify DFBADR (Config1) to set the base address of Data Flash and adjust the Data Flash size. After the setting, the program needs to write 1 to CHIPRST (SYS_IPRST0 [0]) for software chip reset. With software chip reset, the new setting will take effect. Sample code is as follows: uint32_t au32Config[2]; SYS_UnlockReg(); FMC_Open(); FMC_ReadConfig(au32Config, 2); FMC_ENABLE_CFG_UPDATE(); au32Config[0] &= ~0x1; au32Config[1] = u32DFBA; FMC_WriteConfig(au32Config, 2) SYS_ResetChip();
Häufig gestellte Fragen / What are ISP, ICP and IAP?
https://www.nuvoton.com.cn/support/technical-support/faq/d3e8cc25-04f1-11ea-b113-05daf7eedf03/
What are ISP, ICP and IAP? 1423469461294 ISP stands for "In System Programming". The target chip runs the boot/loader code of LDROM through the peripheral interface such as USB/UART/SPI/I²C/RS-485/CAN... to update the internal APROM, Data Flash and User Configuration Word. ICP stands for "In Circuit Programming". PC runs the software “NuMicro ICP Programming Tool” through the SWD (serial wire debug) port of Nu-Link circuit to update the internal APROM, LDROM, Data Flash and User Configuration Word of the target chip. IAP stands for In-application-programming and it is a function for user to switch the code executing between APROM and LDROM without reset. User can enable the IAP function by re-booting chip and setting the chip boot selection bits in CBS (CONFIG0[7:6]) as 2 or 0. When chip boots with the IAP function enabled, any other page within the executable range of code can be mirrored to the first page of executable code (0x0000_0000~0x0000_01FF) any time.
Häufig gestellte Fragen / Does the NuMicro™ Cortex-M0/M4 Series support the code protected for user's program code? How to unlock the LOCK bit on the User Configuration Word?
https://www.nuvoton.com.cn/support/technical-support/faq/d3ee2358-04f1-11ea-b113-05daf7eedf03/
Code Protection Does the NuMicro™ Cortex-M0/M4 Series support the code protected for user's program code? How to unlock the LOCK bit on the User Configuration Word? 1423471326414 Yes, the LOCK bit is provided on the User Configuration Word to protect user's program code. When this LOCK bit is set, all of the data on the Flash memory will be read back as 0xFFFFFFFF. At this time, the "Whole Chip Erase" operation should only be performed for the target chip to unlock the LOCK bit.
Häufig gestellte Fragen / What is the page size of erase and data size to program for Flash memory?
https://www.nuvoton.com.cn/support/technical-support/faq/d3f2b73b-04f1-11ea-b113-05daf7eedf03/
What is the page size of erase and data size to program for Flash memory? 1423471655304 It is 512 bytes per page to erase for Cortex-M0 and 2k bytes for Cortex-M4. The data size for per data to program is 4 bytes (a word).
Häufig gestellte Fragen / What series in theNuMicro Coretex™ - M0 Family supports UID (Unique ID)? What to do if the user wants to use a unique ID to encrypt a chip?
https://www.nuvoton.com.cn/support/technical-support/faq/d3f74b1e-04f1-11ea-b113-05daf7eedf03/
What series in theNuMicro Coretex™ - M0 Family supports UID (Unique ID)? What to do if the user wants to use a unique ID to encrypt a chip? 1388505600000 Er kann die UID (eindeutige ID) zur Verschlüsselung aller Chips in der NuMicro-Familie mit Ausnahme der NUC100AN- und NUC100BN-Serie nutzen. Im Hinblick auf UIDs (Unique ID) integriert Nuvoton diese wie oben erwähnt in die Chips; die UIDs aller Chips unterscheiden sich voneinander. Der Anwender kann einige Bewertungsregeln im Firmware-Code bereitstellen und so verhindern, dass der Originalcode gestohlen und das Produkt reproduziert wird.
粤公网安备 44030502010001号