Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PVDX SAMD51-A Pin Config

This repo serves as the official source of truth for the PVDX mission's pin configuration.

Note

Any edits to the .atzip file at this project's root must be commuted to the README. Commits must be clearly labeled with which pins were changed and for what purpose.

Note

BEFORE YOU COMMIT, CHECK:

  1. Does my PVDXosV2 compile with this ASF config?
  2. Make sure there's only one .atzip file in the repo, delete the old one (it will be in version control)
  3. Have I updated the README?

Compute Board — SAMD51P20A Pin Mapping Reference

MCU: Microchip SAMD51P20A-AF (128-pin TQFP)

SERCOM Peripheral Assignments

SERCOM0 — SPI_MRAM

Function Pin Direction
MOSI PB24 Output
SCK PB25 Output
MISO PC18 Input

Directly-connected chip selects, resets, and write-protect lines:

Signal Pin Direction Initial Level
MRAM1_CS PC04 Output High
MRAM1_RST PC05 Output High
MRAM1_WP PB12 Output High
MRAM2_CS PC06 Output High
MRAM2_RST PC07 Output High
MRAM2_WP PB13 Output High
MRAM3_CS PB10 Output High
MRAM3_RST PB11 Output High
MRAM3_WP PB15 Output High

SERCOM1 — SPI_DISPLAY

Function Pin Direction
MOSI PA00 Output
SCK PA01 Output
MISO PA18 Input
Signal Pin Direction Initial Level
DISPLAY_CS PC11 Output High
DISPLAY_RST PD11 Output High
DISPLAY_DC PD12 Output High

SERCOM2 — SPI_CAMERA

Function Pin Direction
MOSI PB26 Output
SCK PB27 Output
MISO PA14 Input
Signal Pin Direction Initial Level
CAMERA_CS PC14 Output High

SERCOM3 — I2C_SBAND

Function Pin Direction
SCL PA16 I2C
SDA PA17 I2C

SERCOM4 — SPI_MAGNETOMETER_GYRO

Function Pin Direction
MOSI PA13 Output
SCK PA12 Output
MISO PB14 Input
Signal Pin Direction Initial Level
MAGNETOMETER_CS PC19 Output High
MAGNETOMETER_DRDY PC10 Input High
GYRO_CS PC20 Output High
GYRO_RST PC21 Output High
GYRO_DRDY PC22 Input

SERCOM5 — SPI_SBAND

Function Pin Direction
MOSI PB16 Output
SCK PB17 Output
MISO PB18 Input
Signal Pin Direction Initial Level
SBAND_CS PB19 Output High
SBAND_EN PC25 Output Low
SBAND_RST PC26 Output Low

SERCOM6 — I2C_FUELGAUGE_PEROVSKITE

Function Pin Direction
SCL PD08 I2C
SDA PD09 I2C
Signal Pin Direction
PVD_CRNT PA02 DAC

SERCOM7 — SPI_UHF

Function Pin Direction
MOSI PC12 Output
SCK PC13 Output
MISO PD10 Input
Signal Pin Direction Initial Level
UHF_CS PC16 Output High
UHF_RST PC17 Output High
UHF_IRQ PA27 Input -

Photodiodes

Signal Pin
PHD_0 PC00
PHD_1 PA03
PHD_2 PB08
PHD_3 PB09
PHD_4 PA04
PHD_5 PA05
PHD_6 PA06
PHD_7 PA07
PHD_8 PA08
PHD_9 PA09
PHD_10 PA10
PHD_11 PA11
PHD_12 PB00
PHD_13 PB01
PHD_14 PB02
PHD_15 PB03
PHD_16 PC02
PHD_17 PC03

Thermistors

Signal Pin
THERM_0 PB04
THERM_1 PB05
THERM_2 PB06
THERM_3 PB07

Burn Wire

Signal Pin
BURN PB29

LEDs

Signal Pin Direction Initial Level
LED_RED PA19 Output High
LED_ORANGE1 PC15 Output High
LED_ORANGE2 PA15 Output High

Magnetorquer (PWM)

MAGNETORQUER_XY — TCC0 (X and Y axes)

Signal Pin Direction
MTQ_X_IN1 PA20 Output
MTQ_X_IN2 PA21 Output
MTQ_X_SLP PB30 Output
MTQ_Y_IN1 PA22 Output
MTQ_Y_IN2 PA23 Output
MTQ_Y_SLP PB31 Output

MAGNETORQUER_Z — TCC1 (Z axis)

Signal Pin Direction
MTQ_Z_IN1 PD20 Output
MTQ_Z_IN2 PD21 Output
MTQ_Z_SLP PC27 Output

EPS

Fuel Gauge I2C Multiplexer (TCA9546A)

Signal Pin Direction
EPS_RST PB20 Output
EPS_A0 PB21 Output
EPS_A1 PB22 Output
EPS_A2 PB23 Output

Fuel Gauge Interrupt

Signal Pin Direction
EPS_IRQ PB28 Input

Heaters

Signal Pin Direction
HEATER_CTRL_1 PC23 Output
HEATER_CTRL_2 PC24 Output

Debug (SWD)

Function Pin
SWCLK PA30
SWDIO PA31

These are dedicated SWD pins on the SAMD51 and are not configured through Atmel START.


System Peripherals

Driver Hardware Block Notes
TIMER_0 RTC FreeRTOS tick source
DELAY_0 SysTick Blocking delay driver
RAND_0 TRNG Hardware RNG
WDT_0 WDT Watchdog timer
CMCC CMCC Cortex cache controller
DMAC DMAC DMA controller

Unmapped Pins

The following SAMD51P20A pins have no assignment in the Atmel START configuration.

Port A

Pin Notes
PA24 Unallocated
PA25 Unallocated

Port C

Pin Notes
PC28 Unallocated

ADC1

Channel Pin Notes
AIN11 PC01 Unallocated
AIN12 PC30 Unallocated
AIN13 PC31 Unallocated
AIN14 PD00 Unallocated
AIN15 PD01 Unallocated

About

Maintained pin configuration for the SAMD51A microcontroller

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors