Revision 649f2bd1dbc5702edbc4cbacf44d25ba3ccd8cc9 authored by Felix Ruess on 09 July 2013, 09:34:43 UTC, committed by Felix Ruess on 09 July 2013, 19:17:16 UTC
- krooz: don't use TIM2 for PWM
- change to 6 ticks per usec to fit all frequencies
- on the F1 we assume to run at 72MHz for HCLK and both timer clocks
  TIM1 -> APB2 = HCLK = 72MHz
  TIM2 -> 2 * APB1 = 2 * 36MHz = 72MHz
- on the F4 we assume 2 * AHB clock:
  TIM1 -> 2 * APB2 = 168MHz
  TIM2 -> 2 * APB1 = 84MHz
1 parent 60a6d89
Raw File
ins_arduimu.xml
<!DOCTYPE module SYSTEM "module.dtd">

<module name="ins_ArduIMU" dir="ins">
  <doc>
    <description>ArduIMU v2</description>
  </doc>
  <header>
    <file name="ins_arduimu.h"/>
  </header>
  <init fun="ArduIMU_init()"/>
  <periodic fun="ArduIMU_periodic()" freq="15" autorun="TRUE"/>		<!-- 15 ist soll -->
  <periodic fun="ArduIMU_periodicGPS()" freq="8" autorun="TRUE"/>       <!--  8 ist soll -->
  <makefile target="ap">
    <file name="ins_arduimu.c"/>
  </makefile>
  <makefile target="sim">
    <file_arch name="ins_arduimu.c"/>
  </makefile>
</module>

back to top