summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-26HSEHEADmasterAditya Naik
2020-06-22Newer proto file for dataflowAditya Naik
2020-06-22Optimizations for master data and command routing handling and corresponding ↵Aditya Naik
changes for slave data and command decoding. Master no longer decodes data in order send individual datapoints in a packed data_message field individually, but stores and forwards the encoded data message and MDR to the slaves during routing. This significantly optimizes data routing by reducing the time taken to decode and encode every single packed datapoint. Task List: None
2020-06-18This CL adds support for dataflow branch 2, which includes master processing ↵Aditya Naik
of DOC 1, 2, 3 for SOR 1 and SOR 3, adding support for master command processing and routing. Slave command generators and receivers are also added for testing master command functionality. CL also adds minor changes to debug scripts and overall cleanup; changes to dataflow structures to support command functionality; dedicated function for handling CTS reception from slaves. Task list: b1d2ba1914ab4621bd004ad0a636e09d 2c17aeea4e73433fa5a49d310c7526b1 5e15eda1eecb482a9bd4e6ec4ef2af0e 75b4f8b2792a4be69caf830c720d3e7c
2020-06-15I2C speed upgrade for master and slaveAditya Naik
2020-06-15Ports mergeAditya Naik
2020-06-11Added UART device initialization for new dev boardAditya Naik
2020-06-10Port macrosAditya Naik
2020-06-10Moved all F4-specific files to the HAL port directoryAditya Naik
2020-06-09Added port files for STM32F405RG and minor address change to slaveAditya Naik
2020-06-09Added ports dirAditya Naik
2020-06-09Moved nanopb files to library dir; changed main filenamesAditya Naik
2020-06-08Routing bugfixAditya Naik
2020-06-08This CL adds a major refactor to the protocol implementation by moving away ↵Aditya Naik
from protobuf for non-nested messages, simplifying the communications and reducing encoding/decoding overhead for both the master and slave. Smaller changes added include changes in address schemes and changes to the relevant macros to match the addressing changes. Changes by this CL have been tested to work with multiple slaves on different platforms (STM32 HAL-based and Micropython based). Documentation of the refactored protocol to specify the exact byte ordering for each message is pending. Author: Aditya Naik Reviewers: None Task list: None
2020-06-01Renamed master and slave files, small edits to codeAditya Naik
2020-05-28Added slave file, handshake to slaveAditya Naik
2020-05-28This CL adds bookkeeping structures for routing, including the routing ↵Aditya Naik
buffer, routing index buffer, and the routing table. It also adds the main routing function, slave-side implementation of receiving subscribed data and master implementation of managed data in the routing buffer. This CL supports only routing data (branch 1) and only honors subscriptions based on module ID. CL also adds minor changes to the dataflow process, including inserting data into the routing buffer and incrementing routing pointer. CL also adds a configuration macro MASTER_I2C_BUS_INTERVAL in config.h to delay master I2C operations in order to minimize I2C timeout errors on the bus. Author: Aditya Naik Reviewers: None Task list: ef9e3917106842259ce2c32f40d7e9be 2f0c741a66db4b79904e295356b657cd
2020-05-14This CL adds structures for bookkeeping for dataflow based on the dataflow ↵Aditya Naik
protocol. It also adds a master and slave-side implementation of a single root-to-tree path in the protocol, which involves SOR=1 (master denoting a slave send operation) and DOC=5 (slave denoting data send operation). CL includes dataflow status typedef, SOR code typedef, DOC/SOR encoding, transmitting and decoding, CTS/data encoding, transmitting and decoding. Commit by: Aditya Naik Reviewed by: None Task list: 2cabf06b6a354e83aed9a1c7ff22bd14 49ca5b3a768a48778259d3a449890ccb d34854d85c7947f5b63bc897136c6c28 88a636ba03c24d3bac77ccc9ab9822db
2020-04-22Added dataflow protocol filesAditya Naik
2020-04-22Manually added MDRAditya Naik
2020-04-22Manually add MDRAditya Naik
2020-04-22Better idea: treat hs as done, manually add MDRAditya Naik
2020-04-22Better idea: treat hs as done, manually add MDRAditya Naik
2020-04-21New working main fileAditya Naik
2020-04-10Newer handshake protoAditya Naik
2020-04-09Master roggleAditya Naik
2020-04-09main.c and corresponding makefileAditya Naik
2020-04-09Added cient code to master hsAditya Naik
2020-04-09Added cient code to master hsAditya Naik
2020-04-09Added cient code to master hsAditya Naik
2020-04-09Added cient code to master hsAditya Naik
2020-04-09Project refactorAditya Naik
2020-04-09Older changesAditya Naik
2020-04-07Removed encoding callbackAditya Naik
2020-04-07RTOS prep changesAditya Naik
2020-04-07Debug/testing block correctionsAditya Naik
2020-04-07Debug/testing block correctionsAditya Naik
2020-04-07MDR decode works with pointerAditya Naik
2020-04-07MDR decode works but not with pointer structureAditya Naik
2020-04-07Branching off main hsAditya Naik
2020-04-07Working on MDR decoding in main-hsAditya Naik
2020-04-03Working MDR decode on masterAditya Naik
2020-04-03MDR received without errorsAditya Naik
2020-04-03MDR received without errorsAditya Naik
2020-04-03MDR is getting received correctly but HAL states errorAditya Naik
2020-04-03ChangesAditya Naik
2020-03-30Debug blockAditya Naik
2020-03-26Working MDR req, untested ACKAditya Naik
2020-03-26not workingAditya Naik
2020-03-26Setting upAditya Naik