The csr8670 passes the data from the vm to the dsp for processing

OP #6779156
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?

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.