Skip to content

anachrocomputer/SAME51VectorScan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Static Badge Static Badge Static Badge

SAME51VectorScan

Firmware for Atmel/Microchip ATSAME51J20A microcontroller (ARM) on Igloo64 prototyping board. The board has nine big LEDs, but this code does not use them. It generates two analog ramp waveforms on the 12-bit DAC, VOUT0 and VOUT1. When connected to a fine analog CRT oscilloscope in X-Y mode, it displays a diagonal line.

Connections

Signal SAM E51 pin Name Notes
DEBUG1 5 PB04 HIGH during vector generation
DEBUG2 6 PB05 HIGH during DAC writes
VOUT0 3 PA02 X deflection signal
VOUT1 14 PA05 Y deflection signal
AIN6 15 PA06 Unused at present
AIN7 16 PA07 Unused at present
TxD 17 PA08 Transmits 'F' at 9600 baud every 20ms
RxD 18 PA09 Unused at present

DEBUG signals may be connected to a logic analyser for timing measurements. ADC pin assignments attempt to avoid clashes with SERCOM pins.

Compiling

Code written in MPLAB X V6.20 and compiled with 'xc32' compiler V4.60.

About

Generate vector-scan images on an oscilloscope using the ATSAME51 ARM microcontroller

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors