Sundance SMT317 User Manual
Page 24
Version 6.1
Page 24 of 24
SMT317 User Manual
//Allocation of a memory space to store the samples
samplestore=(int*)calloc(BUFFER_SIZE,sizeof(int));
if (samplestore!=NULL & samplestore_slave!=NULL)
printf("memory allocation was successful\n");
else
exit(1);
printf("Address of samplestore:%08x \n",samplestore);
/******************FPGA CONFIGURATION*********************/
printf("\nFirst bitstream\n");
Fast_FpgaConf(fpga_count, fpga_data,
COMMPORT1
);
printf("\nEND... \n");
/*******************ACQUISITION***************************/
SDB_init(SDB_CLROF|SDB_CLRIF|SDB_CLK,
SDB_CLROF|SDB_CLRIF|SDB_CLK);
control_word = BURST1K_IntClk_IntTrigger;
link_out_word(control_word,
COMMPORT1
);
sema_init(&internal_filled_b, 0);
thread_new(fill_internal_b, 1000, 0);
sema_wait(&internal_filled_b);
printf("done\n");
}
void fill_internal_b(void *x)
{
SDB_read (BUFFER_SIZE*sizeof(int), samplestore,
SDB_B
);
sema_signal(&internal_filled_b);
}
- SMT107 (16 pages)
- SMT6035 v.2.2 (39 pages)
- SMT6012 v.4.6 (22 pages)
- FC100 (12 pages)
- FC108 v.1.1 (10 pages)
- SMT6065 v.4.0 (45 pages)
- FFT v.2.1 (19 pages)
- SMT111 (18 pages)
- SMT118LT (10 pages)
- SMT118 (20 pages)
- SMT123-SHB (13 pages)
- SMT128 (15 pages)
- SMT145 (18 pages)
- SMT148 (35 pages)
- SMT130 v.1.0 (46 pages)
- SMT148FX (48 pages)
- SMT310Q (55 pages)
- PARS (70 pages)
- SMT166-FMC (52 pages)
- SMT166 (44 pages)
- SMT300Q v.1.6 (61 pages)
- SMT310 v.1.6 (50 pages)
- SMT326v2 (24 pages)
- SMT338 (19 pages)
- SMT349 (32 pages)
- SMT339 v.1.3 (27 pages)
- SMT338-VP (22 pages)
- SMT358 (25 pages)
- SMT351T (37 pages)
- SMT351 (25 pages)
- SMT350 (45 pages)
- SMT362 (30 pages)
- SMT365G (23 pages)
- SMT364 (37 pages)
- SMT373 (15 pages)
- SMT368 (24 pages)
- SMT370v3 (46 pages)
- SMT377 (22 pages)
- SMT381 2007 (31 pages)
- SMT381-VP (81 pages)
- SMT387 (42 pages)
- SMT391 (18 pages)
- SMT384 (47 pages)
- SMT390-VP (55 pages)