| 전자부품 데이터시트 검색엔진 |
|
AN4062 데이터시트(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4062 데이터시트(HTML) 11 Page - STMicroelectronics |
|
11 / 17 page ![]() DocID022897 Rev 3 11/17 AN4062 Peripheral firmware examples description 3.12 DMA RAM DAC example Purpose This example provides a description of how to use a DMA channel to transfer data buffer from RAM memory to DAC. Description DMA1 channel3 is configured to transfer continuously, word by word, a Half-word buffer to the DAC register DAC_DHR12R. The DAC channel conversion is configured to be triggered by TIM2 TRGO triggers and without noise/triangle wave generation.12-bit right data alignment is selected since we choose to access the DAC_DHR12R register. Note: Connect PA.04 pin to an oscilloscope. 3.13 DAC signal generation example Purpose This example provides a short description of how to use the DAC peripheral to generate several signals using the DMA controller. Description When the user presses the push-button, DMA transfers the selected waveform to DAC. • For each press on the push-button, one signal has been selected and monitored on the DAC Channel 1 • Escalator waveform (Channel 1). • Sine waveForm (Channel 1). Note: Use the push-button connected to PA0. Note: Connect PA4 (DAC Channel1) pin to an oscilloscope to monitor the DAC out wave. 3.14 TIM complementary signal example Purpose This example shows how to configure the TIM1 peripheral to generate three complementary TIM1 signals, to insert a defined dead time value, to use the break feature and to lock the desired parameters. Description TIM1CLK is fixed to SystemCoreClock, the TIM1 Prescaler is equal to 0 so the TIM1 counter clock used is SystemCoreClock (48 MHz). The objective is to generate a PWM signal at 17.57 KHz: • TIM1_Period = (SystemCoreClock / 17570) - 1 |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |