SEARCH
TOOLBOX
LANGUAGES
modified on 4 January 2013 at 16:28 ••• 117,463 views

Lincoln FAQ

From Manuals

(Difference between revisions)
Jump to: navigation, search
(What are the maximum data rates for on-board ADCs and DACs?)
Line 7: Line 7:
==What are the maximum data rates for on-board ADCs and DACs?==
==What are the maximum data rates for on-board ADCs and DACs?==
The Micromint Lincoln can sample the ADC at 200 kHz when configured to read with 12-bit resolution and 500 kHz when configured to read with 10-bit resolution. The 10-bit DAC can be updated in 1 µS. The optional 12-bit DAC can be updated at a maximum of 150 kHz for 1 channel. The data transfer is 16-bits at 50 MHz which is a total of 320 nS per data transfer but the optional 12-bit DAC has a settling time of 6 µS so the total time needed is 6.32 µS. All 4 channels of the DAC can be updated at a maximum of 137 kHz. This is accomplished by sending the data for all 4 channels and updating all of the outputs on the last data transfer.
The Micromint Lincoln can sample the ADC at 200 kHz when configured to read with 12-bit resolution and 500 kHz when configured to read with 10-bit resolution. The 10-bit DAC can be updated in 1 µS. The optional 12-bit DAC can be updated at a maximum of 150 kHz for 1 channel. The data transfer is 16-bits at 50 MHz which is a total of 320 nS per data transfer but the optional 12-bit DAC has a settling time of 6 µS so the total time needed is 6.32 µS. All 4 channels of the DAC can be updated at a maximum of 137 kHz. This is accomplished by sending the data for all 4 channels and updating all of the outputs on the last data transfer.
 +
 +
==What character LCD is recommended for use with the Lincoln's LCD connector?==
 +
AZ Displays ACM2004D series is recommended for use with the Lincoln.
 +
 +
http://www.azdisplays.com/index.php?id=Character_Modules&product=c2004d
 +
 +
==What keypad is recommended for use with the Lincoln's keypad connector?==
 +
A Grayhill 4x4 matrix keypad or equivalent keypad will work with the Lincoln. For example Grayhill’s part number 96BB2-006-F.
=Frequently Asked Questions - Software=
=Frequently Asked Questions - Software=
{{:Cortex_M3_FAQ_Software}}
{{:Cortex_M3_FAQ_Software}}

Revision as of 16:36, 11 April 2012

Contents

Frequently Asked Questions - Hardware

Are digital inputs compatible with 5V logic?

Yes. On the LPC1769 microcontroller the high-level input voltage (VIH) has a minimum of 2.3V (70% of VCC) and a maximum of 5.0V. The low-level input voltage (VIL) has a minimum of 0V and a maximum of 1V (30% of VCC).

What are the maximum data rates for on-board ADCs and DACs?

The Micromint Lincoln can sample the ADC at 200 kHz when configured to read with 12-bit resolution and 500 kHz when configured to read with 10-bit resolution. The 10-bit DAC can be updated in 1 µS. The optional 12-bit DAC can be updated at a maximum of 150 kHz for 1 channel. The data transfer is 16-bits at 50 MHz which is a total of 320 nS per data transfer but the optional 12-bit DAC has a settling time of 6 µS so the total time needed is 6.32 µS. All 4 channels of the DAC can be updated at a maximum of 137 kHz. This is accomplished by sending the data for all 4 channels and updating all of the outputs on the last data transfer.

What character LCD is recommended for use with the Lincoln's LCD connector?

AZ Displays ACM2004D series is recommended for use with the Lincoln.

http://www.azdisplays.com/index.php?id=Character_Modules&product=c2004d

What keypad is recommended for use with the Lincoln's keypad connector?

A Grayhill 4x4 matrix keypad or equivalent keypad will work with the Lincoln. For example Grayhill’s part number 96BB2-006-F.

Frequently Asked Questions - Software

Can I develop and debug code for my Micromint ARM Cortex-M3 controller using a Linux PC? a Mac OS X workstation?

Yes. CodeBlocks, Eclipse, OpenOCD and GNU cross compilers for ARM are available for Windows, Linux and Mac OS X. EWARM is only available for Microsoft Windows.

What filesystem types, volume size and filename formats are supported on microSD cards?

The code examples use the FatFS 0.04b library which supports FAT12, FAT16 and FAT32 filesystems. We have tested 4GB microSD cards but the library supports larger volumes. The filename format is 8.3. Long file names are implemented in FatFS 0.07 or above.

How can I detect if the application is compiled with IAR or GCC?

You can use compiler predefined macros as in the example below.

#if defined(__IAR_SYSTEMS_ICC__)
  /* Code to use with IAR compiler */
#elif defined(__GNUC__)
  /* Code to use with GCC compiler */
#else
  #warning Compiler is not supported
#endif

For more details on predefined macros, consult the C preprocessor manuals.

GNU C Preprocessor

Why are some source code statements skipped and some variables unavailable when debugging?

When you enable code optimization, the object code does not necessarily follow the same sequence as the source code. Optimizing compilers like IAR or GCC use loop unrolling, loop collapsing, branch elimination and other techniques that rearrange code to increase execution speed and/or reduce code size. These changes could also eliminate the need for some variables. A common practice during development is to disable compiler optimizations when debugging. The desired optimizations should normally be enabled after most of the debugging is done and the code is stable. For a more consistent debugging environment, any libraries used by the project should be compiled with the same options and compiler version as the application.