Search found 207 matches

by a_ziliu
31 May 2021, 15:54
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: What interface needs to be reserved in the NuMicro® family microcontroller for programming, mass production, and program
Replies: 0
Views: 829

What interface needs to be reserved in the NuMicro® family microcontroller for programming, mass production, and program

The NuMicro® Cortex®-M family chips are programmed through the SWD interface (ICE_DAT, ICE_CLK). In circuit design, the VDD, VSS, ICE_DAT, ICE_CLK, and nRESET pins must be reserved for mass production, programming and debugging. Taking NUC121 as an example, as shown in Figure 1, the five pins must b...
by a_ziliu
31 May 2021, 15:53
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: Does the NuMicro® Cortex®-M family chip support the I2C Monitor function?
Replies: 0
Views: 859

Does the NuMicro® Cortex®-M family chip support the I2C Monitor function?

Currently, in the NuMicro® Cortex®-M family of chips, except the Mini57, the USCI in the NUC121, NUC125, NUC126, M0564, and M480 series all support I2C monitoring. If you use a chip other than the above series that requires I2C monitoring, refer to the Nu-Bridge sample code and use GPIO Interrupt. F...
by a_ziliu
31 May 2021, 15:53
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: What needs to pay attention on the circuit design when selecting boot from Internal SPI Flash mode in NUC505?
Replies: 0
Views: 860

What needs to pay attention on the circuit design when selecting boot from Internal SPI Flash mode in NUC505?

The NUC505 is designed to set the booting mode according to the four pins, PB.4, PB.3, PA.10, and PA.9, as shown in the table below: When using Boot from SPI Flash mode, if the PA.9 status is low (i.e. Boot from USB) before power-on, the code may be cleared. It is suggested that a pull-up resistor i...
by a_ziliu
31 May 2021, 15:53
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: How to calculate the necessary HXT accuracy(ppm) for a full speed USB device?
Replies: 0
Views: 844

How to calculate the necessary HXT accuracy(ppm) for a full speed USB device?

There is an accuracy parameter (ppm) for any external crystals, for example 12M+/-100ppm, and there are independent clock source from full speed USB device and hos. USB SPEC. has defined a frame timer range to be 500ppm. Below is USB2.0 Spec. definition about frame timer range in ppm. Nuvoton has no...
by a_ziliu
31 May 2021, 15:52
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: How to use Low Power UART (LP UART) baud rate compensation?
Replies: 0
Views: 874

How to use Low Power UART (LP UART) baud rate compensation?

User can set the bit to be compensated using BRCOMP (UART_BRCOMP [8: 0]) and set the positive or negative compensation using BRCOMPDEC (UART_BRCOMP [31]) to increase or decrease the bit data time by 1 UART clock. Low Power UART register Example UART peripheral clock = 32.768K (LXT) UART Baud rate = ...
by a_ziliu
31 May 2021, 15:52
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: Why Keil cannot be used to program APROM?
Replies: 0
Views: 881

Why Keil cannot be used to program APROM?

To program code into APROM, please follow steps below to do preliminary troubleshooting first: Check code size Code size (Code + RO data) Displayed on Build Output after compilation Check if the APROM in the chip is sufficient. In the Keil main window, click Project→Options for Target→Device→App Fla...
by a_ziliu
31 May 2021, 15:51
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: In the interrupt vector table, can the interrupt vector with a smaller number interrupt the interrupt vector with a larg
Replies: 0
Views: 837

In the interrupt vector table, can the interrupt vector with a smaller number interrupt the interrupt vector with a larg

In the case of different NVIC priorities, the interrupt vector with the higher NVIC priority can interrupt the interrupt handler being executed. In the case of the same NVIC priority, the interrupt vectors in the interrupt handler cannot interrupt each other. However, when the interrupt flag is set ...
by a_ziliu
31 May 2021, 15:51
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: What needs to pay attention on entering Power-down mode in an interrupt handler?
Replies: 0
Views: 865

What needs to pay attention on entering Power-down mode in an interrupt handler?

If the NVIC setting is default, entering Power-down mode in an interrupt handler will cause the failed to wake up condition. By default, all interrupts have the same NVIC priority, and there is a conflict between “after entering Power-down mode at interrupt A, the MCU needs to wait for interrupt B t...
by a_ziliu
31 May 2021, 15:51
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: When to use GPIO interrupt and external interrupt?
Replies: 0
Views: 864

When to use GPIO interrupt and external interrupt?

It takes different time for the GPIO interrupt and external interrupt to find trigger sources. Therefore, external interrupts are used in special urgent events, and a set of GPIO interrupt is shared in common events. In the M051, for example, the 16 pins of P0 [7: 0] and P1 [7: 0] share the GP01_INT...
by a_ziliu
31 May 2021, 15:50
Forum: Nuvoton Cortex-M0/M23 MCU
Topic: How to determine a GPIO interrupt trigger source?
Replies: 0
Views: 884

How to determine a GPIO interrupt trigger source?

For the M051 series in the NuMicro® family, for example, the GP01_INT interrupt handler is shared by 16 pins of P0 [7: 0] and P1 [7: 0]. After an interrupt is triggered and the GP01_INT interrupt handler is entered, it is needed to determine a trigger source for the corresponding action. Table 1 M05...