Atmel SAM4L-EK Atmel ATSAM4L-EK ATSAM4L-EK Data Sheet

Product codes
ATSAM4L-EK
Page of 1204
1047
42023E–SAM–07/2013
ATSAM4L8/L4/L2
39.6.11
Automated Character Mapping
Displaying predefined character strings can be automated using the Peripheral DMA Controller
(PDCA). Two modes are available, defined by MODE bit in Automated Character Mapping Con-
figuration register (ACMCFG):
• MODE=0, the sequential character string display mode is selected
• MODE=1, the scrolling of character string display mode is selected
39.6.11.1
Sequential Characters String Display
This mode displays characters of a string periodically (frame basis).
The configuration is:
• specify the number of digits to display (ACMCFG.DIGN),
• specify the type of digit (ACMCFG.TDG), see 
,
• specify the start segment (ACMCFG.STSEG) of the first character of the string,
• select the digit reverse mode (ACMCFG.DREV) if required. This mode is useful if digits have 
been inverted on the glass (first digit on the right),
• set the display period by writing the number of frame between each display in Frame Counter 
x in TIM register (TIM.FCx),
• select a frame counter by writing its number in ACMCFG.FCS,
• enable this mode by writing a one to the ACMCFG.EN bit,
• configure PDCA to transfer an ASCII character string of any size (should a multiple of the 
number of digit). To repeat the character string display, repeat the PDCA transfer.
TIM.FCx defines the number of frames between each PDCA transfer (display update).
If frame rate is 50Hz (20ms) in standard waveform mode, characters are displayed with a period
from 160ms up to 5.1s. 
Nframes
8
FCx
1
+
(
)
×
=