Search
Search Results
SearchPlatform Resource ,
find 13 items
- Sort by
- Most recent
- Popularity
Training
Learning
Junior
Watch time - 7:34
NuMicro M031/M032 Series SPI Sample Code : Demonstrate how to access SPI Flash via SPI interface.
【Datasheet of SPI Flash W25Q35】
https://www.winbond.com/resource-files/W25Q32JV%20RevI%2005042021%20Plus.pdf
#SPI #Training #Level1 #Workshop #SampleCode #SerialPeripheralIngerface #SPIFlash #W25Q35 #ReadID #Read #Program #Basic #General #Training #Learning #en
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/
contact us: SalesSupport@nuvoton.com
Training
Application
Learning
Watch time - 5:7
We implements 6 demonstrations according to the features of MA35D1:
1. Video Playback : HD video output
2. ML People Counting : Face Recognition and Number Counting
3. 2D Accelerator : 2D Hardware acceleration example
4. Data Security : Improve data security with OP-TEE
5. KWS by RTP M4 : uses MA35 built-in M4 to perform keyword detection
6. VoIP : network phone example based on SIP
The video will introduce the resources and operation details used in each example.
#HMI #IndustrialControl #Application #Linux #MPU #MA35D1 #Training #Learning #en #NuMaker-HMI-MA35D1-S1
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/
contact us: SalesSupport@nuvoton.com
Application
Webinar
Watch time - 16:57
In this webinar, we will share our viewpoint on the trend of embedded GUI and the user expectation for the modern graphical HMI platform and the ecosystem on the embedded applications.
Furthermore, the attendees will get a good overview of the Nuvoton NuMicro HMI platform provides flexible solutions to address them,
and the development of embedded GUI for HMI applications becomes very easy by leveraging the complete NuMicro HMI platform.
#en #Webinar #General #Application
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/
contact us: SalesSupport@nuvoton.com
Product
Application
Learning
Watch time - 5:20
Hi everyone, I'm Aaron. The FAE of Nuvoton technology.
Today, I'm glad to show you the Nuvoton secure development board, NuMaker-IoT-M2354. The NuMaker-IoT-M2354 is an IoT evaluation board powered by the NuMicro® M2354 series. Before the introduction of NuMaker-IoT-M2354, I will take you to a quick understanding of NuMicro M2354. The M2354 is the latest NuMicro IoT series product which is based on Arm® Cortex®-M23 CPU core technology. The TrustZone® technology based on Armv8-M architecture is a CPU system-wide approach to microcontroller security. The M2354 series carry 1 Mbytes embedded Flash memory and 256 Kbytes SRAM. It's essential for IoT devices with real-time OS requirements. And you can focus on software development without warring about the flash and SRAM resource.
The M2354 series is equipped with plenty of peripherals. In addition to providing UART I2C SPI Timer, it also supports the Quad SPI, USB FS OTG, and CAN BUS. Furthermore, to satisfy the IoT device's display development, the M2354 series built-in 8 COM x 40 SEG LCD controller drives up to 320 dots to meet various smart home and IoT appliances.
In addition to providing many peripherals, the critical feature of M2354 is supporting many security functions. The secure boot ensures the legality and integrity of the running firmware. The hardware crypto with RSA/ECC/AES/SHA accelerators can help the device connect to the cloud fast and safely. Moreover, the M2354 is equipped with Key Store, which could be used with crypto accelerators to enhance the chip security level.
To comply with Arm PSA CertifiedTM Level 3, the M2354 has implemented some countermeasures to protect against non-invasive attacks like side-channel attacks or fault injection attacks.
The NuMaker-IoT-M2354 equips a Bosch environmental sensor, BME680, which contains temperature, humidity, barometric pressure, and VOC gas sensing capabilities. After getting data from the sensor, users can send data to the cloud, such as Pelion or AWS, by Mbed OS. Because M2354 supports hardware crypto, the data can be sent more efficiently and safely. The data could be shown on the LCD panel by the LCD library provided in the M2354 BSP.
The NuMaker-IoT-M2354 contains a Wi-Fi module and LoRa module for wireless applications. Depending on the data throughput and power consumption, you can choose one of them for your IoT applications. In the LoRa network, each node is not connected but must be connected to the gateway before being linked back to the central host, or data can be transmitted to another node through the central host. For example, if choosing the LoRa module for the cloud development, you could use NUC980 LoRa Gateway for your gateway platform.
The NuMaker-IoT-M2354 supports the radio frequency band of the LoRa module on 915MHz and 433MHz, depending on the customer's requirement.
In addition to providing the rich peripheral, the NuMaker-IoT-M2354 also equips the Arduino UNO connector and mikroBUS™ connector for flexible applications.
Suppose you want to develop other wireless connecting features like 4G-LTE or NB-IoT. In that case, the Nuvoton also provides a UNO-to-PCI adapter board to supports Quectel EC21 4G/LTE and Quectel BG96 NB-IoT modules.
The NuMaker-IoT-M2354 also provides multiple power supplies by external power connectors and an ammeter connector that can instantly measure power consumption. In addition, the Nu-link2-Me on the board is a debugger and programmer supporting development on Keil, IAR, GCC, and Mbed IDE.
#en #Learning #Basic #Application #Product
-
Online Purchase Development Tools:
● M2354 Series
https://www.nuvoton.com/products/microcontrollers/arm-cortex-m23-mcus/m2354-series/index.html
● NuMaker-LoRa-NUC980
https://www.nuvoton.com/products/iot-solution/lora-platform/
● NuMaker-M2354
https://direct.nuvoton.com/tw/numaker-m2354
● Quectel-BG96A
https://direct.nuvoton.com/en/quectel-bg96a
● Quectel-EC21A
https://direct.nuvoton.com/en/quectel-ec21a
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/
contact us: SalesSupport@nuvoton.com
Product
Tool
Learning
Watch time - 8:24
The video introduces Nuvoton's MPU N9H30's development set-up for Linux and Non-OS, taking NuMaker-emWin-RDK-N9H30 for example. Starting from the EVB introduction to BSP and related software downloads.
-
User manuals and related resource can be downloaded
https://www.nuvoton.com/products/gui-solution/gui-reference-design/numaker-emwin-rdk-n9h30/
First, we introduce how to program Linux OS to the N9H30 evaluation board
Find the N9H30 evaluation board resource that we used on Nuvoton’s Github and download the VMware Image
https://github.com/OpenNuvoton/MPU-Family
VMware application can be downloaded from the VMware website
https://www.vmware.com/tw/products/workstation-player/workstation-player-evaluation.html
First, open the VMware
Find the ubuntu_NUC970_980_Linux folder we downloaded
Choose Ubuntu 64-bit_nuvoton.vmx
Choose Play virtual machine
The password is “user”
It will take a while to open this application for the first time
Open the terminal when the system is ready
Enter NUC970_Buildroot-master folder
After entering the folder, we need to update the Buildroot tool
Enter the command as shown below
“git reset –hard”
“git pull”
After updating, enter the dl folder
Remove the original Linux kernel and u-boot
Enter the command as shown below
“sudo rm -rf linux-master.tar.gz uboot-master.tar.gz”
After entering, enter the password “user”
Leave the dl folder and enter the Buildroot folder
Enter the “make clean” command
You don’t need to do these steps unless updating Buildroot tools
Now, we set up the evaluation board configuration
Enter configs folder to search evaluation board name
Back to buildroot after searching
Enter “make nuvoton_n9h30_emwin_defconfig” to generate configuration file
After finishing these step, enter “make” to compile
It will take about three hours to compile
After compiling, copy the two files below to windows
“/NUC970_Buildroot-master/output/images/uImage”
“/NUC970_Buildroot-master/output/build/uboot-master/u-boot.bin”
Create text file ”env-nor.txt”
The content is shown below:
baudrate=115200
bootdelay=1
stderr=serial
stdin=serial
stdout=serial
setspi=sf probe 0 50000000
loadkernel=sf read 0x7fc0 0x200000 0x600000
bootcmd=run setspi;run loadkernel;bootm 0x7fc0
bootargs=noinitrd root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyS0 rdinit=/sbin/init mem=32M mtdparts=m25p80:0x200000@0x0(u-boot),0x600000@0x200000(kernel),-(user) ignore_loglevel
Then, we need to install NuWriter and related file
The NuWriter is a programming tool provided by Nuvoton. The NuWriter application and firmware code are open-sourced, and users can add new features or develop new user interfaces per user’s application
NuWriter: https://github.com/OpenNuvoton/MPU-Family
Open “NUC970_NuWriter-master”
Enter Driver folder and install “WinUSB4NuVCOM.exe”
Enter /Nuwriter/Release and execute NuWriter
Choose IC number based on the evaluation board
We need to program Image to SPI Flash, so we choose SPI
Here we need to turn the all Power-On Setting to ON
Push Reset button
Return to NuWriter to check the green light and the connection
If it is not connecting, click Re-Connect to reconnect
After confirm the connection, start to program Image
Program the three files to particular address
u-boot.bin program to 0xe00000
env.nor.txt program to 0x80000
uImage program to 0x200000
After programming, turn the Power-On Setting to off
Push the Reset button
Evaluation board can start to boot from SPI-NOR
After booting, we need to find the rcS demo application under/etc/init.d
Enter “chmod 777 rcS” to modify the application
Now, you can see the application on the evaluation board panel
Here, we finish compiling and programming
The next topic is how to compile and program Non-OS code
First, download MDK-Arm from the link below
https://www.keil.com/download/product/
Download the Non-OS BSP provided by Nuvoton
https://github.com/OpenNuvoton/MPU-Family
The BSP includes Keil environment set up user manual
Use Keil need to purchase the related license
After downloading, Open Keil uVision
Click the File on the upper left and choose Open
Go to the BSP that we downloaded choose BSP, SampleCode, emWin_SimpleDemo, KEIL and emWin_SimpleDemo.uvproj
Click Option for Target
Click Device and choose NuMicro ARM9 Database and N9H_series
After setting up, click Rebuild, and it will generate a sample code application which is a binary file
Open the NuWriter and connect it to the evaluation board
Choose SPI and search the application we built
\N9H30_emWin_Non-OS_BSP_v1.04.000\N9H30_emWin_Non-OS_BSP_v1.04.000\BSP\SampleCode\emWin_SimpleDemo\KEIL\obj\emWin_SimpleDemo_FW070TFT_24BPP.bin
Follow the setting and program the file to 0x0
After programming, turn the Power-On Setting to boot from SPI
You can see the demo application on the evaluation
#Basic #Product #Tool #Learning #en
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/
contact us: SalesSupport@nuvoton.com
Watch time - 5:45
The video introduces Nuvoton's emWin graphic library for HMI applications, it also includes the breif HMI introduction, emWin resources.
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/
contact us: SalesSupport@nuvoton.com
Watch time - 10:23
新唐 NuMicro M031BT 雙模藍牙低功耗 5.0 (Bluetooth Low Energy, BLE5.0) 提供了 BLE UART 透傳的展示,並實際操作如何使用 AT 命令模式來作設定與使用資料傳輸模式來收發資料。
-KEIL MDK Nuvoton edition M0/M23(Free License)
https://www2.keil.com/nuvoton/M0-M23
-Nu-Link_Keil_Driver
https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1120200221180521
-M031 BLE AT Command User Guide:
M031_Series_BSP_CMSIS_V3.xx.xxx\SampleCode\NuMaker-M03xBT_XXXXXX\BLE\Doc\M031 BLE AT Command User Guide.pdf
-Related sample codes in the BSP (Board Support Package)
BSP_ Library\M031_Series_BSP_CMSIS_V3.xx.xxx\SampleCode\NuMaker-M03xBT_xxxxxx\BLE\Demo
ATCMD
-App
App Store (Apple devices)
https://apps.apple.com/tw/app/nuvotonble/id1514073524
Google Play Store (Android devices)
https://play.google.com/store/apps/details?id=com.nuvoton.nuble
大家好,我是新唐的工程師Oliver,今天爲大家介紹M031BT的BLE UART透傳範例程式的展示,另外也會簡單介紹一下M031BT的特點。
M031BT的特點是它是一個有豐富周邊且帶有BLE 5.0無線傳輸的MCU,在系統方面CPU可以運行到48MHz,Flash最多可達128 KB,SRAM最多可達16KB,封裝是QFN 5x5mm,在48 pin的IC中算是非常小的,在類比周邊部分ADC是12-bit且采樣速度可以高達2 MSPS,另外還有2組比較器;數位周邊也非常的豐富,像是UART有3組、I2C有2組、PWM有12通道,且PWM解析度可以高達2倍的系統頻率96 MHz、Timer有4個;在無線傳輸部分支援BLE 5.0或2.4G私有協議,可調整的發射功率可達+8 dBm,接收靈敏度可達 -94 dBm
新唐對於藍牙的開發支援了透傳/HOGP/heatbeat三種profile並且有OTA功能,此外central mode/peripheral mode的切換功能,有更多元場景應用的可能性,對於不熟悉藍牙開發的客戶我們也支援AT command協助客戶可以快速開發,透過新唐所推出的M031BT您可以應用在個人醫療儀器、個人保健照護、量測儀器或是智慧門鎖等應用
接下來介紹今天demo的BLE UART透傳,在demo的系統中會有個HOST透過UART傳資料給M031BT,M031BT再經由BLE將資料傳送給手機,或由手機發資料透過BLE傳送到M031BT,再由M031BT的UART傳給HOST,再這個dome中分爲兩種模式一種是AT Command,是用來對M031BT做基本設定,另一種模式是資料傳輸模式也就是透傳模式,M031BT會將UART收到的資料轉爲BLE送出去,或將BLE收到的資料轉爲UART再給HOST,這兩種模式的切換是透過HOST控制高低准位並且輸入到M031BT的GPIO來切換
在開始測試之前我們需要先準備測試環境,我們使用NuMaker-M031BTYE一台電腦當作HOST,NuMaker-M031BTYE上的Nu-Link2-Me當作USB轉UART的橋接器,M031BT的UART脚位PA0/PA1會經由VCOM switch連接到Nu-Link2-Me
的UART引脚,我們只要把VCOM指撥開關的Pin1/Pin2撥到ON就可以連接
另外M031BT的模式控制脚位PB0若連接到VDD是AT command 模式,若連接到GND是資料傳輸模式,模式控制脚位預設內部上拉至VDD,所以預設是AT command 模式
現在我們將USB線接上NuMaker與電腦後,開啓裝置管理員確認com port是否有連接上,確認是COM3就可以關掉了,接著電腦上需要安裝任一種的串列通訊軟體,影片中我們使用Putty當作範例,安裝完Putty之後,開啓Putty選擇Serial,輸入剛剛確認的COM3還有115200的波特率,按下OPEN
再來我們需要將AT Command的固件下載到M031BT,我們開啓ATCMD這個範例的專案,按下編譯,編譯完之後按下載等待下載完成,下載完成後我們可以看到Putty的視窗中已經有打印出一些信息了,代表燒錄成功
再來是如果安卓裝置要在Google Play Store下載App若是iOS的話要在App Store下載後安裝,影片中以安卓來當作範例,開啓Paly Store並輸入Nuvoton BLE看到後點選安裝,等安裝完成後初步的環境設置就算完成了
接著來看看ATCMD支援的命令有哪些,這是AT command 的列表,主要都是用來查看M031BT的參數或是設定M031BT的參數
例如輸入AT是測試命令,查看M031BT在AT command模式是否正常;
輸入AT+HELP? 是查看支援那些命令;
輸入AT+UART是察看UART波特率是多少,預設是115200,也可以設定波特率,目前支援五種不同的波特率;
AT+NAME可以看裝置名稱或修改裝置名稱;
AT+ADVINT可以查看目前的廣告間隔時間與設定廣告間隔時間;
AT+ADVEN可以開啓廣告,讓手機可以搜尋的到,要注意的是預設沒有開的AT+TXPWR可以設定輸發射功率,目前有三種段數可設定,分別是0/4/8 dBm; AT+SLEEP可以讓M031BT沒發送資料時候進入睡眠模式,節省功耗
其他詳細說明可以參考這份表格或M031 BLE AT Command User Guide這份文件,這個文件在BSP裏面可以找到
接下來我們來實際操作,這一頁說明ATCMD這個範例程式的預設參數設定,像是波特率是115200,發射功率是+8 dBm,大家可以參考一下。
我們先前開啓過裝置管理員確認設定是COM3還有波特率是115200,接著NuMaker-M031BTYE的reset 按鍵,就可以看到M031BT AT Command的字顯示在PuTTY的視窗中,那預設模式脚位的PB0預設是上拉到VDD,所以預設是AT command 模式
接著使用鍵盤輸入AT按下enter按鍵,若出現OK代表AT command 模式是正常,即可輸入其他指令
若要查看支援那些指令,可以輸入AT+HELP?再按下enter鍵,就會出現全部支援的指令有哪些
若要看現在的波特率設定輸入AT+UART? 再按下enter鍵,就可以知道UART目前的波特率
廣告的間隔時間可以查看也可以修改,輸入AT+ADVINT? 就可以得到目前的廣告間隔時間,看到目前是160,這個數值每個單位是0.625us,也就是100ms,間隔時間的設定會影響到平均的功耗,這時間也可以修改,間隔時間越長平均功耗越低,不過也是要看應用需要多少時間
再來我們輸入AT+ADVINT=320可以看到回復OK,代表時間已經改爲200ms,我們可以再次輸入AT+ADVINT?得到間隔時間是320,確認修改成功
輸入AT+ADVEN可以開啓廣告讓手機可以搜尋的到,預設並沒有開啓,所以輸入開啓的指令
輸入AT+ADDR?可以查詢BLE設備位址
再來我們可以輸入AT+NAME?來查詢BLE設備的名稱,我們可以看到裝置名稱是NVT-M031BT,
打開手機的APP來搜尋看看,搜尋到的就是NVT-M031BT
那也可以修改BLE設備的名稱,只要依據前面的表格下指令就可以
再來是數據傳輸模式演示,也就是透傳模式,我們首先再AT command模式下輸入AT+ADVEN啓用廣告可讓手機搜尋的到,再來開啓NuBLE掃描並連接到NVT-M031BT,接著我們必須要手動將模式控制引脚PB0如畫面上的連接到GND,就可以切換成爲數據傳輸模式也就是透傳模式
再來我們在文字輸入欄位中輸入字符串,然後點擊SEND按鍵,那麽手機上輸入的資料就會透過BLE傳送資料到M031BT,M031BT再將收到的資料經由UART透過Nu-Link2-Me傳送到PC的終端窗口中
剛剛已經演示過兩種模式的使用方式,在相關資源部分
基本的開發環境KEIL我們提供的免費許可證,依照連結網頁內的步驟來做只要使用新唐的M0/M23 MCU就可以免費使用,另外Nu-Link的driver也提供連結下載
另外關于影片中的M031 BLE AT Command用戶指南已經放入BSP內,裏面有更詳細的操作與說明,BSP可從官網下載,APP部分也附上連結,方便大家使用
以上是這次的教學影片,感謝您的收看。歡迎訂閱我們的頻道。
如果您想知道更多資訊歡迎聯絡我們!
-
更多產品資訊,請至新唐科技網站 https://bit.ly/3hVdcmC
購買管道:https://direct.nuvoton.com/tw
聯絡我們: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 - 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 - 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
Application
Learning
Watch time - 3:48
The rich features of NuMaker IoT platforms have been certified by several RTOS and clouds. In this video, we introduce the NuMaker-IoT-M487 development board, supported OS and clouds, and an IoT demonstration.
#Application #Learning #Basic #en
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/tw/
contact us: SalesSupport@nuvoton.com
Product
Learning
Watch time - 26:19
The ML51 is a Flash embedded 1T 8051-based microcontroller. The instruction set of the ML51 is fully compatible with the standard 80C51 with performance enhanced and low power consumption.
The ML51 runs up to 24 MHz at a wide voltage range from 1.8V to 5.5V, and contains up to 64/32/16/8 Kbytes Flash called APROM for programming code. The ML51 Flash supports In-Application-Programming (IAP) function, which enables on-chip firmware updates.
The ML51 includes an additional configurable up to 4/3/2/1 Kbytes Flash area called LDROM, in which the Boot Code normally resides for carrying out the In-System-Programming (ISP).
-
For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC
buy now: https://direct.nuvoton.com/tw/ml51-series/
contact us: SalesSupport@nuvoton.com
#Product #Learning #Basic #en
0:00 簡介
0:20 Agenda
0:45 NuMicro Product Portfolio
1:28 2019 Brand New MCU Platform
2:06 ML51/ML54/ML56 Series Portfolio
3:29 ML51 Series Low
4:50 NuMicro Naming Rule
6:06 NuMicro® ML51 Features
8:19 4 Different Power Modes
10:44 Low Power Mode Features • Wake up resource: WKT, ACMP, GPIO
12:37 Low Power VS Battery Life
13:28 ADC
15:00 Comparison of 8-bit Products Feature
17:13 Fire Fighting System
21:30 Battery Management System (BMS)
22:30 Gaming Phone
23:36 Development Board
24:13 Development Environment