Search found 271 matches

by chhsieh3
20 May 2020, 14:52
Forum: Example Code
Topic: [M451] Use SPI Flash as USB MSC Device
Replies: 0
Views: 968

[M451] Use SPI Flash as USB MSC Device

Application: The microcontroller plays a role of USB mass storage device and uses SPI Flash as a storage medium. BSP Version: M451 Series BSP CMSIS V3.01.003 Hardware: NuTiny-EVB-M451-LQFP100 V1.3 The microcontroller M451 connects to the computer via a USB port, plays a role of a mass storage class...
by chhsieh3
18 May 2020, 15:49
Forum: Example Code
Topic: [NUC240] PWM Trigger PWM
Replies: 0
Views: 879

[NUC240] PWM Trigger PWM

Application: PWMA channel 0 trigger PWMA channel 2 when PWMA channel 0 outputs high. BSP Version: NUC230/240 Series BSP v3.01.002 Hardware: NUC240VE3AN NuEdu Board V1.0 This sample code is using PWMA channel 0 to trigger PWMA channel 2. When PWMA channel 0 outputs high level voltage, then PWMA chan...
by chhsieh3
18 May 2020, 15:46
Forum: Example Code
Topic: [NUC240] Servomotor Control
Replies: 0
Views: 822

[NUC240] Servomotor Control

Application: NUC240 output PWM waveform for controlling servomotor BSP Version: NUC230/240 Series BSP CMSIS V3.01.001 Hardware: NuEdu-EVB-NUC240 V1.0 PWM0 of NUC240 can output a 50Hz waveform to control a servomotor. If you rotate the wheel on NuEdu-EVB board, value of ADC0 could change. Then, high...
by chhsieh3
18 May 2020, 15:42
Forum: Example Code
Topic: [NUC123] Use SPI Flash as USB MSC Device
Replies: 0
Views: 860

[NUC123] Use SPI Flash as USB MSC Device

Application: The microcontroller plays a role of USB mass storage device and uses SPI Flash as a storage medium. BSP Version: NUC123 Series BSP CMSIS v3.01.001 Hardware: NuTiny-EVB-123-LQFP64 V1.0 The microcontroller NUC123 connects to the computer via a USB port, plays a role of a mass storage cla...
by chhsieh3
18 May 2020, 15:36
Forum: Example Code
Topic: [NUC240] Use ADC to Measure AVDD
Replies: 0
Views: 861

[NUC240] Use ADC to Measure AVDD

Application: This example code use ADC to measure internal Bandgap voltage(VBG) and use VBG to calculate AVDD. BSP Version: NUC230/240 Series BSP CMSIS V3.01.001 Hardware: NuEdu-EVB-NUC240 v1.0 A temperature independent voltage reference circuit inside microcontroller can produce a constant voltage...
by chhsieh3
18 May 2020, 15:33
Forum: Example Code
Topic: [Nano112] Use ACMP Slope to Measure PT1000
Replies: 0
Views: 798

[Nano112] Use ACMP Slope to Measure PT1000

Application: This sample code uses the ACMP slope of Nano112 to measure the temperature of PT1000. BSP Version: Nano102/112 Series BSP CMSIS v3.03.000 Hardware: NuTiny-SDK-Nano112V The Single Slop ADC mode is an analog-to-digital conversion technique to measure unknown resistance and can be impleme...
by chhsieh3
18 May 2020, 15:01
Forum: Example Code
Topic: [M451] Use Timer to Drive RGB LED
Replies: 0
Views: 847

[M451] Use Timer to Drive RGB LED

Application: The code is a demonstration of how to use timer to drive RGB LED. BSP Version: M451 Series BSP CMSIS v3.01.001 Hardware: NuEdu-SDK-M451 v1.2 Use Timer to control the various representations of the I/O display LED, including RGB dimming, flickering and common breathing lights, usually d...
by chhsieh3
18 May 2020, 14:58
Forum: Example Code
Topic: [NUC505] Fast Fourier Transform Using M4 DSP
Replies: 0
Views: 869

[NUC505] Fast Fourier Transform Using M4 DSP

Application: This sample code uses FFT to get main frequency from Line-in. BSP Version: NUC505 Series BSP CMSIS V3.02.000 Hardware: NuTiny-EVB-NUC505 V1.6 This sample code uses NUC505 internal codec and gets audio data from LINE IN. Use CMSIS DSP library to do Fourier analysis. Users can hear the s...
by chhsieh3
18 May 2020, 14:55
Forum: Example Code
Topic: [NUC240] Spare Register Access
Replies: 0
Views: 795

[NUC240] Spare Register Access

Application: Write/Read Spare Register BSP Version: NUC230/240 Series BSP CMSIS v3.01.002 Hardware: NuTiny–EVB–NUC240 V1.2 This example code demonstrates how to access spare register. You can download the sample code at https://www.nuvoton.com/resource-download.jsp?tp_GUID=EC0120191217175054
by chhsieh3
18 May 2020, 14:52
Forum: Example Code
Topic: [NUC240] Use RTX to Access SPI Flash with PDMA
Replies: 0
Views: 815

[NUC240] Use RTX to Access SPI Flash with PDMA

Application: CMSIS-RTOS RTX demonstration for accessing SPI flash with PDMA BSP Version: NUC230/240 Series BSP CMSIS v3.01.002 Hardware: NuEdu-EVB-NUC240 V2.1, NuEdu-Basic01 V2.1 This example code demonstrates how to run a RTX system on NuMicro® NUC240 Series MCU and access SPI flash with PDMA. You...