摘要: Cortex-M4 Core RegistersGoal:visualizingwhat happens to the Cortex-M4 core registers after resetHere's what happens after the processor is reset:Gener... 阅读全文
posted @ 2015-09-08 23:25 IAmAProgrammer 阅读(717) 评论(0) 推荐(0) 编辑
摘要: STM32 F4 ADC DMA Temperature SensorGoal:detecting temperature variations using a temperature sensor, ADC with DMA and TIM3 as a trigger (ADC sampling ... 阅读全文
posted @ 2015-09-08 23:23 IAmAProgrammer 阅读(1733) 评论(0) 推荐(0) 编辑
摘要: STM32 F4 Clock SourcesGoal:routing clock sources to the microcontroller output pin (MCO1)High-speed internal (HSI) clock is 16MHzHigh-speed external (... 阅读全文
posted @ 2015-09-08 23:16 IAmAProgrammer 阅读(736) 评论(0) 推荐(0) 编辑
摘要: STM32 F4 DAC DMA Waveform GeneratorGoal:generating an arbitrary periodic waveform using a DAC with DMA and TIM6 as a trigger.Agenda:Modeling a wavefor... 阅读全文
posted @ 2015-09-08 23:15 IAmAProgrammer 阅读(5298) 评论(0) 推荐(0) 编辑
摘要: STM32 F4 General-purpose Timers for Periodic Interrupts 阅读全文
posted @ 2015-09-08 23:12 IAmAProgrammer 阅读(373) 评论(0) 推荐(0) 编辑
摘要: STM32 F4 SPI Accelerometer 阅读全文
posted @ 2015-09-08 23:11 IAmAProgrammer 阅读(375) 评论(0) 推荐(0) 编辑
摘要: STM32 F4 GPIO ModesGoal:creating a visual summary of GPIO configuration modes.The summary at the bottom shows the major configuration choices.Basic el... 阅读全文
posted @ 2015-09-08 23:10 IAmAProgrammer 阅读(599) 评论(0) 推荐(0) 编辑
摘要: PWM实现ADC和DAC一、PWM实现AD 利用普通单片机的2个IO及一个运算放大器即可实现AD转换电路,而且很容易扩展成多通道。其占用资源少,成本低,AD 转换精度可以达到8位甚至更高,因此具有一定的实用价值。1.1 硬件电路说明图一中“RA0”和“RA1”为单片机的两个I/O脚,分别将其设置为输... 阅读全文
posted @ 2015-09-08 22:21 IAmAProgrammer 阅读(2328) 评论(0) 推荐(0) 编辑
摘要: DELPHI - How to use opendialog1 for choosing a folder?On Vista and up you can show a more modern looking dialog usingTFileOpenDialog.var OpenDialog: ... 阅读全文
posted @ 2015-09-08 12:11 IAmAProgrammer 阅读(8577) 评论(0) 推荐(0) 编辑
摘要: Timers get their clock source from External pins or Internal timer sources.ExternalExternal = pins: TI1 or TI2 or ETRset pin to be used:in TIMx_CCMR1 ... 阅读全文
posted @ 2015-09-08 12:03 IAmAProgrammer 阅读(10074) 评论(0) 推荐(0) 编辑
摘要: How do you generate complementary PWM Outputs?I would like to generate complementary PWM Outputs with adjustable dead time.According to the STM32F401R... 阅读全文
posted @ 2015-09-08 08:56 IAmAProgrammer 阅读(1827) 评论(0) 推荐(0) 编辑