| Electronic Components Datasheet Search |
|
AN4566 Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4566 Datasheet(HTML) 7 Page - STMicroelectronics |
|
7 / 19 page ![]() DocID026799 Rev 1 7/19 AN4566 The STM32 DAC system 18 1.4 Digital data update rate The STM32 DAC output data need to be written to the DAC Holding Register (DHR), then the data is move to the DAC Output Register (DOR) for the conversion. Generally, the DAC data is saved in a memory (RAM), and the CPU is in charge of the transferring the data from RAM to DAC. When using the DMA, the overall performance of the system is increased by freeing up the core. This is because data is moved from memory to DAC by DMA, without need for any actions by the CPU. This keeps CPU resources free for other operations. The trigger of the DAC conversion can be done by the software, external triggers or by the timers. For the high speed conversion cases, it is recommended to use the timer trigger in combination with the data transfer done by the DMA. The transfer speed from memory to the DAC is limited by several factors, among them: • the clock cycle of the APB (DAC clock); • the DMA transfer cycle from memory to the DAC (includes the AHB to APB bridge); • the trigger mechanism itself. The DAC on STM32F407x microcontrollers is running on the APB1: • three cycles after the trigger, DHR data is moved to the DOR register; • at the same time a DMA request is generated from DAC to DMA; • DMA transfer takes at least one APB clock cycle. So a total of 4APB clock cycles are needed to update the DAC DOR register data. As APB1 maximum clock is 42 MHz (for ST32F407x), 10.5 Msps is the maximum update rate for the DAC output register when timer trigger and the DMA are used for the data update. The minimum transfer clock cycle by DMA to the DAC are not the same for all STM32 microcontrollers, because of the different bus configuration. Table 2 shows the maximum sampling rate for different STM32 products. Table 2. Maximum sampling time for different STM32 microcontrollers Product APB max speed DAC max sampling rate STM32F0 series 48 MHz 4.8 Msps STM32F100xx 24 MHz 2.4 Msps STM32F101xx STM32F103xx STM32F105xx STM32F107xx 36 MHz 4.5 Msps STM32F2 series 30 MHz 7.5 Msps STM32F3 series 36 MHz 4.5 Msps STM32F40x STM32F41x 42 MHz 10.5 Msps STM32F42x 45 MHz 11.25 Msps STM32L0 series 32 MHz 4.0 Msps STM32L1 series 32 MHz 3.2 Msps |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |