Skip to content

MicrochipTech/unicens-bare-metal-sam-v71

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNICENS example for Atmel SAM V71

This project is a bare metal example integration of the UNICENS library for the Atmel SAM V71 controller.

Needed components

Hardware:

Software:

To get the source code, enter:

$ git clone --recurse-submodules https://github.com/MicrochipTech/unicens-bare-metal-sam-v71.git

Build

  • Open Atmel Studio 7
  • File -> Open -> Project/Solution... (Ctrl+Shift+O)
  • Select [your-projects]\audio-source\SAMV71-UNICENS-example.atsln
  • Navigate to Project -> Properties -> Tool and select your connected SAM-ICE.
    Use SWD as interface and save the configuration file.
  • Build the project with F7
  • Build the project, flash it to the SAM V71 and start debugging with F5

Change Network Configuration

The configuration of the entire network is done via a single XML file.
It's located at [your-projects]\audio-source\config.xml

Hint: Edit the config.xml file within the Atmel Studio.
It will validate it and help filling the correct tags and attributes by using the XML schema unicens.xsd in the same folder.

Once you edited it, double click the [your-projects]\audio-source\convertXML.bat batch file.
It will interpret the XML file and generate a static C-Source code file at
[your-projects]\audio-source\samv71-ucs\src\default_config.c
After successful conversion, you need to build the project again and download it to the hardware in order to apply the new network configuration.

About

Bare metal example integration of UNICENS library for SAM V71

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages