Suche
Häufig gestellte Fragen / What are the characteristics of cores (processors) in the NuMicro® family?
https://www.nuvoton.com.cn/support/technical-support/faq/d655fbf1-04f1-11ea-b113-05daf7eedf03/
What are the characteristics of cores (processors) in the NuMicro® family? 1467019045963 The NuMicro® family adopts the ARM® Cortex®-M series 32-bit processors, the Cortex®-M0 series and Cortex®-M4 series, to meet needs of different applications and performance. Taking the NuMicro® Cortex®-M0 NUC230/240 series and the Cortex®-M4 NUC442/472 series as examples, the following table shows their supported functions and features: Cortex®-M0 NUC230/240 Cortex®-M4 NUC442/472 Architecture ARM v6M ARM v7ME DMIPS/MHz 0.9 1.25 Interrupts 32 172 Interrupt Priorities 4 16 Breakpoints / Watchpoints 4/2 6/2 MPU NO Yes Single Cycle Multiply Yes Yes Hardware divider No Yes Wakeup Interrupt Controller Yes Yes Support Bit-banding Yes (GPIO bit banding) Yes Single Cycle DSP/SIMD No Yes Float Point Hardware No Yes
Häufig gestellte Fragen / How to achieve the highest sampling frequency when using ADC sampling?
https://www.nuvoton.com.cn/support/technical-support/faq/d680405c-04f1-11ea-b113-05daf7eedf03/
How to achieve the highest sampling frequency when using ADC sampling? 1467351197647 When using ADC sampling, the ADC has a different clock source frequency limit based on the voltage supplied by AVDD. The user can select the fastest clock source according to the system analog voltage to achieve the maximum ADC sampling frequency. For example, in the NuMicro® NUC442/472 series: When AVDD works at 4.5 -5.5V, the highest clock source frequency limit that can be entered is 16 MHz. The users can select the PLL frequency as the clock source, and then obtain the fastest clock source through a divider. The PLL frequency is set to 80 MHz and divided by 5 through a divider. Accordingly, the clock source that can be obtained is 16 MHz, and the highest ADC sampling frequency achieved is 800 kSPS.
Häufig gestellte Fragen / When the RLS (Receive Line Status) interrupt occurs during UART data transmission, how to handle PEF, FEF and BIF flags that may cause interrupt?
https://www.nuvoton.com.cn/support/technical-support/faq/d684d43f-04f1-11ea-b113-05daf7eedf03/
When the RLS (Receive Line Status) interrupt occurs during UART data transmission, how to handle PEF, FEF and BIF flags that may cause interrupt? 1467351693263 Since the three flags are saved with UART data in the FIFO, these flags must be cleared by writing 1 to them before the data is read out. This can avoid FIFO level changes, causing the PEF, FEF and BIF saved in the upper layer of FIFO unable to be cleared. If the data has been read out but the three flags are not cleared, these flags will remain in the FIFO. The next time the same level FIFO data is read out, the RLS interrupt may inadvertently occur due to these old flags.
Häufig gestellte Fragen / How to enable DSP (Digital Signal Processing) function in the NuMicro® Cortex-M4 series?
https://www.nuvoton.com.cn/support/technical-support/faq/d692de08-04f1-11ea-b113-05daf7eedf03/
How to enable DSP (Digital Signal Processing) function in the NuMicro® Cortex-M4 series? 1471517655014 The NuMicro® Cortex-M4 series BSP (Board Support Package) includes the Cortex®-M4 DSP library which is comprehensive and easy to use and develop directly. Besides, the calculation algorithms in the library have been optimized to effectively reduce the operation time. To enable DSP with Keil: After starting Keil, select Target Options, go to the C/C++ tab page, and enter “ARM_MATH_CM4=1” in the Define field. Add “arm_cortexM4lf_math.lib” to the Library (\Library\CMSIS\Lib\ARM). Include the arm_math.h file to the main.c. After that, user can call the DSP library in the main.c. To enable DSP with IAR: After starting IAR, select Options, go to the General Options page, and enable the Use CMSIS and DSP library under the Library Configuration page. Add “arm_cortexM4lf_math.lib” to the Library (\Library\CMSIS\Lib\ARM). Include the arm_math.h file to the main.c.
Häufig gestellte Fragen / There are three operating modes for USB Device endpoints, including Auto-validation mode, Manual-validation mode, and Fly mode. What are their functions?
https://www.nuvoton.com.cn/support/technical-support/faq/d69798fb-04f1-11ea-b113-05daf7eedf03/
There are three operating modes for USB Device endpoints, including Auto-validation mode, Manual-validation mode, and Fly mode. What are their functions? 1471520200804 Auto-validation mode: After IN-token is received, data can only be sent when the data payload is equal to the Endpoint Maximum Packet Size (EPMPS). If a user needs to send a short packet of the remaining data in the end of data transmission, the user can set the SHORTTXEN of USBD_EPxRSPCTL[6] to 1. The controller will send data to the host in the next IN-token. This mode requires little CPU processing. Most of the processing is completed by the USB Device controller. This mode can be selected for use when the data payload sent to the host is always equal to the Endpoint Maximum Packet Size (EPMPS). Manual-validation mode: Each time IN-token is received, CPU needs to write data size and number for data transfer. That is, this mode requires CPU processing each data transfer.
Häufig gestellte Fragen / What module does the VBAT pin primarily supply power to?
https://www.nuvoton.com.cn/support/technical-support/faq/d6d0f89c-04f1-11ea-b113-05daf7eedf03/
What module does the VBAT pin primarily supply power to? 1472452413700 The VBAT pin primarily supplies power to the RTC module and external low-speed oscillator (LXT), as shown below: If the RTC module is not supplied power by VBAT, its status is uncertain, causing power consumption and affecting the performance of standby power. LXT cannot be used as well because there is no power supply. When calling CLK_WaitClockReady to check if the LXT function is stable during programming, it will get stuck and cannot continue.
Häufig gestellte Fragen / When using SWD (Serial Wire Debug) in the NuMicro® Cortex M0/M4 series, why will power consumption not be decreased if entering Power-down mode?
https://www.nuvoton.com.cn/support/technical-support/faq/d6d5b38f-04f1-11ea-b113-05daf7eedf03/
When using SWD (Serial Wire Debug) in the NuMicro® Cortex M0/M4 series, why will power consumption not be decreased if entering Power-down mode? 1472452933018 In Debug mode, the SWD architecture in the NuMicro® Cortex M0/M4 series needs to keep communicating with the host. Therefore, when debugging, the Cortex® M0/M4 core would disable the Power-down mode.
Häufig gestellte Fragen / How to use the Schmitt Trigger function when GPIO is switched to I²C mode?
https://www.nuvoton.com.cn/support/technical-support/faq/d6da9592-04f1-11ea-b113-05daf7eedf03/
How to use the Schmitt Trigger function when GPIO is switched to I²C mode? 1472453466632 When GPIO is set to I²C mode, Schmitt Trigger is disabled by default. Users have to set GPIO Input Type Control to enable the Schmitt Trigger. For example, in the NUC240 series, GPA_MFP8 and GPA_MFP9 need to be set to I²C mode. Then, enable the Schmitt Trigger of GPA_TYPE8 and GPA_TYPE9.
Häufig gestellte Fragen / How to put data in the Flash fixed address when compiling the program?
https://www.nuvoton.com.cn/support/technical-support/faq/d6df5085-04f1-11ea-b113-05daf7eedf03/
How to put data in the Flash fixed address when compiling the program? 1472454302103 In the Keil development environment Use the following: const uint32_t Buf[1] __attribute__((at(0x1000))) = {0x12345678}; Write data byte 0x12345678 into the address 0x1000. In the IAR development environment First, declare the constant SIG, and put the constant content 0x12345678 at the address specified by “Flash_Address”: /* Declaration of signature. Location of it is specified in scatter file. */ const uint32_t SIG @ "Flash_Address"; /* Definition of SIG signature. */ const uint32_t SIG = 0x12345678; In the link file(*.scf) declare the address specified by Flash_Address. In the following example, specify "Flash_Address" as 0x1000: place at address mem:0x1000 {section Flash_Address };
Häufig gestellte Fragen / When different data is put on the same Flash Page, how to change a few individual data without affecting other data?
https://www.nuvoton.com.cn/support/technical-support/faq/d6e43288-04f1-11ea-b113-05daf7eedf03/
When different data is put on the same Flash Page, how to change a few individual data without affecting other data? 1472455032281 The memory architecture used in the NuMicro® microcontroller (MCU) is Flash and its operating procedure can be divided into the following three parts: Erase Page Program Flash Read Verify Flash To update a few data, you need to first backup data on the entire Page to RAM or Flash on different Pages that has been pre-erased, modify the data you want to change, and then write the modified data back into the memory through the following procedure: Erase Page Program Flash; write the modified data into the Flash Read Verify Flash; compare and verify the Flash value with the modified value
粤公网安备 44030502010001号