Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (3)
STM32 high accuracy frequency measurement
4.2
Enter capture mode can be used to measure the pulse width or frequency. STM32 timer, except TIM6, TIM7, others timers with input capture functions. STM32 input capture simply means that by detecting the edge of the signal on the TIMx_CHx, at the edge of signal hopping (like rising/falling edge) when the current timer value (TIMx_CNT) to store the channel to the corresponding capture/compare registers (TIMx_CCRx), and completing a capture. Can also be configured to capture triggers an interrupt when .     such as/DMA for example: TIM5_CH1 we used to capture high level pulse width, that is, to set the input capture is a rising edge detection, recorded rising edge TIM5_CNT values. And then configure the capture signal falling edge of capture, when fall arrives, capture and record TIM5_CNT values at this time. Thus, difference between two TIM5_CNT that high level pulse width, TIM5 count frequency, we are aware of, so you can calculate the exact time of high level pulse
Tim792928
2016-08-23
4
1
Ad9851 sine wave
no vote
AD9851 ADI uses advanced DDS technology launched high integration of DDS frequency synthesizer, it includes programmable DDS system, high performance, high speed DAC and comparator, to achieve the programmable digital frequency synthesis and clock. AD9851 interface function is simple to control, you can use 8-bit parallel port or serial port directly enter the frequency and phase control data. 32-bit control word, under the 180MHz clock output frequency resolution is up to 0.0372Hz. Advanced CMOS process AD9851 performance indicators not only first-class, and low power consumption, 3.3V power supply, power consumption of only 155mW. Generate sine wave based on the ad9851 chip   with STM32 as the core control
Tim792928
2016-08-23
0
1
STM32 generated sine wave
4.0
12-bit digital input, voltage output, DAC can be configured as an 8-bit or 12-bit modes. There are 2 output channels. In the dual DAC mode, both channels can work independently.   Special function:  noise Waveform generated, triangle Waveform generated, external triggered conversion, double DAC while or respectively conversion; each channel are has DMA function;  reference voltage: 2.4V~ 3.3V  because once makes can DAC channel, so corresponding of GPIO will automatically to connection to DAC conversion device, so, simulation output Qian should set into simulation entered, purposes is avoid parasitic of interference and extra of power;
Tim792928
2016-08-23
0
1
No more~