ARM Microcontroller Course June 3, 2015 ARM Microcontroller Course - - PowerPoint PPT Presentation

arm microcontroller course
SMART_READER_LITE
LIVE PREVIEW

ARM Microcontroller Course June 3, 2015 ARM Microcontroller Course - - PowerPoint PPT Presentation

The Course Direct Digital Synthesis Function Generator ARM Microcontroller Course June 3, 2015 ARM Microcontroller Course The Course Direct Digital Synthesis Function Generator Table of Contents 1 The Course 2 Direct Digital Synthesis 3


slide-1
SLIDE 1

The Course Direct Digital Synthesis Function Generator

ARM Microcontroller Course

June 3, 2015

ARM Microcontroller Course

slide-2
SLIDE 2

The Course Direct Digital Synthesis Function Generator

Table of Contents

1 The Course 2 Direct Digital Synthesis 3 Function Generator

ARM Microcontroller Course

slide-3
SLIDE 3

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers What we will do today:

ARM Microcontroller Course

slide-4
SLIDE 4

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet What we will do today:

ARM Microcontroller Course

slide-5
SLIDE 5

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO What we will do today:

ARM Microcontroller Course

slide-6
SLIDE 6

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO Timers What we will do today:

ARM Microcontroller Course

slide-7
SLIDE 7

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO Timers Analog peripherals What we will do today:

ARM Microcontroller Course

slide-8
SLIDE 8

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO Timers Analog peripherals SPI What we will do today:

ARM Microcontroller Course

slide-9
SLIDE 9

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO Timers Analog peripherals SPI What we will do today: Combine the knowledge

ARM Microcontroller Course

slide-10
SLIDE 10

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO Timers Analog peripherals SPI What we will do today: Combine the knowledge Build a function generator using DDS

ARM Microcontroller Course

slide-11
SLIDE 11

The Course Direct Digital Synthesis Function Generator

The course so far

What we did: Working with registers Reading a datasheet GPIO Timers Analog peripherals SPI What we will do today: Combine the knowledge Build a function generator using DDS Get it to run fast!

ARM Microcontroller Course

slide-12
SLIDE 12

The Course Direct Digital Synthesis Function Generator

Table of Contents

1 The Course 2 Direct Digital Synthesis 3 Function Generator

ARM Microcontroller Course

slide-13
SLIDE 13

The Course Direct Digital Synthesis Function Generator

Recap: DDS

DDS consists of: Reference clock Tuning Word Phase Accumulator Phase to Amplitude algorithm

ARM Microcontroller Course

slide-14
SLIDE 14

The Course Direct Digital Synthesis Function Generator

Phase Accumulator

Size of Phase Accumulator 2N Jump size (tuning word) M Reference clock fs

ARM Microcontroller Course

slide-15
SLIDE 15

The Course Direct Digital Synthesis Function Generator

Table of Contents

1 The Course 2 Direct Digital Synthesis 3 Function Generator

ARM Microcontroller Course

slide-16
SLIDE 16

The Course Direct Digital Synthesis Function Generator

What to do today

Build a Function Generator Direct-Digital Synthesis. The minimum consists off: Reference clock fs Magic word M SPI to talk to DAC

ARM Microcontroller Course

slide-17
SLIDE 17

The Course Direct Digital Synthesis Function Generator

Material

You can find all material on http://www.scintilla.utwente.nl/docs/cursus Make sure you download: The Updated Manual (0603) The Usermanual of the Nucleo-F411RE The Reference Manual of the STM32F411RE Datasheet AD5611 DAC. Optional: HAL document Programming Guide

ARM Microcontroller Course

slide-18
SLIDE 18

The Course Direct Digital Synthesis Function Generator

More on today

Around 23:00, we’ll award a prize for the fastest sine wave. Good Luck!

ARM Microcontroller Course