Search found 271 matches

by chhsieh3
18 May 2020, 14:48
Forum: Example Code
Topic: [Nano130] How to Use ADC ACMP
Replies: 0
Views: 809

[Nano130] How to Use ADC ACMP

Application: Use ADC compare mode and use TestOScope to plot ADC data BSP Version: Nano100B Series BSP CMSIS v3.03.000 Hardware: NuTiny-EVB-Nano130-LQFP128 v1.1 Sometimes we use the serial port to send the ADC data to the PC for analysis. TestOScope is the computer software, which will capture the ...
by chhsieh3
13 May 2020, 14:39
Forum: Example Code
Topic: [NUC240] USBD HID To EEPROM
Replies: 0
Views: 933

[NUC240] USBD HID To EEPROM

Application: An implementation of controlling the I2C transfer protocol of NUC240 from PC side via USB HID interface to access the EEPROM device BSP Version: NUC230/240 Series BSP v3.01.002 Hardware: NuTiny–EVB–NUC240–LQFP100 V1.0 This sample code demonstrates how to control the I2C data transfer o...
by chhsieh3
13 May 2020, 14:35
Forum: Example Code
Topic: [Nano100] Simple Application of Photoresistor
Replies: 0
Views: 804

[Nano100] Simple Application of Photoresistor

Application: This code simulates the situation of a power-saving luminaire. BSP Version: Nano100B Series BSP CMSIS v3.03.000 Hardware: NuEdu-EVB-Nano130 v2.1 The photoresistor is a light-controlled variable resistor. When in a dark environment, the resistance of the photoresistor is very large (on ...
by chhsieh3
13 May 2020, 14:30
Forum: Example Code
Topic: [NUC240] LIN Bus Data Transfer
Replies: 0
Views: 816

[NUC240] LIN Bus Data Transfer

Application: The code is a demonstration of how to transfer data through LIN Bus. BSP Version: NUC230_240 Series BSP CMSIS v3.01.001 Hardware: NuTiny-EVB-NUC240 v1.2 LIN (Local Interconnect Network) is a serial network protocol used for communication between components and supports a broadcast seri...
by chhsieh3
13 May 2020, 14:27
Forum: Example Code
Topic: [M451] Access FAT on SPI Mode SD Card
Replies: 0
Views: 913

[M451] Access FAT on SPI Mode SD Card

Application: This sample code accesses the FAT file system on the SD card by the SPI interface. BSP Version: M451 Series BSP CMSIS V3.01.003 Hardware: NuTiny-EVB-M451-LQFP100 V1.3 This sample code accesses the FAT file system on the SD card by the SPI interface. It also demonstrates how to read and...
by chhsieh3
13 May 2020, 14:24
Forum: Example Code
Topic: [M480] Extract Color Data by PDMA Stride Mode
Replies: 0
Views: 833

[M480] Extract Color Data by PDMA Stride Mode

Application: Extract red, green and blue data from a RGB color array by PDMA stride mode. BSP Version: M480 Series BSP CMSIS V3.04.000 Hardware: NuMaker-ETM-M487 v1.2 This example code shows how to extract red, green and blue data from a RGB color array by PDMA stride mode of M480 series. You can d...
by chhsieh3
13 May 2020, 14:21
Forum: Example Code
Topic: [NUC140] UART Rx Time-out Interrupt
Replies: 0
Views: 1104

[NUC140] UART Rx Time-out Interrupt

Application: This code uses UART Rx time-out interrupt to receive data. BSP Version: NUC100/120 BSP v3.00.004 Hardware: NuTiny-EVB-NUC140 LQFP100 V1.0 The FIFO depth for NUC140 UAR0 is 64 bytes. User can configure the data threshold as 1/4/8/14/30/46/62 bytes to trigger Rx interrupt when receiving ...
by chhsieh3
13 May 2020, 14:18
Forum: Example Code
Topic: [NUC240] Use ADC, GPIO and USB Mouse in RTX
Replies: 0
Views: 847

[NUC240] Use ADC, GPIO and USB Mouse in RTX

Application: This code uses ADC, GPIO and USB mouse in RTX. BSP Version: NUC230_240 Series BSP CMSIS V3.01.001 Hardware: NuEdu-EVB-NUC240 V2.1 and NuEdu-Basic01 V2.1 When a microcontroller application has to handle many tasks at the same time, we can use RTOS (real-time operating system) to help us...
by chhsieh3
13 May 2020, 14:15
Forum: Example Code
Topic: [NUC123] Software De-bounce
Replies: 0
Views: 784

[NUC123] Software De-bounce

Application: When I/O detection, use SysTick to count. If there is a bounce between a certain period of time, do not respond to avoid the noise. BSP Version: NUC123 Series BSP CMSIS v3.01.001 Hardware: NuTiny-EVB-123-LQFP64_V1.0 Under normal circumstances, when the I/O detects the signal, it is lik...
by chhsieh3
13 May 2020, 14:12
Forum: Example Code
Topic: [MS51] Three Phase Sine Wave
Replies: 0
Views: 928

[MS51] Three Phase Sine Wave

Application: This code uses MS51 PWM Channel 0 (P1.2), Channel 1 (P1.1) and Channel 2 (P1.0) to generate 60 Hz three phase sine wave for application. BSP Version: MS51 Series BSP Keil V1.00.002 Hardware: NuTiny-MS51FB V1.1 This example code uses MS51 PWM Channel 0 (P1.2), Channel 1 (P1.1) and Chann...