11-09-2006 03:06 AM
11-09-2006 08:09 AM
11-09-2006 09:16 AM
No, there are no devices connect to the Gpib_pci board , i read the Signals status after
Reading BSR and DSR
I thing that the register access work properly , I have tested all read Only Reg whit default value
Like CNT0…3, CSR etc.. and I always have the correct value, I also tested Somme Command register like AUXMR and CMDR
like this test
WriteGpib(0x1E, IMR3); // i write IMR3=0x1E
WriteGpib(0x0F, SPMR); // i write 0F to SPMR
ReadGpiB(IMR3); // I read 0x1E
ReadGpib(SPSR); //I read 0F
WriteGpib(0x02, AUXMR);// Reset chip
ReadGpib(IMR3); // i read 0x00 // Reset Chip hast clear the value in IMR3
ReadGpib(SPSR); // I read 0x00 Reset Chip hast clear the value in SPMR
I thing everything work correctly
Look at my code(First post), what can I change for example, maybe I have something Wrong or forget ..
How the TNT5002 recognise that she is addressed? he compare automaticaly the value in ADR0 whit the address from bus or shoul I make it self whit the software ?
I connect the tnt 5002 whit a µC(renesas M30245) the µC work in Single Chip mode hier are the code that
use to read and write in the tnt register(next post )
11-09-2006 09:18 AM
11-09-2006 09:54 AM
11-10-2006 07:14 AM
The Board steel not reconize my tnt5002 interface
I have change the Read and write Code( next post), i reduce the wait time to 1µs (the minimum wait time ist 0,1µs)and make some test like
read(CNT0)
read(CNT1)
read(CNT2)
read(CNT3)
I read the correct Reset value, I write and i read the correct value, i tested all the read only reg. whit default value whit success except STS2 at address 0x1C i read 9F instead of 0x0A
I always tested some AUXMR Command like Reset_Chip (0x02) and it work correctly..
11-10-2006 07:16 AM
11-10-2006 07:25 AM
11-10-2006 07:34 AM
11-10-2006 07:54 AM