User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/teaching/ie0117/proyectos/2012/i/final/stm32f4-discovery/controlador.meta failed
teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:controlador

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:controlador [2016/03/07 15:25] – ↷ Page moved from teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:controlador to teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:controlador amorateaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:controlador [2022/09/20 00:08] (current) – external edit 127.0.0.1
Line 70: Line 70:
 From the image you might observe that there is a counter (CNT), three compare registers, and six outputs CH1, CH1N, CH2, CH2N, CH3 and CH3N, the N comes from negated, meaning that that output will have the opposite sign than it's predecessor. This six channels will be the six signals we'll use to generate the sine wave. From the image you might observe that there is a counter (CNT), three compare registers, and six outputs CH1, CH1N, CH2, CH2N, CH3 and CH3N, the N comes from negated, meaning that that output will have the opposite sign than it's predecessor. This six channels will be the six signals we'll use to generate the sine wave.
  
-There are some details that must be set before generating the PWM ([[teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:setup|set_up.c]]):+There are some details that must be set before generating the PWM ([[teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:setup|set_up.c]]):
  
   * We must start the clock   * We must start the clock
Line 100: Line 100:
 These are all the files needed to run it: These are all the files needed to run it:
  
-  - Setup file, this enables the GPIO, the acceptance of interruptions, the reset and clock control (rcc), sets the function the timer will be performing, and so on [[teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:setup|set_up.c]]  +  - Setup file, this enables the GPIO, the acceptance of interruptions, the reset and clock control (rcc), sets the function the timer will be performing, and so on [[teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:setup|set_up.c]]  
-  - Interrupt handler, this file manages the interruption of the user button, and also changes the PWM duty cycle when the counter reaches the compare value [[teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:interrupt|interrupt_handler.c]] +  - Interrupt handler, this file manages the interruption of the user button, and also changes the PWM duty cycle when the counter reaches the compare value [[teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:interrupt|interrupt_handler.c]] 
-  - PWM file this file just calls the other functions, to set the GPIO, the CLK, the TIM, and the EXTI (external interrupt) [[teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:pwm_c|pwm_6step_experiment.c]]. In the header are defined some constants [[teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:pwm_h|pwm_6step_experiment.h]] +  - PWM file this file just calls the other functions, to set the GPIO, the CLK, the TIM, and the EXTI (external interrupt) [[teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:pwm_c|pwm_6step_experiment.c]]. In the header are defined some constants [[teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:pwm_h|pwm_6step_experiment.h]] 
-  - Makefile, this is needed to compile the program [[teaching:ie0117:proyectos:2012:proyectos_2012:final:stm32f4-discovery:makefile|Makefile]] :-P+  - Makefile, this is needed to compile the program [[teaching:ie0117:proyectos:2012:i:final:stm32f4-discovery:makefile|Makefile]] :-P
  
 Since we are going to be using mathematical functions like sine function we must add a flag in the //Makefile.include//, so it can recognize these functions.  Since we are going to be using mathematical functions like sine function we must add a flag in the //Makefile.include//, so it can recognize these functions. 
teaching/ie0117/proyectos/2012/i/final/stm32f4-discovery/controlador.1457364315.txt.gz · Last modified: 2022/09/20 00:08 (external edit)