Jared Boone 5363ec3672 Use new GPIO API to abstract GPIO in various drivers.
Had to do it all at once due to name conflicts with API exposed in libopencm3.
Quite invasive patch! Also precipitated an LED API...
2014-11-15 16:26:59 -08:00
..
2012-06-25 23:36:09 -06:00

This program activates the MAX2837 transceiver to transmit an unmodulated
carrier.

Required Lemondrop -> Jellybean connections:

SCK:      Lemondrop P3 pin 2 -> Jellybean P9 2
CS_XCVR:  Lemondrop P3 pin 3 -> Jellybean P9 3
MOSI:     Lemondrop P3 pin 4 -> Jellybean P9 4
CS_AD:    Lemondrop P3 pin 5 -> Jellybean P9 5
MISO:     Lemondrop P3 pin 6 -> Jellybean P9 6
ENABLE:   Lemondrop P6 pin 12 -> Jellybean P7 pin 12
RXENABLE: Lemondrop P6 pin 13 -> Jellybean P7 pin 13
TXENABLE: Lemondrop P6 pin 15 -> Jellybean P7 pin 15
SCL:      Lemondrop P7 pin 3 -> Jellybean P6 pin 3
SDA:      Lemondrop P7 pin 5 -> Jellybean P6 pin 5
SDA:      Lemondrop P7 pin 6 -> Jellybean P6 pin 6
VCC:      Lemondrop P4 pin 2, 4, or 6 -> Jellybean P17 pin 2, 4, or 6
GND:      Lemondrop P5 -> Jellybean P13

For now we are running everything at 3.3 V, but in the future we may also
require:

1V8:      Lemondrop P11 pin 2, 4, or 6 -> Jellybean P16 pin 2, 4, or 6