The development time of applications can be reduced by taking advantage of libraries of reusable code. Xilinx provides libraries that can be built into a BSP as a selectable option. In this lab we I used is the Xilinx Fat File System for demonstration of the concept.This library enables application to create, modify and read files. The labs uses the Fat File System to store data on an SD card reuse.
The application provided with the lab uses the internal ADC of the MPSoc to monitor the device temperature and voltage parameters then writes them out as CSV file onto the SD Card. I learnt how to:
• How to enable one of the Xilinx libraries within your standalone BSP
• How to leverage one of the Xilinx libraries from a standalone application
• How to configure and use the Xilinx System Monitor.
The Image below shows the contents of the SD Card after running the lab application. You can see that a CSV file (XADC.CSV) was written. I was able to open the CSV file using Microsoft Excel and view the data written.