01-22-2009 11:49 AM
01-25-2009 07:12 PM
Hi Eric.
Let me do some research on my end and see what I can find for you.
Thanks,
Karunya R
01-28-2009 09:13 AM
Eric I am trying to use the SPORT interface to read the data stream from an AD9874 eval board. I am having the same issues that you are... "data access misaligned access". I find that this is occurring for me when I configure the SPORT interface. I am trying to set up my AD BF537 eval board to write out SPORT1 and read in on SPORT 0. If I am successfull I will post a VI.
01-29-2009 02:43 PM
Hi Eric,
I ran the program you gave me on a BF537. I did not have a device connected to my BlackFin board. When I just ran the code itself, I did not get a message about data misaligned access. I have attached a screen shot of it running.
Since you already have an open service request with me over the telephone on the same issue, it is easier to stick to one method of communication to resolve this issue.
Please let me know if you have any further questions.
Thanks!
Karunya
01-30-2009 02:08 AM
Hi Eric,
Let me also try to see if I can get hold of a AD board to test with the sport VI.
Thanks,
Karunya R
02-05-2009 04:18 PM
02-05-2009 04:25 PM
I could use some information to make this troubleshooting process a little easier.
Do you get an error only with you have an AD9874 eval board connected to the BF board?
What BF board are you using?
02-05-2009 04:39 PM
02-06-2009 10:30 AM
Hi Eric,
I haven't been able to test anything, but I can see a couple potential issues with your VI. You need to make the Data Buffer In array a 10-element array of U16. The Get Buffer VI just re-uses the memory area passed to it, so if you pass it an empty array, you won't get any data back. The other thing to try is to place a BF Device Wait Buffer.vi between the Device Read.vi and the Get Buffer.vi so it has a chance to populate the full 10 elements before you read it. Also, you don't want to initialize the SPORT port every time through your While Loop. Try just initializing everything once outside the loop, then running the Enable - Read - Wait - Get - Disable (add this to the end) sequence inside the loop.
Hope that helps!
Regards,
Jason02-06-2009 10:35 AM
I realized my post might be a bit confusing, so here's a JPEG of what I mean.
Regards,
Jason