Severson-Group / AMDC-Firmware

Embedded system code (C and Verilog) which runs the AMDC Hardware
http://docs.amdc.dev/firmware
BSD 3-Clause "New" or "Revised" License
33 stars 6 forks source link

Manual Triggering in Timing Manager #383

Closed codecubepi closed 5 months ago

codecubepi commented 6 months ago

I'd like to add a way for the user to manually trigger the sensors into the timing manager.

I'm thinking that we can toggle a bit in a timing manager config register that on every toggle will send out a trigger (aligned to the next high/low of the PWM carrier of course). This functionality is probably more useful for debugging the sensor interfaces (namely the new AMDS IP driver) than for any real operation.

See #381 for @annikaolson 's other updates to the trigger signal. This issue can be addresses at the same time as that issue.

codecubepi commented 6 months ago

This issue is addressed in 6f30b23

codecubepi commented 6 months ago

See 6532f9e and 16f278a for C driver code and command additions