Search

Selected option

Search Results

find 68 items
  • Sort by
  • Most recent
  • Popularity
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
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:53
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to connect to AWS IoT service using MbedOS on NuMaker-IoT-M487 development board The sample code is on GitHub, the URL is https://github.com/OpenNuvoton/Mbed-to-AWS-IoT To avoid typos, use keyword “OpenNuvoton” to search on google. Find the Nuvoton on GitHub, and click it On the Nuvoton GitHub page, use AWS as keyword to search the sample code: Mbed-to-AWS-IoT Right click to copy the URL for later use. Then enter the URL https://ide.mbed.com After log in, make sure the NuMaker-IoT-M487 board has selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS”. There is detailed description of how to add a board. Click the “Import” on the left of menu bar. In the “Import Wizard”, click “Click here” Please paste or key in the sample code URL to “Source URL:”, Select Import as “Program” Click “Import Name”, the project name “Mbed-to-AWS-IoT” will be filled automatically. Then click “Import”. After sample code imported, click “mbed_app.json” to open it. To use Wi-Fi, you have to configure SSID and password to match your Wi-Fi AP setting. In NuMaker_IOT_M487 session of mbed_app.json file, find the “wifi-ssid” to set your SSID. It is at line 44. And then set password to “wifi-password”. It is at line 45. Save it and click “Compile” to build the code. It takes time to compile code, please wait. You need an AWS account to use AWS IoT Core service. To create a thing, a policy, and certificates, then put the certificate to MQTT_server_setting.h file in the sample code. The sample code has included a certificate provided by Nuvoton for test only, so that you can quickly operate this example. If you don’t have an AWS account, it is recommended that you apply for an account and use your certificates in the example to observe the connection status on AWS IoT console page. After completed, “Success” will appear in the compile output window. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder. In Chrome, you can click download file and select “Show in folder”. Then we connect the NuMaker-IoT-M487 USB port to your computer. Please find the virtual COM port assigned for NuMaker-IoT-M487 in Device Manager. In the tutorial, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate. And no flow control settings. Then “Open” it. Back to the folder you just download the binary firmware file (Mbed-to-AWS-IoT.NUMAKER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. You can see the messages on terminal. The device has acquired IP address from Wi-Fi AP, then successfully connect to AWS IoT and subscribe a topic. Then press button (SW2) on board to send a message. You can see the message published to server and received a message from server. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us “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 - 5:0
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to record and play audio with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. 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 left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker audio playback" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The sample code has three functions: 1. Record 10 seconds sound and save to Micro SD card 2. Play sounds stored in Micro SD card 3. Loopback. Record sound and play it immediately. Click main.cpp to open it. Then scroll down to line 421. You can see the functions calls here. It set to loopback only. Let’s do a little modification. Hit a key on console to start record 10 seconds then play it, and then do loopback. printf("Press a key to start recording 10 seconds..."); getchar(); demo_record(); demo_play(); demo_loopback(); Save it and click “Compile” to build the code. Compilation takes a while, please wait. After the compilation is completed, “Success” will appear in the compile output window. The browser downloads the binary firmware file directly after a successful compiling. It will be saved in a default download folder. In Chrome, you can click download file and select “Show in folder”. Please plug an earphone commonly used for mobile phone in headphone jack on NuMaker-IoT-M487 board. For demonstration, we use a headphone splitter cable to connect a microphone and a speaker. Do not put the microphone and speaker too close to avoid feedback howling. Then connect the USB port to your computer and make sure the onboard LED lights up. Back to the folder you just download the binary firmware file (NuMaker-mbed-AudioPlayback-example.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 favorite terminal tool. Here we use Putty. Open the COMx port with 9600 baud rate. And no flow control settings. Then “Open” it. Press “Reset” on board to run the firmware again. Press a key on terminal to start record. Speak for about 10 seconds, then your voice will be played. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us “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:55
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use SD card with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. 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 left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker SD-File-System with SD mode" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. LittleFS uses less memory, supports power failure protection. However, LittleFS is different from the FAT file system, so after uses littleFS, the SD card will be formatted as LittleFS. The sample code uses FAT file system as default. Just click “Compiler” to build the example. It is in compiling, please wait a moment. After the compilation is complete, “Success” will appear in the compile output window. The browser downloads 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”. Please insert a micro SD card into the card slot on the back of NuMaker-IoT-M487 board, then connect the USB to your computer and make sure the onboard LED lights up. Let’s back to the folder you just download the binary firmware file (NuMaker-mbed-SD-FileSystem-example.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 favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate And no flow control settings. Then “Open” it. Press “Reset” on board to run the firmware again. You can see the messages on terminal while accessing SD card. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us “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 - 4:32
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to control the temperature and humidity sensor with Mbed OS on NuMaker-IoT-M487 development board. For this tutorial, we choose the “Thermo 6 Click” board. It is a mikroBUS board with a MAX31875 sensor. It is easy to install on NuMaker-IoT-M487 board because it has a mikroBUS connector. The part of control code refer from community, it is easy and quick to be integrated into real application. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. 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 left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker Thermo-Sensor MAX31875 " for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The sample code includes the MAX31875 control from community, declares an I2C object used on NuMaker-IoT-M487’s mikroBUS and a sensor object with the I2C object. Get the temperature value then print it. No modification needed, just click “Compile” to build the sample code. It is in compiling, please wait a moment. Then you can see the last message is “Success!” after compile completed. The browser downloads 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”. Now is the time to install the Thermo 6 Click temperature and humidity sensor board on the mikroBUS, please pay attention to the correct orientation of the board. 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 folder you just download the binary firmware file (NuMaker-mbed-Sensor-MAX31875.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 tutorial, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate And no flow control settings. Then “Open” it. You can see the current temperature in Celsius and Fahrenheit printed on terminal. That’s all for this tutorial. Thank you for watching. Welcome to subscribe to our channel. If you want to get more information, please contact us at SalesSupport@nuvoton.com - For more information, please visit: 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:37
NuMaker-IoT-M487 (5) Connect to Pelion Device Management on Mbed OS Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to connect to Pelion Device Management with Mbed OS on NuMaker-IoT-M487 development board. Because the demonstration needs to store certificate, a MicroSD card is required. Open Chrome browser, enter the URL https://cloud.mbed.com/quick-start If you didn’t use Pelion Device Management before, you need to activate your Mbed account to access Pelion. Click the “Activate your free access”. Then log in your Mbed account. Click “Activate Pelion Device Management account“… Select the “Start the Connect Tutorial” Then scroll down to select NuMaker-IoT-M487 (WiFi) --After selected, scroll down and click “Get started”-- If you have completed previous tutorial, the NuMaker-IoT-M487 board has been selected in your Mbed account. Please click the “2.2” to import the Pelion Connect Tutorial into your Online Compiler. It shows the import dialog box, please click Import. Wait for a moment while importing the sample code. Click “mbed-os-example-pelion” project name, Then click “Pelion Device Management” on menu bar, select “Manage Connect Certificates” in pull-down menu to create a Pelion certificate. You need to provide API key. You can create a new one here. Log in your mbed account. Accept Then click New API key Assign an API Key name Click Close After created an API key, back to online compiler, Then click Manage Connect Certificate again. API Key automatically filled here. Click OK. Click “Create”, then assign a name for the certificate. Click OK. Click the certificate just created to select it, then click OK. The online compiler will automatically update source code with the selected certificate. Click “Pelion Device Management” on menu bar again, select “Apply Update Certificate”. An “Update Certificates” dialog box appears. Create it. Click Download Private Key and save it. Please make sure that NuMaker-IoT-M487 board already selected in the upper right corner. If not, please refer Nuvoton IoT Tutorial series “Get Started with Mbed OS” which has a detailed description of how to add a board. 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. Have to wait for a while. 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 (mbed-os-example-pelion.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 tutorial, 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, and the Endpoint Name. Then you can see the device resource in Pelion Device Management Portal. Log in Pelion Portal with the same Mbed account. Click Device directory. Find the device ID which should be registered state. Click the Device ID, it shows the Device details. Click RESOURCES, find the resource 3200/0/5501. Click the resource. Now, you can press keys in terminal to increase the counter. Or the counter automatically increase 1 by one second. The demo code also updates the counter to Pelion. You will see the value change in the graph. 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 - 4:13
NuMaker-IoT-M487 (6) Use Ethernet Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use Ethernet with Mbed OS on NuMaker-IoT-M487 development board. Open Chrome browser, and enter the URL https://ide.mbed.com to use the Mbed Online Compiler. After log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. 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 left of menu bar, a “Create new program” window will be displayed. You can see that the Platform has been set to NuMaker-IoT-M487. In the Template, select the "NuMaker Ethernet TCP" for this tutorial. Then click OK. Now you can see that the sample code has loaded on the page. The network default configuration is Ethernet, so we don’t have to manually modify mbed_app.json file. The sample code automatically acquires IP address, connects to web server and display the return message. Just click “Compile” to build the sample code. It is in compiling, please wait a moment. Then you can see the last message is “Success!” after compile completed. The browser downloads 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”. Connect the LAN cable in the network that does not require proxy settings. 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-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 tutorial, the “Nu-Link Virtual Com Port” is COMx. Then use your favorite terminal tool. Here we use Putty. Open the COMx port with 115200 baud rate 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, sends a simple 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 get 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:36
Hello everyone, I am Morgan, the principal engineer of Nuvoton Technology. Today, I will show you how to use 4G LTE or NB-IoT with Mbed OS on NuMaker-IoT-M487 development board. This tutorial needs a cellular expansion board to work with NuMaker-IoT-M487 development board. You can purchase the 4G LTE expansion board, RF-EC21A, on Nuvoton Direct (https://direct.nuvoton.com/communication-module/). Please install your 4G LTE SIM card in the mini SIM card slot on the back, and install the antenna at the MAIN connector on the front of the board. Although there is an NB-IoT expansion board, it requires an NB-IoT SIM card. Using LTE is more convenient. Just use your own LTE SIM card which has data plan. Then install the expansion board to the Arduino UNO connector of the NuMaker-IoT-M487 development board. Because the power consumption of the 4G LTE module is higher, it is not enough to supply power from USB only. You need to plug in the 5V/2A power supply. If you use NB-IoT module, no additional power supply is needed. We used “New” to select a template to create a new project. This time, we use the example on GitHub to create a new project. The URL of template used for this tutorial is https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example In chrome browser, enter the URL https://ide.mbed.com to use Mbed Online Compiler environment. After you log in, make sure that NuMaker-IoT-M487 board already selected in the upper right corner. 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 second option “Import” on the upper left. In the Import Wizard, click “Click here” On the “Source URL:”, enter the tempalte URL https://github.com/OpenNuvoton/NuMaker-mbed-Cellular-example . Then move mouse cursor to “Import Name:” and click it, the Project name will be automatically fill in. Then click “Import” button. Now you can see that the sample code has loaded. Depending on the cellular module used, the configuration may need to be modified. Click on “Readme.md” to open it. It lists configurations for supported cellular modules. Because the tutorial uses RF-EC21A expansion board which includes a Quectel EC21 LTE module, let’s check and modify the configuration in mbed_app.json file. Click the “mbed_app.json” file to open it. It is a JSON file to customize compile time configuration parameters in Mbed OS. The “*” (asterisk) in “target_overrides” session indicates all development boards are applicable. You can set in the designated board session, so the settings are only applicable to the specified board. The default mbed_app.json file in the example has configured for RF-EC21A. Such as, "target.network-default-interface-type" has set to "CELLULAR" for cellular connection. Both "lwip.ppp-enabled” and "lwip.tcp-enabled" set to true. Use generic AT3GPP driver for RF-EC21A ("GENERIC_AT3GPP.provide-default": true) And the RF-EC21A UART connects on Arduino D0/D1 ("GENERIC_AT3GPP.tx": "D1" and "GENERIC_AT3GPP.rx": "D0") When your SIM card installed in your mobile phone, you can find the APN, username and password settings in your mobile phone. Or contact your telecom operator to get this information. In the example, APN has set to “internet”, no username, and no password. (Move mouse cursor around these settings) The final setting to check is PIN code. In the example, the setting is no PIN code. If your SIM card has PIN code, for example 1234, please set it like this “\”1234\”” (Move mouse cursor around the setting) Save it then build it. It is in compiling, please wait a moment. Then you can see 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 connect the NuMaker-IoT-M487 USB port to your computer and don’t forget to plug in external 5V power supply. 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 favorite 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. Let’s back to the download folder where you can see the binary firmware file (NuMaker-mbed-Cellular-example.NUMAER_IOT_M487.bin). Drag and drop the file to NuMicro MCU drive. You will see the copying progress dialog box. You can see the connection messages printed on terminal. It shows that the board creates a TCP connection to server “echo.mbedcloudtesting.com”, send 4 bytes data and get the data back from server. That’s all for this tutorial. Thank you. For more information, please visit Nuvoton Technology: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/tw/numaker-iot-m487 #tool #training #learning #intermediate #en
This website uses cookies to ensure you get the best experience on our website. Learn more
OK