Search found 311 matches

by chhsieh3
07 Apr 2020, 11:24
Forum: Example Code
Topic: [NUC123] HID Touch Device
Replies: 0
Views: 1437

[NUC123] HID Touch Device

Application: Demonstrate how to implement a USB HID touch device. BSP Version: NUC123 Series BSP CMSIS V3.01.001 Hardware: NuTiny-EVB-NUC123-LQFP64 v1.0 This example code implements a HID touch device with two contacts. It can simulate two contact input drawing two parallel lines. You can download ...
by chhsieh3
07 Apr 2020, 11:16
Forum: Example Code
Topic: [NUC123] Use I2C to Drive LIS3DH
Replies: 0
Views: 1516

[NUC123] Use I2C to Drive LIS3DH

Application: This example code controls three-axis accelerometer LIS3DH through NUC123 I2C. BSP Version: NUC123Series BSP CMSIS v3.01.001 Hardware: NuTiny-EVB-123-LQFP64 NUC123 controls LIS3DH three-axis accelerometer by I2C interface. The accelerometer values in three directions can be obtained by...
by chhsieh3
07 Apr 2020, 11:12
Forum: Example Code
Topic: [Nano100] 1Hz Timer with LIRC
Replies: 0
Views: 1447

[Nano100] 1Hz Timer with LIRC

Application: This document describes how to use Timer0 clock source from LIRC and generate interrupt every 1 second. BSP Version: NANO100 Series BSP CMSIS V3.02.000 Hardware: NuTiny-EVB-NANO120-LQFP100_V001 NANA100 has four timers, including Timer0, Timer1, Timer2, and Timer3. This example code use...
by chhsieh3
07 Apr 2020, 11:04
Forum: Example Code
Topic: [Mini51] I2C LIRC Master
Replies: 0
Views: 1504

[Mini51] I2C LIRC Master

Application: This document describes how to set I2C clock source to LIRC and how a Master access Slave. BSP Version: Mini51DE Series BSP CMSIS V3.02.000 Hardware: NuTiny-EVB-Mini51_V2.1 This example code demonstrates how to set clock source of I2C to LIRC and how a Master access Slave. The system c...
by chhsieh3
06 Apr 2020, 18:01
Forum: Example Code
Topic: [M480] ADC in PWM out
Replies: 0
Views: 1658

[M480] ADC in PWM out

Application: Get ADC voltage and send it out by PWM & DAC BSP Version: M480 Series BSP CMSIS V3.04.000 Hardware: NuMaker-ETM-M487 This example code shows how to get ADC voltage and send it out by DAC and PWM. You can download the sample code at https://www.nuvoton.com/resource-download.jsp?tp_GUID=...
by chhsieh3
06 Apr 2020, 17:55
Forum: Example Code
Topic: [M451] Adjust PWM Duty Cycle by EADC
Replies: 0
Views: 1485

[M451] Adjust PWM Duty Cycle by EADC

Application: This sample code adjust the PWM duty cycle according to the EADC input voltage BSP Version: M451 Series BSP CMSIS V3.01.003 Hardware: NuTiny-EVB-M451-LQFP100 V1.3 This sample code adjusts the PWM duty cycle according to the EADC input voltage. You can download the sample code at https:...
by chhsieh3
06 Apr 2020, 17:50
Forum: Example Code
Topic: [M031] Software Real-Time Clock
Replies: 0
Views: 1600

[M031] Software Real-Time Clock

Application: Introduce implementing Software Real-Time Clock (RTC) use 38.4 kHz Low Speed Internal Oscillator (LIRC) BSP Version: M031 Series BSP CMSIS V3.01.000 Hardware: NuMaker-M031 In this example code, the NuMicro Cortex®-M0 M031 chip is used as an example. The software Real Time Clock with ti...
by chhsieh3
24 Mar 2020, 17:03
Forum: Example Code
Topic: [MS51] The Driver of TLC2543
Replies: 0
Views: 1822

[MS51] The Driver of TLC2543

Application: This sample code reads the A/D conversion data of TLC2543 based on MS51 series. BSP Version: MS51 Series BSP Keil V1.00.002 Hardware: NuTiny-MS51FB V1.1 TLC2543 is a 12-bit resolution A/D converter, with 11 analog input channels. This sample code uses GPIO to achieve the read-write tim...
by chhsieh3
24 Mar 2020, 16:59
Forum: Example Code
Topic: [NUC505] MP3 Player from Internal Flash
Replies: 0
Views: 1643

[NUC505] MP3 Player from Internal Flash

Application: A MP3 player demo using internal codec to play MP3 file stored in internal SPI flash BSP Version: NUC505 Series BSP CMSIS V3.02.000 Hardware: NuTiny-EVB-NUC505 V1.6 This sample code uses NUC505 internal codec to play MP3 file stored in internal SPI flash. User needs to store MP3 file f...
by chhsieh3
24 Mar 2020, 16:50
Forum: Example Code
Topic: [NUC240] Control EEPROM via GPIO Emulated I2C
Replies: 0
Views: 1641

[NUC240] Control EEPROM via GPIO Emulated I2C

Application: This example implements software emulated I2C by using GPIO to control EEPROM. BSP Version: NUC230/240 Series BSP CMSIS v3.01.001 Hardware: NuEdu-EVB-NUC240 v1.0 When user needs more I2C channels then the microcontroller provides, user can use GPIO to emulate I2C waveform. The example ...