Other Parts Discussed in Thread: UCC27531,
Good day!
After some succesfull experiments with TDC1000-C2000 EVM we designed custom board based on same components. Now I am starting the firmware design for it. The purpose of design is measuring the distance from the 400kHz tarnducer to the liquid level through the air.
I can post the schematics for the design, I have it in P-CAD and Altium Designer formats.
Here is the configuration:
- EPWM2A is used for 1.6MHz (1.(621) in fact, as main clk divided by 37) CLK generation.
- GPIO8 is TDC_ERRB input
- GPIO9 is output boost enable (the output boost design is derived from TDC1000-GAS EVM, driving the tranducer to 24V)
- GPIO0 and GPIO10 is TDC_START strobe input
- HRCAP2 is TDC_STOP capture input
- GPIO22 is TDC_TRIGGER output
- GPIO20 is TDC_ENABLE output
- GPIO21 is TDC_RESET output
- GPIO17-19 is SPI interface, and GPIO23 is chip select output for TDC1000
- GPIO's 24,29,12,28,7,19,31,30,34,3,33,32 are used for custom parralel host interface.
I am using the source code for TDC1000-C2000 EVM as starting point.
My scope is connected to START, STOP, and buffered COMPIN points on the board, as it done on EVM. Filters on PGAIN and COMPIN is designed for 400kHz operation.
Please help me bring this design up, if possible, as there is some points in code unclear for me. Thank you very much.