Forum Discussion
Altera_Forum
Honored Contributor
9 years agoI haven't performed any isolation measurement yet but I am pretty sure the problem is on data grabbing. The W5300 data transfer is in range of 100 Mbit/s so its more than enough for my application. The code itself is quite straightforward and it looks like that
--- Quote Start --- while (1) { data_buf2[0]=IORD (0x214f0,0); data_buf2[1]=IORD (0x214e0,0); data_buf2[2]=IORD (0x214d0,0); data_buf2[3]=IORD (0x214c0,0); data_buf2[4]=IORD (0x214b0,0); data_buf2[5]=IORD (0x214a0,0); data_buf2[6]=IORD (0x21490,0); data_buf2[7]=IORD (0x21480,0); data_buf2[8]=IORD(0x21470,0); data_buf2[9]=IORD(0x21460,0); data_buf2[10]=IORD(0x21450,0); data_buf2[11]=IORD(0x21440,0); data_buf2[12]=IORD(0x21430,0); data_buf2[13]=IORD(0x21420,0); data_buf2[14]=IORD(0x21410,0); data_buf2[15]=IORD(0x21400,0); test_tcps(0, 5000, data_buf2, 0); } --- Quote End --- At the moment I am using just 16 PIO so 256 bits, the input is just a counter running at 18Khz. Ive seen some improvement using NIOSII/f and now my data rate is 4,6 Mbit/s. The modules are running independent as I wrote before so the cpu has only to read a register value connected to the PIO, that's all. I don't mind receiving the same data twice, but this requires reading faster than intended.