Search found 271 matches

by chhsieh3
27 May 2020, 10:58
Forum: Example Code
Topic: [M480] HSUSBH HID to SPI
Replies: 0
Views: 819

[M480] HSUSBH HID to SPI

Application: The example code is M480 High speed USB interface receive mouse data then SPI interface send data with PDMA mode. BSP Version: M480 Series BSP CMSIS V3.03.001 Hardware: NuMaker-PFM-M487 V3.0 This chip is equipped with a high speed usb and a full speed usb. Both of high speed usb and fu...
by chhsieh3
27 May 2020, 10:49
Forum: Example Code
Topic: [NUC240] Implement ADC Median Filter
Replies: 0
Views: 868

[NUC240] Implement ADC Median Filter

Application: The example code implements ADC sampling noise reduction by using Median Filter. BSP Version: NUC230/240 Series BSP CMSIS v3.01.001 Hardware: NuEdu-EVB-NUC240 v1.0 The sample code implements a simple ADC sampling noise reduction with Median Filter. Do five times ADC sampling and then s...
by chhsieh3
27 May 2020, 10:47
Forum: Example Code
Topic: [NUC505] AMR Player
Replies: 0
Views: 858

[NUC505] AMR Player

Application: The example code reads AMR file in MicroSD card, decodes it and plays it to headphone out on NUC505 EVB board. BSP Version: NUC505 Series BSP V3.02.000 Hardware: NuTiny-EVB-NUC505 v1.4 or later The example code is to demonstrate how to play AMR file stored in SD card. You can download ...
by chhsieh3
27 May 2020, 10:44
Forum: Example Code
Topic: [NUC240] SD Card with FATFS
Replies: 0
Views: 1132

[NUC240] SD Card with FATFS

Application: SD Card with FAT File System BSP Version: NUC230/240 Series BSP v3.01.002 Hardware: NUC240VE3AN NuEdu Board V2.0, NuEdu-Advance02 V1.1 The SD memory card system supports two kinds of communication mode: SD mode and SPI mode. This example uses SPI mode to communication with an SD card, ...
by chhsieh3
27 May 2020, 10:38
Forum: Example Code
Topic: [NUC240] Access SPI Flash by USB MSD
Replies: 0
Views: 888

[NUC240] Access SPI Flash by USB MSD

Application: The code is a demonstration of how to use USB MSD to access file in SPI flash. BSP Version: NUC230_240 Series BSP CMSIS v3.01.001 Hardware: NuEdu-EVB-NUC240 v2.0 USB MSD is an abbreviation of USB Mass storage device. We use USB MSD to access file in SPI flash. In this way, we access th...
by chhsieh3
27 May 2020, 10:35
Forum: Example Code
Topic: [N76E003] Use GPIO to Access SPI Flash
Replies: 0
Views: 999

[N76E003] Use GPIO to Access SPI Flash

Application: This code uses GPIO as SPI Master to read or write SPI Flash. BSP Version: N76E003 BSP Keil C51 v1.0.6 Hardware: NuTiny-SDK-N76E003 v2.0 This example is used MCU's GPIO to simulate the SPI host to read and write SPI flash. In the case that the hardware SPI of the MCU is insufficient, i...
by chhsieh3
20 May 2020, 17:16
Forum: Example Code
Topic: [M480] FreeRTOS SD FATFS
Replies: 0
Views: 1102

[M480] FreeRTOS SD FATFS

Application: Access a SD card using FatFs with FreeRTOS BSP Version: M480 Series BSP CMSIS V3.03.001 Hardware: NuMaker-PFM-M487 Ver 3.0 NuMicro® M480 series support SD/SDHC card. In M480 BSP, the sample bsp\SampleCode\StdDriver\SDH_FATFS shows ability to access an SD card in FAT format. The file sy...
by chhsieh3
20 May 2020, 17:13
Forum: Example Code
Topic: [NUC240] Dual CAN Application
Replies: 0
Views: 834

[NUC240] Dual CAN Application

Application: The code is a demonstration of how to use dual CAN. BSP Version: NUC230/240 Series BSP CMSIS v3.01.001 Hardware: NuEdu-EVB-NUC240 v2.0 The peripherals of Nuvoton’s CAN are directly designed by Bosch, so there is no problem with CAN compatibility. Before using it, everyone needs to have...
by chhsieh3
20 May 2020, 17:08
Forum: Example Code
Topic: [NUC240] Simulate EEPROM Using Data Flash
Replies: 0
Views: 946

[NUC240] Simulate EEPROM Using Data Flash

Application: Data Flash Simulate EEPROM and Write/Read EEPROM BSP Version: NUC230/240 Series BSP CMSIS v3.01.002 Hardware: NuTiny–EVB–NUC240 V1.2 This example code demonstrates how to use a Data Flash region to simulate an EEPROM region. You can download the sample code at https://www.nuvoton.com/r...
by chhsieh3
20 May 2020, 14:55
Forum: Example Code
Topic: [NUC240] Read Sensor DHT11 Humidity and Temperature Data
Replies: 0
Views: 981

[NUC240] Read Sensor DHT11 Humidity and Temperature Data

Application: This code uses NUC240 GPIO (PA.0) and TIMER0 to read DHT11 humidity and temperature data. BSP Version: NUC230/240 Series BSP CMSIS V3.01.001 Hardware: NuTiny-SDK-NUC240V V1.2 This example code uses GPIO (PA.0) and TIMER0 to read DHT11 humidity and temperature data. DHT11 is a common di...