SEARCH
TOOLBOX
LANGUAGES
modified on 12 April 2012 at 16:06 ••• 112,083 views

Lincoln CMSIS Examples

From Manuals

(Difference between revisions)
Jump to: navigation, search
 
(25 intermediate revisions not shown)
Line 1: Line 1:
-
The Micromint Lincoln includes an extensive set of code examples using CMSIS to help you get started with your applications. This table summarizes the examples available for different models of the Lincoln line. Our support staff ( support@micromint.com) can assist you with questions on specific functions.
+
The Micromint Lincoln includes an extensive set of code examples using CMSIS to help you get started with your applications. A zip file of the examples can be downloaded from the [[Lincoln_Documentation#Code_Examples|Software Updates section of the Lincoln Wiki]]. This table summarizes the examples available for different models of the Lincoln line. Our support staff ( support@micromint.com) can assist you with questions on specific functions.
{| border="1" cellpadding="2" cellspacing="2"
{| border="1" cellpadding="2" cellspacing="2"
Line 10: Line 10:
|-
|-
|[[Lincoln ADC Burst Example|adc_burst]]
|[[Lincoln ADC Burst Example|adc_burst]]
-
|Analog to Digital Converter
+
|Demonstrates ADC conversions in burst mode with multiple inputs.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
|[[Lincoln ADC DMA Example|adc_dma]]
|[[Lincoln ADC DMA Example|adc_dma]]
-
|Analog to Digital Converter
+
|Demonstrates ADC conversions and transfer converted data by using the DMA.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
Line 25: Line 25:
|-
|-
|[[Lincoln ADC Interrupt Example|adc_int]]
|[[Lincoln ADC Interrupt Example|adc_int]]
-
|Analog to Digital Converter
+
|Demonstrates triggering an Analog to Digital Conversion using an digital input.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
|[[Lincoln ADC Polling Example|adc_polling]]
|[[Lincoln ADC Polling Example|adc_polling]]
-
|Analog to Digital Converter
+
|Demonstrates Analog to Digital conversions using the polling method.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln Blinky Example|gpio_blinky]]
+
|[[Lincoln Bit Banding Example|bitband]]
-
|Blink the on board User LEDs
+
|Demonstrates the bit-banding feature of the Cortex-M3 processor.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln MPU Example|mpu]]
 +
|Demonstrates the MPU (Memory Protection Unit) feature of the Cortex-M3 processor.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Privilege Mode Example|privilege_mode]]
 +
|Demonstrates the privilege mode feature of the Cortex-M3 processor.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
Line 44: Line 54:
|[[Image:checkmark.gif]](*)
|[[Image:checkmark.gif]](*)
|-
|-
-
|[[Lincoln DAC Example|dac]]
+
|[[Lincoln DAC Example|dac_dma]]
-
|10-bit Digital to Analog Converter
+
|Demonstrates DMA transfers data to 10 bit DAC.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln emac_uip Example|emac_uip]]
+
|[[Lincoln DAC Sinewave Example|dac_sinewave_test]]
 +
|Generating a sine wave using the 10-bit DAC.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln DAC Wave Generation Example|dac_wavegenerate]]
 +
|Generating a sine, a triangle, or a escalator wave.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln emac_easyweb Example|emac_easyweb]]
 +
|Displays ADC channel 0 and 1 as a bar graph on a webpage.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:xmark.gif]]
 +
|-
 +
|[[Lincoln emac_uip Example|uip_webserver]]
|Simple uIP web server
|Simple uIP web server
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:xmark.gif]]
|[[Image:xmark.gif]]
|-
|-
-
|[[Lincoln hello Example|hello]]
+
|[[Lincoln raw Example|raw]]
-
|Simple console output
+
|Tests test the EMAC driver with a raw packet frame format.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:xmark.gif]]
 +
|-
 +
|[[Lincoln gpdma_flash2ram Example|gpdma_flash2ram]]
 +
|Demonstrates transferring data from Flash to Ram memory.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln gpdma_linklist Example|gpdma_linklist]]
 +
|Demonstrates how to use a link list with the genral purpose DMA.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln gpdma_ram2ram Example|gpdma_ram2ram]]
 +
|Demonstrates transferring data from a location in RAM to a new location in RAM memory.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln gpdma_sleep Example|gpdma_sleep]]
 +
