Hi, Would somebody please explainme how can I simulate DMA transfers from a CODEC attached to a Serial Port to an ADSP-21160 using VisualDSP++2.0 for SHARC? Data for simulation is on an external text file. Thanks a lot, Jaime Andres Aranguren C. Jaime Andr Aranguren Cardona |
|
Simulating DMA transfers in VDSP++ 2.0 (SHARC)
Started by ●January 18, 2002
Reply by ●January 18, 20022002-01-18
In the simulator, under Settings-> Streams you can specify the serial port input to come from a file. You can also make it 'circular' so that when the end of your file is reached it will just wrap around and start from the beginning. Your setup for DMA transfer should be almost exactly the same as when you have a real CODEC. (you might need some minor tweaks...for example if you had your serial clock come from an external source, you have to change that to an internal source) This should give you a good environment to test DMA transfers over the SPORT. Cheers Bhaskar --- In adsp@y..., Jaime Andres Aranguren Cardona <jaime_aranguren@y...> wrote: > Hi, > > Would somebody please explainme how can I simulate DMA transfers from a CODEC attached to a Serial Port to an ADSP-21160 using VisualDSP++2.0 for SHARC? Data for simulation is on an external text file. > > Thanks a lot, > > Jaime Andres Aranguren C. > > Jaime Andr Aranguren Cardona > jaime.aranguren@i... > jaime.aranguren@c... |