| Electronic Components Datasheet Search |
|
TDC-GPX Datasheet(PDF) 29 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
TDC-GPX Datasheet(HTML) 29 Page - ams AG |
|
29 / 54 page ![]() TDC-GPX acam-messelectronic gmbh - Am Hasenbiel 27 - D-76297 Stutensee-Blankenloch - Germany - www.acam.de 28 2.11 Measurement Flow In the following we show two typical examples of register settings and measurement flow in I-Mode. 2.11.1 Single measurement Task: Measuring 8 channels within a window of 2 µs from Start. //****** I-Mode, Stops against single Start ********** PuResN=Low; // Power-up reset PuResN=High; StopDis1 = High; // Disable inputs StopDis2 = High; StopDis3 = High; StopDis4 = High; // write configuration registers: _oupd( 0,0x007FC81); // Rising edges, Start ringoscil. _oupd( 1,0x0000000); _oupd( 2,0x0000002); // I-Mode _oupd( 3,0x0000000); _oupd( 4,0x6000000); // Mtimes trig. by Start, EFlagHiZN _oupd( 5,0x0E004DA); //StopDisStart, StartDisStart, StartOff1 = 100ns, MasterAluTrig _oupd( 6,0x0000000); _oupd( 7,0x0281FB4); // Res = 82.3045ps _oupd(11,0x7FF0000); // Any error -> ErrFlag _oupd(12,0x2000000); // Mtimer -> IrFlag _oupd(14,0x0000000); _oupd( 4,0x6400000); // Master reset StopDis1 = Low; // Enable inputs StopDis2 = Low; StopDis3 = Low; StopDis4 = Low; do { while(IrFlag=Low); // Check interrupt flag while((EF1=Low)or(EF2=Low)) // Check empty flag { if (EF1=Low) // Data on IFIFO1? { data = _inpd(8); // Read IFIFO1 Chan = (data & 0xC000000)>>26 + 1; // Get channel# Time = (data & 0x1FFFF); // Get time Stop-Start Printf(Chan,time); } if (EF2=Low) // Data on IFIFO2? { data = _inpd(9); // Read IFIFO2 Chan = ((data & 0xC000000)>>26) + 5; // Get channel# Time = (data & 0x1FFFF); // Get time Stop-Start Printf(Chan,time); } } Alutrigger = High; // Master reset Alutrigger = Low; } 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 |