|Demonstrates transferring data from RAM to RAM in sleep mode.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Blinky Example|gpio_blinky]]
 +
|Blink the on board User LEDs
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln GPIO Interrupt Example|gpio_int]]
 +
|Blink the on board User LEDs
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln NVIC Vector Table Relocation Example|nvic_vt_relocation]]
 +
|Demonstrates how to relocate the vector table.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
Line 75: Line 135:
|-
|-
|[[Lincoln pwr_extint_sleep Example|pwr_extint_sleep]]
|[[Lincoln pwr_extint_sleep Example|pwr_extint_sleep]]
-
|Demonstrates how to enter system in sleep mode and wake-up by using an external interrupt.
+
|Demonstrates how to enter sleep mode and wake-up by using an external interrupt.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln rtc Example|rtc]]
+
|[[Lincoln pwr_nmi_powerdown Example|pwr_nmi_powerdown]]
 +
|Demonstrates how to enter PowerDown mode and wake-up using NMI.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln pwr_rtc_deeppwd Example|pwr_rtc_deeppwd]]
 +
|Demonstrates how to enter Deep PowerDown mode and wake-up by using the RTC.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln pwr_wdt_deepsleep Example|pwr_wdt_deepsleep]]
 +
|Demonstrates how to enter DeepSleep mode and wake it up by using WDT Interrupt.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln RIT interrupt Example|rit_int]]
 +
|Demonstrates using RIT as a timer to generate interrupt.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln rtc Example|rtc_alarm]]
|Simple Real Time Clock demonstration
|Simple Real Time Clock demonstration
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln sd_card Example|sd_card]]
+
|[[Lincoln RTC Calibration Example|rtc_calibration]]
-
|microSD card using FAT file system
+
|Demonstrates how to calibrate real-time clock.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln timer Example|timer]]
+
|[[Lincoln spi_sd_ffs Example|spi_sd_ffs]]
-
|Timer interrupts
+
|Demonstrates using the FAT File System with a micro SD card.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln uart_echo Example|uart_echo]]
+
|[[Lincoln sd_card Example|spi_sdcard]]
-
|UART interrupts
+
|Demonstrates using SPI to read a micro SD card's CID register.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln usb_dev_hid Example|usb_dev_hid]]
+
|[[Lincoln SSP DAC Example|ssp_dac_test]]
 +
|Demonstrates the optional 4 channel 12-bit DAC.
 +
|[[Image:checkmark.gif]](*)
 +
|[[Image:checkmark.gif]](*)
 +
|-
 +
|[[Lincoln Systick Example|systick_10ms]]
 +
|Demonstrates using systick to generate an interrupt every 10 milli-seconds.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer Capture Example|timer_capture]]
 +
|Demonstrates how to use the capture timer function.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer Frequency Measure Example|timer_freqmeasure]]
 +
|Demonstrates how to use the how to use timer to measure a signal's frequency.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer to Generate Different Delays|timer_gen_diff_delay]]
 +
|Demonstrates how to use the timer match to generate different delay signals.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer to Generate Different Frequencies|timer_gen_diff_freqs]]
 +
|Demonstrates how to use Timer Match to generate 2 different frequency signals.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer Match Interrupt|timer_match_int]]
 +
|Demonstrates how to use the timer match to generate specific time in interrupt mode.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer Match Polling|timer_poll_match]]
 +
|Demonstrates how to use the timer match to generate specific time in polling mode.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln Timer to Generate a PWM|timer_pwmsignal]]
 +
|Demonstrates how to use timers to generate PWM signals with different duty cycles.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln UART Auto Baud Detect Example|uart_autobaud]]
 +
|Demonstrates the auto baudrate mode in a simple UART example.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln UART DMA Mode Example|uart_dma]]
 +
|Demonstrates how to use the UART in DMA mode.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln UART Interrupt Mode Example|uart_int]]
 +
|Demonstrates how to use the UART in interrupt mode.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln UART Polling Mode Example|uart_polling]]
 +
|Demonstrates how to use the UART in polling mode.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln UART RS485 Example|uart_rs485_master]]
 +
|Demonstrates how to use the optional RS485 port in master mode.
 +
|[[Image:checkmark.gif]](*)
 +
|[[Image:checkmark.gif]](*)
 +
|-
 +
|[[Lincoln UART RS485 Example|uart_rs485_slave]]
 +
