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

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

A question of your own? This thread is over 5 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.