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