Search

Selected option

Search Results

SearchTool , find 47 items
  • Sort by
  • Most recent
  • Popularity
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
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
Watch time - 3:6
低功耗8051產品低功耗運行模式特色介紹。ML51系列工具及應用推薦。 - 更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC 購買管道:https://direct.nuvoton.com/tw/ml51-series/ 聯絡我們: SalesSupport@nuvoton.com
Training  Tool  Learning  Watch time - 5:29
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use Wi-Fi with Mbed OS on NuMaker-IoT-M487 development board. First, open Chrome browser, enter the URL https://ide.mbed.com Please make sure that NuMaker-IoT-M487 board already selected in the upper right corner after you log in. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Click the “New” on the upper left, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template field, select the "NuMaker WiFi TCP Example" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. Click on “mbed_app.json” to open it. In order to use Wi-Fi, you have to configure SSID and password to match your Wi-Fi access point setting. In the mbed_app.json file, the default Wi-Fi security set to WPA and WPA2 in “nsapi.default-wifi-security” field. Please modify the field “nsapi.default-wifi-ssid” to your Wi-Fi SSID Then modify “nsapi.default-wifi-password” to your Wi-Fi password. Click on “Compile” to build it. It is in compiling, please wait a moment. Then you can see the last message is “Success!” at the bottom of this page. The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-wifi-tcp.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx. Then use your terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate, 8 bits, 1 stop bit, none parity, and no flow control settings. Then “Open” it. Press Reset button on board to run again. You can see the connection messages printed on terminal. It shows the board’s IP address obtained from the Wi-Fi access point, sends a TCP/HTTP connection to server, and the result of return. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to know more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #en
Training  Tool  Learning  Watch time - 3:51
Hello everyone, I am the principal engineer of Nuvoton Technology, Morgan. Today, I will show you how to use Mbed OS on the NuMaker-IoT-M487 development board to control LED and buttons. First, open Chrome browser, enter the URL https://ide.mbed.com. Please make sure that NuMaker-IoT-M487 board already selected in the upper right corner after you log in. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. Then click the “New” on the upper left, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template field, select the "NuMaker GPIO Interrupt with Debounce Setting" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. Click on “main.cpp”, this sample code uses SW2 button for demonstration. Click on “Compile” to build it. It is in compiling, please wait a moment. Then you can see a lot of messages at the bottom of the page. The last message is “Success!” The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or the folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we have to connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s head back to the download folder where you can see the binary firmware file (NuMaker-mbed-GPIO-Interrupt.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. Next step is to press the SW2 button on the board to toggle LED. You can see the reaction of each press. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to know more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #en
Training  Tool  Learning  Watch time - 8:57
Hello everyone, I am the principal engineer of Nuvoton Technology, Morgan. The development board we are using today is Nuvoton’s NuMaker-IoT-M487. It is powered by the NuMicro M487 microcontroller with Arm Cortex-M4 core, built-in RJ45 Ethernet, and Wi-Fi module allowing users to connect to clouds by wire or wirelessly. It supports several RTOS including Arm Mbed OS, Amazon FreeRTOS, and AliOS Things. Today, I will show you how to use Mbed OS on the NuMaker-IoT-M487 development board. First, open Chrome browser, enter the URL https://os.mbed.com to register an account if you don’t have one. Move the mouse cursor to the human icon in the upper right corner then click “Log in or Sign up” or click “Sign up for free” directly. Then click “Sign up” Fill in your e-mail address and relevant information, and finally click Sign up. Check your mailbox to receive the certification letter and authorize it. Then let’s log in to use the online compiler environment. Move to the human icon in the upper right corner, and then click “Log in or Sign up”. And enter your account and password. After a successful login, it will return to the first page and then click “Compiler” on the left side of the human icon. It will lead us to the online compiler web page. The following demonstration is all operated on this page Click “No device selected” in the upper right corner to add and select Nuvoton’s NuMaker-IoT-M487 development board. It opens the “Select a Platform” page. We click the button, show “Add Board” with green “+”, in the lower-left corner. Next, it shows the page, let us choose a board. Scroll down to find NuMaker-IoT-M487, and click it. It opens the NuMaker-IoT-M487 board page (https://os.mbed.com/platforms/NUMAKER-IOT-M487/). Scroll down the page to find the button “+Add to your Mbed Compiler”, and click it. Click “Compiler” on top of the page to return to the online compiler environment. If the “NuMaker-IoT-M487” small icon appears in the upper right corner, you can start to import a sample code. Otherwise, click “No device selected” again. At this time, you can see the NuMaker-IoT-M487 icon already in the “Select a Platform” dialog box, click the icon to select it and then click “Select Platform” in the upper right corner. It returns to the online compiler page, and the “NuMaker-IoT-M487” icon shows in the top right corner. You can now start to import a sample code. First, click “New” on the top left side, a small “Create new program” dialog box appears. The “Platform” selects “NuMaker-IoT-M487” automatically. In the “Template” field, please select “mbed OS Blinky HelloWorld” example code, click OK. You can see the sample project has been loaded on the page, click “main.cpp” to show the source code. Let’s add a printf() function to print out a string in the main program. Check if statements are correct, save it, and click “Compile” to build code. Now it’s compiling, let’s wait for a moment. And you can see a lot of messages at the bottom of the page. The last message is “Success!” The browser will download the binary firmware file directly after a successful compiling. It will be saved in a default download folder or any folder based on your browser setting. In Chrome, you can click download file and select “Show in folder”. Then we need to connect the NuMaker-IoT-M487 USB port to your computer and make sure the onboard LED lights up. Let’s head back to the download folder where you can see the binary firmware file (mbed-os-example-blinky.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. After the copy is completed, the firmware starts to execute. One LED on board starts blinking. To see the printout message, go on the following steps. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the demonstration, the “Nu-Link Virtual Com Port” is COMx. Then use your terminal tool of choice. Here we use Putty. Open the COMx port with 9600 baud rate, 8 bits, 1 stop bit, none parity, and no flow control settings. You can see “Hello World!” printed in the terminal. That’s all for this tutorial. Thank you for watching. If you want to know more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 Contact us: SalesSupport@nuvoton.com #Tool #Training #Learning #Intermediate #en
Watch time - 6:17
本視頻介紹如何使用NuMicro ICP Programming Tool 達到線上批量程式設計目標板,並實際演示操作流程‧ NuMicro ICP Programming 介面簡單、易於操作,是開發、量產過程的得力助手。
Watch time - 6:42
本視頻介紹如何使用NuMicro ICP Programming Tool 達到脫機批量編程目標板,並實際演示操作流程‧ NuMicro ICP Programming 介面簡單、易於操作,是量產過程的得力助手。
This website uses cookies to ensure you get the best experience on our website. Learn more
OK