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

von Cliff W. (cliff)

Rate this post
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.
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};
Source ppg_source_ir = StreamRegionSource( (uint8 *)ir_buffer, 24 );
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?


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.