ZP2 Validation Firmware Requirements

  1. All firmware files pertaining to do this should go into a folder in this directory of the WARG hardware rep: link

    1. Firmware should also be split into one “project” for each microcontroller on ZP2: ZP2 Schematic

    2. Each microcontroller firmware must meet the requirements outlined here

  2. Projects should be developed in STM32CubeMX

    1. Just for ease of compiling and also industry standard

  3. Flashing on-board LEDs

    1. On-board LEDs should flash on startup

    2. This will validate the the micros can be programmed and output to all the LEDs on the board.

    3. See schematic for GPIO pins, pull the pin high / low to flash LED, pretty simple

  4. Outputting over PWM

    1. Set specific parameters for this PWM output so that the clocks can be evaluated

    2. Write firmware for the HSI and HSE that should behave the same so we can compare the two side by side.

  5. Verify PPM output

    1. This can be simple, we just want to be sure it works

    2. Will be verified with oscilloscope

  6. Outputting and receiving characters via UART

    1. Be sure to use every UART pin for each micro

    2. Ideally we could maybe connect the TX to the RX and receive the same message we sent to verify functionality.

  7. Outputting on I2C

    1. Turn on every I2C protocol pin

    2. Transmit some message just so it can be seen on oscilloscope

  8. Testing inter-chip SPI

    1. Send a message from one micro and have it read by the other and then vice versa.

  9. Testing micro-SD card

    1. Write to micro-SD card something we can read later to verify functionality

  10. Read temperature sensor output

    1. Would be cool, not very important