Skip to content

MALossov/SPI-STM32-FPGA-DDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPI-STM32-FPGA-DDS

Aim

Definitly MAKING A DDS with ARM+FPGA

Try my best to finish the task of : 2023寒假一起练 - 基于STM32+iCE40的电赛训练平台

I choose the task of making a DDS with STM32G031+iCE40 development kit made by eetree.

To figure the detailed Project Discription, visit:

2023寒假一起练平台(2)- 基于STM32+iCE40的电赛训练平台

Feature

Official Introduction

项目3 - DDS任意波形发生器/本地控制

具体要求:

通过板上的高速DAC(10bits/最高125Msps)配合FPGA内部DDS的逻辑(最高48Msps),生成波形可调(正弦波、三角波、方波)、频率可调、幅度可调的波形

生成模拟信号的频率范围为DC-5MHz,调节精度为1Hz

生成模拟信号的幅度为最大1Vpp,调节范围为0.1V-1V

在OLED上显示当前波形的形状、波形的频率以及幅度

利用板上旋转编码器和按键能够对波形进行切换、进行参数调节

Hardware

Software

  • STM32:
    • CubeMX 6.7.0
    • Keil uVision 5 + ARM_CC 5.06
    • CubeProgrammer(Use UART To program device)
  • FPGA:
    • Lattice Radiant Software
    • Lattice IP Core(PLL)
  • STEP LINK (on board):
    • Use as a virtual u-disk to download program to FPGA
    • Use as STM32's UART.
  • distributed version control :
    • GIT: you can see my every change

User Guide

Simple use it

  1. Download the release files in the Bin_Files folder.
    1. .rbt is for FPGA, use programmer to program it,or STEP LINK and simply drag it to your virtual disk.
    2. .hex is for STM32:
      1. press boot,then plug it on your computer.
      2. pretty easy use STM32 CUBE PROGRAMMER software to download your program by connecting to it's COMx/TTYx serial name.
  2. Enjoy your DDS.

elp me improve it

  1. Fork it, make your change, make PRs.
  2. I will accept/contact you if have PRs.

Files

todo(if someone star this.)

Release

Bin Files

You can find Bin Files in the Bin_Files folder.

License

It's defined in the LICENSE file.