Microcontrollers(639)

Smart Home Audio(325)

M252LD2AE

  • Training  Tool  Learning  Watch time - 5:9
    Hello everyone, I am Chris, the field application engineer from Nuvoton Technology. Today, I will introduce the application and principle of programmable seriel I/O aka PSIO on M251/M252. The programmable serial I/O of NuMicro M251/M252 series can generate arbitrary waveforms and combine them to achieve data transmission and reception of specific serial communication protocols. Of course, standard serial communication can also be achieved, such as UART SPI I2C Usually, it is common to use Timer+GPIO to achieve these specific communication protocols, but it is more complicated and requires frequent CPU intervention. When we use PSIO, this not only simplifies the complexity of the operation but also reduces the burden on the CPU. The saved CPU performance could be distributed in other places. Since all hardware operations do not require software intervention, the timing control is more precise. The principle of PSIO is to use a slot controller to control the pin input and output or determine the state, and it can also control the duration of these states. Each slot controller has eight slots, which can be used as eight settings, and the registers corresponding to each slot can access the data that needs to be input and output, and can also set the time for the current pin to maintain this state. Each slot can reach a checkpoint, usually 1 to 1, 2 to 2, 3 to 3, and so on. Each checkpoint can set the pin status of the corresponding slot within the corresponding time. Next, let’s take a look at a simple output-only example In the initial stage, we first set the state of the pin to be high before SLOT has started, so the output is high Then when the Slot controller receives the start signal, SLOT0 is set to output low level according to the setting of CP0 and waits for the time of SLOT0 to expire. Then SLOT1 is set to output low level according to the setting of CP1 and waits for the time of SLOT1 to expire. And so on, followed by SLOT2 output low level SLOT3 low level SLOT4 high level SLOT5 high level After SLOT5, since SLOT6 is not set, the waveform of the protocol can be completed with only six slots Between the time of the next data transmission, we set the interval low, so the output is low at this time Users can complete different protocols according to these simple operations. In the related resources section, we have provided two PSIO application notes. There are two protocol examples with more detailed operations and descriptions. If you want to know more details about PSIO, please download it from the URL in the video. Several sample codes of different protocols are also provided in BSP. That’s all for this tutorial. Thank you for watching it. Welcome to subscribe to our channel. If you want to know more information, please contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
  • Training  Tool  Learning  Watch time - 5:40
    Hello, everyone! I'm Chris, Field Application Engineer from Nuvoton Technology. Today, I will introduce you how to design NuMicro M251/ M252 application circuit. Let's start with the power application circuit of M251/M252. The external power should add 10uF and 0.1uF decoupling capacitors, and the capacitor should be placed close to the source of the external power supply. Before the external power enters the VDD/VDDIO/VBAT of the IC, 0.1uF bypass capacitors should be added separately, and the capacitors should be placed close to the IC. Before the external power enters the AVDD, the bead should be connected in series for filtering, and then 1uF, 0.1uF, and 0.01uF bypass capacitors should be added. The bead and capacitors should be placed close to the IC. Before connecting AVDD to VREF, first, connect the bead in series for filtering, and then add 2.2uF, 1uF, and 470pF bypass capacitors. The bead and capacitors should be placed close to the IC. A 1uF bypass capacitor should be added to the internal LDO power supply of the IC, and the capacitor should be placed close to the IC. AVSS and VSS should be connected in series with a bead for filtering. USB_VBUS should be connected in series with a 10-ohm resistor to enhance the ability of USB to resist EFT interference. USB_D+ and USB_D- should be connected in series with 27-ohm resistors for impedance matching. USB_VCC33_CAP needs to add a 1uF bypass capacitor. ICE_DAT and ICE_CLK should be connected to 100K ohm pull-up resistors. The two ends of the high-speed and low-speed crystal oscillators should be connected with an equivalent capacitance of 20pF to VSS. I2C_SCL and I2C_SDA should be connected to 4.7K ohm pull-up resistors. nRESET should be connected to a 10K ohm pull-up resistor and a 10 uF capacitor to VSS. The internal LDO power supply of the IC needs to add a 1 uF bypass capacitor, and the capacitor should be placed close to the IC. In addition, reference circuits for EBI, UART, SPI, and Audio are provided. VDD is connected to 4~32 MHz crystal oscillator, POR33, Power On Control, 5V to 1.5V LDO, IO Cell... and other circuits inside the IC. Among them, GPIO PF.4 to PF.6 and PA.0 to PA.5 output, the high level is equal to VDD. Vbus is connected to the USB 1.1 PHY inside the IC. This 1.5V regulator will provide 1.5V for Digital Logic, SRAM, Flash, POR15, LIRC, MIRC, HIRC... and so on. Vbat is connected to internal 1.5V RTC_LDO and provides 1.5V voltage for RTC, 32.768 kHz crystal oscillator, IO Cell PF.6. VDDIO is connected to some IO cell for use, and the output high level of PA.0 to PA.5 is equal to VDDIO. AVDD is connected to the analog circuit inside the IC, and VREF is the reference voltage of the analog circuit. That's all for the hardware design of the NuMicro M251/M252 series instruction. Thank you for watching it. If you have further questions, please contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
  • Training  Tool  Learning  Watch time - 4:26
    Hello everyone, I am Chris, the field application engineer from Nuvoton Technology. Today I will introduce the power modes of the M251/M252 series microcontroller. The M251/M252 series has multiple power modes. The differentiation is based on power consumption, wake-up time, the operable CPU, and peripherals. In normal mode, the CPU is running normally. In Idle mode, only the CPU clock is disabled while other peripherals work as usual. Normal mode and idle mode can be divided into high-efficiency high-speed PL0 mode and low-power low-speed PL3 mode according to CPU operating speed. We should note that in the low-speed PL3 mode, only the clock source of the CPU and peripherals is 32.768 or 38.4 kHz can run. In power-down mode, there are three types according to power consumption. The first is NPD (Normal Power Down Mode). The CPU and high-speed peripherals stop running, and only the low-speed peripherals can work normally. The second is FWPD (Fast Wake Up Power Down Mode), which is the fastest wake-up of the three power-down modes but consumes more power. The third is DPD (Deep Power Down Mode), which consumes the lowest power among the three power-down modes, but the data in the RAM cannot be retained, and the wake-up speed is the slowest. Specific peripherals or pins can only activate the wake-up. For power consumption and wake-up time, we list the corresponding data. Users can choose the most suitable power mode according to the required power consumption and wake-up time. We need to note that FWPD mode will consume more power in the power-down mode because this mode wakes up the fastest. The DPD mode is the least power consumption, but the longest wake-up time., Also, normal mode is a normal working mode, so there is no need to wake up. The time unit of the idle mode is different from the power-down mode, which is five cycles. The length of a cycle is determined according to the operating frequency used by the system. In the related resources section, we provide application notes for power management, which have more detailed operations and descriptions. If you want to know more, please download it from the URL in the video. There are also various power mode entry and wake-up methods in the BSP package; you can also refer to and use it. That’s all for the power modes introduction. Thank you for watching it. Please subscribe to our channel for more video resources. If you want to know more information, please contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
  • Product  Learning  Watch time - 14:8
    For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com #Product #Learning #Basic #en 0:00 簡介 0:29 Nuvoton Low Power Microcontroller Family 1:24 NuMicro M251 Series Overview 3:31 M251 & M252 Low Power Series 4:08 M251 Series Remarkable Features 7:14 M251/M252 Power Mode 9:37 I NuMicro MCU Applications 12:09 Development Tools
  • Training  Tool  Learning  Watch time - 3:24
    Hello everyone I am Chris, the Field Application Engineer from Nuvoton Technology. Today I will introduce the programming and debugging tool, called NuLink-Gang, and NuLink2-Pro. And I will show you in what kind of situation you can utilize the tools. During system development, Nuvoton provides three IDE interfaces: KEIL, IAR, and NuEclipse for user to develop source code. When programming the Chip, Nuvoton provides ICP programming Tool in PC and the debugger Nu-Link2-Pro for users to perform debugging and programming function. User who uses all of the Nuvoton Nu-Maker boards series can develop through the Nu-Link2-Me debugger and programmer; it’s attached to the board. During the mass-production stage, there are 2 modes for programming the target chip. One is online programming and the other is offline programming. At first, in online programming mode, user can use ICP programming Tool and a Nu-Link2-Pro to program a target chip. Besides, if it needs to program several chips at one times, the Nu-Link Command Tool supports program multiple develop board by several Nu-Link2-Pro. Nu-Link2-Pro also supports drag-and-drop Flash programming. User can intuitively complete the programming action. Nu-Link2-Pro In offline programming mode, user can pre-store the programming file in SPI flash, USB flash drive, or SD card. When user wants to program the target chip, pressing the programming button on Nu-Link2-Pro to complete the programming action. If it needs a large number of ICs to be programming, it recommends using the Nu-Link-Gang programmer. Nu-Link-Gang programmer can perform offline programming on four different chips at a time, significantly increasing the programming efficiency. Besides, Nu-Link-Gang programmer can also use the control bus to connect with an automatic programming machine for automatic programming. In the system upgrade, Nu-Link2-Pro also provides five standard communication interfaces such as SPI, I2C, UART, RS485, and CAN for transmission, which is convenient for users to upgrade the system. That’s all for the introduction of Nuvoton’s programming and debugging tool, NuLink-Gang, and NuLink2-Pro. Thank you for watching it. If you want to know more details, please contact us! Thank you. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
  • Training  Tool  Learning  Watch time - 2:21
    Hello everyone! I am Chris, the Field Application Engineer from Nuvoton Technology. Today, I will introduce how to run a simple sample code on NuMicro M251/M252 series microcontroller. First, we connect the M251/M252 NuMaker development Board to the computer. Then click the M251/M252 BSP folder, click the Sample Code folder, template folder, Keil folder, and finally open the Template project file. What we are going to do is running a simple GPIO Toggle LED Sample Code. Introduce the main program briefly. First, set GPIO PB14 to Output Mode. After writing a small loop, set PB14 to reverse. Finally, set CLK_SysTickDelay to 300,000 microseconds (uSec). Before Rebuild, we must add the GPIO Source Code to the Library, find the corresponding Source Code and load it, and press Rebuild after it is complete. After the Rebuild, press Load and program the Code into the IC. When programing is over, press the reset button on the development board to confirm whether the LED lights are flashing on the board. That’s all for the tutorial of running sample code. Thank you for watching it. If you want to know more information, please feel free to contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com
This website uses cookies to ensure you get the best experience on our website. Learn more
OK