Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Intro

This is the page for the ZeroPilot Validation image.

Useful ZP 3.0 Documentation:

View file
nameSchematic PDF_[No Variations].pdf

...

Processor: STM32L562ZET6Q.

STM32L562ZET6Q Datasheet

Testing Documentation

Step 1: Visual Inspection of Board

todo: include a list of things to lookout for

Step 2: Supply Power (lookout for any smoking)

Step 3: Flash Firmware (make sure you can flash firmware)

(flashing guide to be created)

Step 4: Proceed through testing functionality of each component - overview included below

...

Channel

Goal/Scope

Proposed Testing Strategy

SPI

Can transmit and receive data from and to a device.

Can use chip select/enable line to selectively communicate with multiple peripherals.

Send sample SPI signals through the channels and verify output using Saleae Logic Analyzer.

UART

Can transmit and receive data from and to a device.

Can communicate at different baud rates.

Send sample UART message through each channel and verify output by connecting to a terminal.

I2C

Can transmit and receive data from and to a device.

Saleae Testing

PWM

Configure the PWM signal generation

Basic: Conf

DMA:

GPIO

Can toggle on and off.

Pull each GPIO pin up/down.

Options:

  1. Saleae (time consuming for simple GPIO)

  2. Connect LED to each gpio pin and drive high β†’ low.

ADC

Varying analog input is converted to a digital binary output.

Connect potentiometer to ADC in channel. Vary voltage input. Output binary values to terminal?

MicroSD

Read/Write data to the SD Card.

Write:

Create text file, write to the text file, plug the SD card into a computer and confirm that the test text file has been created and written to.

Read:

Read from a test file. Check size of input variable to see that

they match

the size of the file data and variable match.

OR

Attempt to read known data from a text file. Pass through an assertion or if statement.

On-board LEDs

Can light up.

Run simple blink test code

onto

on each

LED.

...

I2C

  • Make sure data can be sent and received using I2C channel by simulation/emulation of i2c peripheral

...

UARTs

...

GPIO

...

ADC

  • Run a known input signal through the ADC, read the output data, does it match the expected?

...

SPI

...

PWM DMA

on-board LED.

  1. Test a simple PWM output to onboard LEDs is possible (assuming the LEDs work)

  2. MicroSD Slot

    • SDMMC?

  3. Power LEDs

    • Plug it in… does it explode? no? lights are on? should be good then.

  4. Set the HSE - High Speed External Oscillator How to use HSE STM32CubeMx

    • RCC β†’ HSE β†’ Crystal/Ceramic Resonator (figure out the desired frequency)

  5. IO Connector Interlock

...