MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 244

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Digital-to-analog converter (DAC)
12.4.11
12.5
12.5.1
244/995
31
15
Reserved
Reserved
30
14
Bits 31:29 Reserved.
added to the DHR2 register and the sum is transferred into DAC_DOR2 (three APB1 clock
cycles later). The DAC channel2 triangle counter is then updated.
Simultaneous trigger with different triangle generation
To configure the DAC in this conversion mode, the following sequence is required:
When a trigger arrives, the DAC channel1 triangle counter, with a triangle amplitude
configured by MAMP1[3:0], is added to the DHR1 register and the sum is transferred into
DAC_DOR1 (three APB1 clock cycles later). Then the DAC channel1 triangle counter is
updated.
At the same time, the DAC channel2 triangle counter, with a triangle amplitude configured
by MAMP2[3:0], is added to the DHR2 register and the sum is transferred into DAC_DOR2
(three APB1 clock cycles later). Then the DAC channel2 triangle counter is updated.
DAC registers
DAC control register (DAC_CR)
Address offset: 0x00
Reset value: 0x0000 0000
Bit 28 DMAEN2: DAC channel2 DMA enable
29
13
Set the two DAC channel trigger enable bits TEN1 and TEN2
Configure the same trigger source for both DAC channels by setting the same value in
the TSEL1[2:0] and TSEL2[2:0] bits
Configure the two DAC channel WAVEx[1:0] bits as “1x” and set different maximum
amplitude values in the MAMP1[3:0] and MAMP2[3:0] bits
Load the dual DAC channel data into the desired DHR register (DAC_DHR12RD,
DAC_DHR12LD or DAC_DHR8RD)
DMA
DMA
EN2
EN1
28
12
rw
rw
This bit is set and cleared by software.
0: DAC channel2 DMA mode disabled
1: DAC channel2 DMA mode enabled
27
rw
11
rw
26
MAMP2[3:0]
rw
10
MAMP1[3:0]
rw
25
rw
rw
9
Doc ID 13902 Rev 9
24
rw
rw
8
23
WAVE2[1:0]
rw
WAVE1[1:0]
rw
7
22
rw
rw
6
21
rw
rw
5
TSEL2[2:0]
TSEL1[2:0]
20
rw
rw
4
19
rw
rw
3
TEN2
TEN1
18
rw
rw
2
BOFF2
BOFF1
17
rw
rw
1
RM0008
EN2
EN1
16
rw
rw
0

Related parts for MCBSTM32EXL