|Demonstrates how to use the optional RS485 port in slave mode.
 +
|[[Image:checkmark.gif]](*)
 +
|[[Image:checkmark.gif]](*)
 +
|-
 +
|[[Lincoln usbdev_cdc Example|usbdev_cdc]]
 +
|Demonstrates the USBDEV port as a virtual COM port.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln usb_dev_hid Example|usbdev_hid]]
|USB Human Interface Device
|USB Human Interface Device
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln usb_dev_msc Example|usb_dev_msc]]
+
|[[Lincoln usb_dev_msc Example|usbdev_mass_storage]]
|USB Device Mass Storage Demo
|USB Device Mass Storage Demo
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
Line 114: Line 274:
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|-
|-
-
|[[Lincoln watchdog Example|watchdog]]
+
|[[Lincoln watchdog Example|wdt_int]]
-
|Watchdog example
+
|Demonstrates the use of WDT to generate interrupt after a specific time.
 +
|[[Image:checkmark.gif]]
 +
|[[Image:checkmark.gif]]
 +
|-
 +
|[[Lincoln watchdog reset|wdt_reset]]
 +
|Demonstrates the use of WDT to generate chip reset after avspecific time.
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|[[Image:checkmark.gif]]
|}
|}
(*) Included with the I/O Plus option
(*) Included with the I/O Plus option

Current revision as of 16:06, 12 April 2012

The Micromint Lincoln includes an extensive set of code examples using CMSIS to help you get started with your applications. A zip file of the examples can be downloaded from the Software Updates section of the Lincoln Wiki. This table summarizes the examples available for different models of the Lincoln line. Our support staff ( support@micromint.com) can assist you with questions on specific functions.

