Hi,
Customer has a problem for TSW14J56.
The problem with DAC is that we cannot to create the custom pattern from C program.
When we read with MS Excel text file with custom pattern that we made with C program, and the later on upload data from this Excel file into the DAC EVM software, there is no problems.We use fput C std routine to put data into the text file. This is the code for 4 channel DAC
If ((fp = fopen(out_file_name, "a+t")) == NULL)
{
printf("> WARNING: Can Not Read Data File %s...", out_file_name);
getchar ();
exit (0);
}
for (i = 0; i < N_sample; i++)
{
sprintf (Buff, "%d %d %d %d\n", (int)floor(TxOrgRe[i]+0.5), (int)floor(TxOrgIm[i]),
(int)floor(TxOrgRe[i]+0.5), (int)floor(TxOrgIm[i]));
fputs (Buff, fp); // put results
}
fclose (fp);
With Exell, We have the problem that the size of the spread sheet is limited, meanwhile we need mode sample to be send into the DAC.
If you have a sample code in C that compatible with DAC EVM software, please send us it.
Best Regards,
Kato