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?

Reply

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