Versions Compared

Key

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

...

Processor: STM32L562ZET6Q.

STM32L562ZET6Q Datasheet

Initial action items:

...

create asana task and assign yourself (tick)

...

Create repository, you can’t do this bec you dont have admin perms (tick)

get familiar with ZP pcb (tick)

...

message an ee lead and ask if you can get access to the zero pilot pcb schematic for this project (ask to be added to Altium to access both ZP pcb schematic and ZP interface schematic) (tick) (on github)

...

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:

DMA:

GPIO

Can toggle on and off.

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 variable to see that they match.

On-board LEDs

Can light up.

Run simple blink test code onto each LED.

  1. I2C

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

  2. UARTs

  3. GPIO

  4. ADC

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

  5. SPI

  6. PWM DMA

  7. PWM Basic

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

  8. MicroSD Slot

    • SDMMC?

  9. Power LEDs

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

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

    • RCC → HSE → Crystal/Ceramic Resonator (figure out the desired frequency)

  11. IO Connector Interlock

What is a buck converter? Do I have to test this?

...

A solid tutorial video with a simple custom PCB Bring-Up:

...

  1. Create the stm32 project

  2. message aidan bowers and ask if he has successfully flashed the zeropilot pcb with open ocd or if it would be easier to use the st link… and how to connect (i have never flashed to zp before!)

  3. Breakdown all tasks on asana

  4. Figure out how to test all inputs and outputs

  5. User friendly?

  6. Confluence document with clear instructions.

...