Python version 3.10.11 or high is required.
Recommendation is to set-up a virtual environment. Open you favorite Windows PowerShell, VisualStudio Code etc.
To install a virtual environment named env, and use it:
python -m venv env
./env/Scripts/Activate.ps1
To run the scripts in this folder you need to install the packages in the requirements.txt file with:
pip install -r requirements.txt
All needed python packages are located in the subdirectory packages.
Needed python packages.
All python classes, files and functions, specific to the TMF8829.
The application and bootloader classes have the functionality to control the device hardware and the bootloader and also allows to download intel hex files to the device, measurements and the reading of result and histogram frames.
Application specific defines and structures.
Contains convenience functions.
The registers of the Tmf8829 which could be written over I2C or SPI.
Application specific registers.
Application configuration register page.
Several examples that show the usage of how to:
- use the application printer to see results/frames in the terminal
- visualize pixel results or histograms
- log data into a file with json format.
The application printer class supports the printing of the results and histogram frames.
Convert log files from json format to csv format
Provides functionality to dump the data into a file with json format or to log data into a textfile.
Functionality to visualize pixel data or histograms.
zeroMQ is an open source universal messaging library. zeroMq server implementations for the tmf8829 EVMs are available and for host interaction a zeroMq client.
The protocol description.
The definition of the protocol header.
Common functions for the client and server.
Client that could be used as active or passive logger
Common functions for the different server scripts.
Server for the EVM shield board.
Server for the evm linux board.
Server for the Arduino board.
TMF8829 configuration for active logging and general logging parameters.
TMF8829 configuration at startup of the server.