Lincoln Examples
Example Description Lincoln 60E Lincoln 60
adc_burst Demonstrates ADC conversions in burst mode with multiple inputs. Image:checkmark.gif Image:checkmark.gif
adc_dma Demonstrates ADC conversions and transfer converted data by using the DMA. Image:checkmark.gif Image:checkmark.gif
adc_hardware_trigger Analog to Digital Converter Image:checkmark.gif Image:checkmark.gif
adc_int Demonstrates triggering an Analog to Digital Conversion using an digital input. Image:checkmark.gif Image:checkmark.gif
adc_polling Demonstrates Analog to Digital conversions using the polling method. Image:checkmark.gif Image:checkmark.gif
bitband Demonstrates the bit-banding feature of the Cortex-M3 processor. Image:checkmark.gif Image:checkmark.gif
mpu Demonstrates the MPU (Memory Protection Unit) feature of the Cortex-M3 processor. Image:checkmark.gif Image:checkmark.gif
privilege_mode Demonstrates the privilege mode feature of the Cortex-M3 processor. Image:checkmark.gif Image:checkmark.gif
can_twokit CAN Bus exercise Image:checkmark.gif(*) Image:checkmark.gif(*)
dac_dma Demonstrates DMA transfers data to 10 bit DAC. Image:checkmark.gif Image:checkmark.gif
dac_sinewave_test Generating a sine wave using the 10-bit DAC. Image:checkmark.gif Image:checkmark.gif
dac_wavegenerate Generating a sine, a triangle, or a escalator wave. Image:checkmark.gif Image:checkmark.gif
emac_easyweb Displays ADC channel 0 and 1 as a bar graph on a webpage. Image:checkmark.gif Image:xmark.gif
uip_webserver Simple uIP web server Image:checkmark.gif Image:xmark.gif
raw Tests test the EMAC driver with a raw packet frame format. Image:checkmark.gif Image:xmark.gif
gpdma_flash2ram Demonstrates transferring data from Flash to Ram memory. Image:checkmark.gif Image:checkmark.gif
gpdma_linklist Demonstrates how to use a link list with the genral purpose DMA. Image:checkmark.gif Image:checkmark.gif
gpdma_ram2ram Demonstrates transferring data from a location in RAM to a new location in RAM memory. Image:checkmark.gif Image:checkmark.gif
gpdma_sleep Demonstrates transferring data from RAM to RAM in sleep mode. Image:checkmark.gif Image:checkmark.gif
gpio_blinky Blink the on board User LEDs Image:checkmark.gif Image:checkmark.gif
gpio_int Blink the on board User LEDs Image:checkmark.gif Image:checkmark.gif
nvic_vt_relocation Demonstrates how to relocate the vector table. Image:checkmark.gif Image:checkmark.gif
pwm_dualedge Demonstrates PWM in edge and single mode Image:checkmark.gif Image:checkmark.gif
pwm_matchint Demonstrates PWM Match function in interrupt mode Image:checkmark.gif Image:checkmark.gif
pwm_singleedge Demonstrates PWM in single edge mode Image:checkmark.gif Image:checkmark.gif
pwr_extint_sleep Demonstrates how to enter sleep mode and wake-up by using an external interrupt. Image:checkmark.gif Image:checkmark.gif
pwr_nmi_powerdown Demonstrates how to enter PowerDown mode and wake-up using NMI. Image:checkmark.gif Image:checkmark.gif
pwr_rtc_deeppwd Demonstrates how to enter Deep PowerDown mode and wake-up by using the RTC. Image:checkmark.gif Image:checkmark.gif
pwr_wdt_deepsleep Demonstrates how to enter DeepSleep mode and wake it up by using WDT Interrupt. Image:checkmark.gif Image:checkmark.gif
rit_int Demonstrates using RIT as a timer to generate interrupt. Image:checkmark.gif Image:checkmark.gif
rtc_alarm Simple Real Time Clock demonstration Image:checkmark.gif Image:checkmark.gif
rtc_calibration Demonstrates how to calibrate real-time clock. Image:checkmark.gif Image:checkmark.gif
spi_sd_ffs Demonstrates using the FAT File System with a micro SD card. Image:checkmark.gif Image:checkmark.gif
spi_sdcard Demonstrates using SPI to read a micro SD card's CID register. Image:checkmark.gif Image:checkmark.gif
ssp_dac_test Demonstrates the optional 4 channel 12-bit DAC. Image:checkmark.gif(*) Image:checkmark.gif(*)
systick_10ms Demonstrates using systick to generate an interrupt every 10 milli-seconds. Image:checkmark.gif Image:checkmark.gif
timer_capture Demonstrates how to use the capture timer function. Image:checkmark.gif Image:checkmark.gif
timer_freqmeasure Demonstrates how to use the how to use timer to measure a signal's frequency. Image:checkmark.gif Image:checkmark.gif
timer_gen_diff_delay Demonstrates how to use the timer match to generate different delay signals. Image:checkmark.gif Image:checkmark.gif
timer_gen_diff_freqs Demonstrates how to use Timer Match to generate 2 different frequency signals. Image:checkmark.gif Image:checkmark.gif
timer_match_int Demonstrates how to use the timer match to generate specific time in interrupt mode. Image:checkmark.gif Image:checkmark.gif
timer_poll_match Demonstrates how to use the timer match to generate specific time in polling mode. Image:checkmark.gif Image:checkmark.gif
timer_pwmsignal Demonstrates how to use timers to generate PWM signals with different duty cycles. Image:checkmark.gif Image:checkmark.gif
uart_autobaud Demonstrates the auto baudrate mode in a simple UART example. Image:checkmark.gif Image:checkmark.gif
uart_dma Demonstrates how to use the UART in DMA mode. Image:checkmark.gif Image:checkmark.gif
uart_int Demonstrates how to use the UART in interrupt mode. Image:checkmark.gif Image:checkmark.gif
uart_polling Demonstrates how to use the UART in polling mode. Image:checkmark.gif Image:checkmark.gif
uart_rs485_master Demonstrates how to use the optional RS485 port in master mode. Image:checkmark.gif(*) Image:checkmark.gif(*)
uart_rs485_slave Demonstrates how to use the optional RS485 port in slave mode. Image:checkmark.gif(*) Image:checkmark.gif(*)
usbdev_cdc Demonstrates the USBDEV port as a virtual COM port. Image:checkmark.gif Image:checkmark.gif
usbdev_hid USB Human Interface Device Image:checkmark.gif Image:checkmark.gif
usbdev_mass_storage USB Device Mass Storage Demo Image:checkmark.gif Image:checkmark.gif
usb_host_msc USB Host Mass Storage Demo Image:checkmark.gif Image:checkmark.gif
wdt_int Demonstrates the use of WDT to generate interrupt after a specific time. Image:checkmark.gif Image:checkmark.gif
wdt_reset Demonstrates the use of WDT to generate chip reset after avspecific time. Image:checkmark.gif Image:checkmark.gif

(*) Included with the I/O Plus option