EmbDev.net

Forum: DSP The csr8670 passes the data from the vm to the dsp for processing


von Cliff W. (cliff)


Rate this post
useful
not useful
csr8670, I want to pass a string of data received in the VM program to 
the internal of the DSP for processing, here I refer to the official DSP 
routine provided, my_frist_dsp_app, the application is to pass the ADC 
data to the DSP for processing, using stream connect, the form of the 
stream for transmission, the official SDK on stream is introduced using 
StreamRegionSource(), which can be used as a source for a section of 
memory and then passed to the DSP in the form of a stream.
1
uint32 ir_buffer[24] = {1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6};
2
Source ppg_source_ir = StreamRegionSource( (uint8 *)ir_buffer, 24 );
3
PanicFalse( StreamConnect(ppg_source_ir, StreamKalimbaSink(2)) );//Here the source is associated with port2 of the dsp
But when I actually tested it, I found that the data in ir_buffer will 
not be passed to DSP in DSP, so please ask if there is anyone who has 
done this kind of data transfer?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.