| Electronic Components Datasheet Search |
|
TDC-GPX Datasheet(PDF) 45 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
TDC-GPX Datasheet(HTML) 45 Page - ams AG |
|
45 / 54 page ![]() TDC-GPX acam-messelectronic gmbh - Am Hasenbiel 27 - D-76297 Stutensee-Blankenloch - Germany - www.acam.de 44 Task2: Typical application laser rangefinder Given a Start signal with 10 kHz rate. To each Start there is an unknown number of Stops on channel 1. The maximum range is 1 µs. The time between Stop and Start shall be measured with very high resolution, using the LVPECL inputs. Choice: R-Mode with quiet mode and internal Timer. //****** R-Mode, Stop against Start ********** PuResN=Low; // Power-up reset PuResN=High; StopDis1 = High; // Disable inputs StopDis2 = High; StopDis3 = High; StopDis4 = High; // write configuration registers: _oupd( 0,0x000009F); // Rising and falling edges, Start ringoscil. _oupd( 1,0x0620620); // Channel adjust = 6 & 2 _oupd( 2,0x0062004); // G-Mode, channel adjust = 6 & 2 _oupd( 3,0x0000000); // Use LVPECL inpus _oupd( 4,0x6000100); // EFlagHiZN, Quiet mode, Mtimer on Start _oupd( 5,0x00004DA); // StartOff1 = 100ns _oupd( 6,0x8000000); // Power-on ECL _oupd( 7,0x0141FB4); // Res = 27.4348ps, Mtimer = 1 µs _oupd(11,0x7FF0000); // Any error -> ErrFlag _oupd(12,0x2000000); // Mtimer -> Interrupt flag _oupd(14,0x0000000); _oupd( 4,0x6400100); // Master reset StopDis1 = Low; // Enable inputs StopDis2 = Low; StopDis3 = Low; StopDis4 = Low; do { while(IrFlag=Low); // Check interrupt flag Alutrigger = High; // Trigger Alu Alutrigger = Low; wait(100ns); // Time to calculate first hit while(EF1=Low) // Check empty flag { data = _inpd(8); // Read IFIFO1 Time = (data & 0x7FFFFF); // Get time Stop-Start Printf(Time); } _oupd( 4,0x6400100); // Master reset } while(!quit) Member of the ams Group |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |