ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Вторник
16 апреля
892045 Топик полностью
Andreas (27.12.2018 20:44, просмотров: 206) ответил VLLV на Там есть четыре управляющих регистра, которые могут задавать режим следующей конверсии аппаратно без участия ядра. Т.е. быстро - 4. Мало, конечно, в том же MSP430 все 8 входов могут барабанить без устали.
Вроде через дма можно все каналы аппаратно. Но это для К серии ADC Flexible Scan mode requires two DMA channels for one ADC converter. DMA channel 1, with a higher priority, transfers the resultant ADC data from the ADCx_RA register to a memory buffer in the SRAM. DMA channel 0, with a lower priority, transfers a future ADC channel setting (input multiplexer channel and single end/differential mode) from the constant buffer, which could be placed in SRAM or flash memory. The following steps occur in Flexible Scan mode: 1. The conversion complete flag ADCxSC1A.COCO requests a DMA transfer for channel 1. 2. The channel 1 transfer finishes and the resulting value is transferred to the SRAM buffer. 3. Since channel 1 is linked to channel 0, the channel 1 finish requests a transfer start on channel 0