ZeroPilot 3.0 MCU Requirements

 Success metrics

Goal

Metric

Goal

Metric

Meet all the requirements defined in the ZeroPilot 3.0 Requirements Doc

Number of requirements met (should be all of them)

 

 

 Assumptions

  • We will need a few extra peripheral interfaces than we have planned

 Requirements

Requirements / Constraints

Context

Owner

Notes

Requirements / Constraints

Context

Owner

Notes

GPIO Out

  • 4 - 7 LEDs (7 pins)

  • 4 for LED strips (e.g. Neopixel) (4 pins)

  • 10 Extras (in & out) (12 pins)

  • SPI CS (serial peripheral interface chip select) (7 pins)

@Sahil Kale

30 total GPIOs minimum (or IO expander)

GPIO In

  • Arm/Disarm Switch

 

 

PWM Out

  • Buzzer

  • 4 servo/mech Motors

  • Random Peripherals (e.g. grabber) / Extras

 

timer pins: 16 bit “prescaler“ resolution, 8 channel total, timer interrupt capability

PWM In

  • PPM (for receiver)

 

 

PWM Out with DMA

  • 8 DSHOT motor outputs

 

 minimum HSE (high speed external) frequency and supported scaling should exceed 48 MHz

8 General Purpose timer channels that support DMA

SWO

  • Debug output

 

STM32 must support SWO (SWO not SWD) (may be referred to as trace SWO) (serial wire output)

I2C

  • spare

  • IMU? (also in SPI)

 

2 buses should be good so that we avoid address conflicts.

(but put a few connectors for each bus)

SPI

  • SD Card

  • Battery ADC

  • IMU

 

sd card gets its own bus

battery ADC will be SPI and will go on one of the two broken out buses

two buses broken out (3 chip selects for each, this is included in GPIO count)

UART

  • CV Com port

  • Receiver (for crossfire)

  • XBees

  • 1 for debugging

  • 1 for spare

  • GPS

 

6 UARTs

We WILL be using STM32 chips

All of the code is in the stm environment already, so we don’t want to completely re-develop the code

@Dhruv Upadhyay

 

 Open Questions

Question

Answer

Date Answered

Question

Answer

Date Answered

flash?

must exceed 32 kb of flash

cores?

at least 1

 

architecture preferences?

dont care as long as stm32

 

package

cannot be BGA, must be SMD

 

time of project

zp iterated at least once per year, potentially, but not necessarily a micro switch, rearchitected phase next summer

 

quantity

14 boards handed out for firmware development

3 for blow up

3 for flight + competition use (spoil them)

2 for solder mistakes

2 for roundup to 25 total for cheaper on most distributors

F7/H7 chips are like 20 to 30 USD a piece for reference

25 total

25 * 20 = 500 min

25 * 30 = 1000 max

electrical budget right now is 3,000

 Out of Scope

  • WE WILL BUY GENUINE STLINKS

  • usb to uart converter for communication with CV stuff would be a nice to have, but is not a priority

 

Conclusion of this meeting, orderred QTY(25) https://www.mouser.ca/ProductDetail/511-STM32L562ZET6Q STM32L562ZET6Q micros!!!