ZP2 Validation Firmware Requirements
All firmware files pertaining to do this should go into a folder in this directory of the WARG hardware rep: link
Firmware should also be split into one “project” for each microcontroller on ZP2: ZP2 Schematic
Each microcontroller firmware must meet the requirements outlined here
Projects should be developed in STM32CubeMX
Just for ease of compiling and also industry standard
Flashing on-board LEDs
On-board LEDs should flash on startup
This will validate the the micros can be programmed and output to all the LEDs on the board.
See schematic for GPIO pins, pull the pin high / low to flash LED, pretty simple
Outputting over PWM
Set specific parameters for this PWM output so that the clocks can be evaluated
Write firmware for the HSI and HSE that should behave the same so we can compare the two side by side.
Verify PPM output
This can be simple, we just want to be sure it works
Will be verified with oscilloscope
Outputting and receiving characters via UART
Be sure to use every UART pin for each micro
Ideally we could maybe connect the TX to the RX and receive the same message we sent to verify functionality.
Outputting on I2C
Turn on every I2C protocol pin
Transmit some message just so it can be seen on oscilloscope
Testing inter-chip SPI
Send a message from one micro and have it read by the other and then vice versa.
Testing micro-SD card
Write to micro-SD card something we can read later to verify functionality
Read temperature sensor output
Would be cool, not very important