diff --git a/ubb-la/ubb-la.c b/ubb-la/ubb-la.c index 7b4750d..9c478c1 100644 --- a/ubb-la/ubb-la.c +++ b/ubb-la/ubb-la.c @@ -199,14 +199,13 @@ static void xfers(unsigned long *bufs, int n_bufs, int nibbles, MSCCDR = 0; /* - * Experimental value for 12 MSa/s: hangs always/usually with - * 231 cycles, hangs sometimes with 232, hands never (so far) - * with 233. + * Experimental value for 12 MSa/s with speedup to 84 MSa/s: + * hangs often with 29 cycles, hangs never (so far) with 30. */ -// for (j = 0; j != 233; j++) asm volatile (""); + for (j = 0; j != 30; j++) asm volatile (""); // while (MSC_STAT & MSC_STAT_DATA_FIFO_EMPTY); - while (!(MSC_STAT & MSC_STAT_END_CMD_RES)); +// while (!(MSC_STAT & MSC_STAT_END_CMD_RES)); IN(UBB_CMD);