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
logger_sd.xml
<!DOCTYPE airframe SYSTEM "airframe.dtd">

<!--

    Connects a microSD card to the SPI port of the Paparazzi Tiny. Keep cables
    short, microSD card can be directly soldered to Molex cable. For now only
    non SDHC SD cards (<= 2GB) are supported. martinmm@pfump.org

    microSD         TinyV2 SPI J3
    8 nc
    7 DO            5 MISO
    6 GND           1 GND
    5 CLK           7 SCK
    4 Vcc           2 +3V3
    3 DI            4 MOSI
    2 CS            3 SSEL
    1 nc

    Looking onto the gold plated connector side of the microSD card:

    ###############
    I 8
    I 7
    I 6
    I 5
    I 4
    I 3
    I 2
    I 1
    ######    ##
          \  I  \
           ##    ##

-->

<airframe name="Logger">

  <firmware name="logger">
    <target name="ap" board="tiny_2.11" >
      <configure name="LOG_MSG_FMT" value="LOG_PPRZ"/>
      <configure name="SPI_CHANNEL" value="1" />
      <configure name="UART0_BAUD" value="B9600" />
      <configure name="UART1_BAUD" value="B9600" />
    </target>
  </firmware>

</airframe>

back to top