NUTINY-SDK-M0516 Nuvoton Technology Corporation of America, NUTINY-SDK-M0516 Datasheet - Page 238

no-image

NUTINY-SDK-M0516

Manufacturer Part Number
NUTINY-SDK-M0516
Description
BOARD EVAL NUMICRO M051 SERIES
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Type
MCUr
Datasheets

Specifications of NUTINY-SDK-M0516

Contents
Board, Cable
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
M051™ Series, M052/M054/M058/M0516
NuMicro M051
Series Technical Reference Manual
Variable Serial Clock Frequency
In master mode, the output of serial clock can be programmed as variable frequency pattern if the
Variable Clock Enable bit VARCLK_EN (SPI_CNTRL [23]) is enabled. The frequency pattern
format is defined in VARCLK (SPI_VARCLK [31:0]) register. If the bit content of VARCLK is ‘0’ the
output frequency is according with the DIVIDER (SPI_DIVIDER[15:0]) and if the bit content of
VARCLK is ‘1’, the output frequency is according to the DIVIDER2 (SPI_DIVIDER[31:16]). The
Figure 6.7-7 is the timing relationship among the serial clock (SPICLK), the VARCLK, the
DIVIDER and the DIVIDER2 registers. A two-bit combination in the VARCLK defines one clock
cycle. The bit field VARCLK [31:30] defines the first clock cycle of SPICLK. The bit field VARCLK
[29:28] defines the second clock cycle of SPICLK and so on. The clock source selections are
defined in VARCLK and it must be set 1 cycle before the next clock option. For example, if there
are 5 CLK1 cycle in SPICLK, the VARCLK shall set 9 ‘0’ in the MSB of VARCLK. The 10th shall
be set as ‘1’ in order to switch the next clock source is CLK2. Note that when enable the
VARCLK_EN bit, the setting of TX_BIT_LEN must be programmed as 0x10 (16 bits mode only).
Figure 6.7-7 Variable Serial Clock Frequency
Publication Release Date: Sep 14, 2010
- 238 -
Revision V1.2

Related parts for NUTINY-SDK-M0516