Other Parts Discussed in Thread: OMAP-L138, OMAP-L137
Hello!
I am a beginner developer. Though I plan to be engaged in it further, it is my first experience in the field. Now i work with TMS320 C672x (sprs370e)
I read many appnotes and other useful info, but i don't understand some things. I am unsure about right understanding some things.
My problem that the information is devoted either to hardware, or
software, instead of how to provide interaction of one with another.
There are information about hardware and configuration registers in
SPRA/SPRU/SPRS. There are information about CCS, debugging and the same
things in CCS help.
I find /* do data I/O */
in the example of program in CCS tutorial instead data I/O command.
There is a big scheme. It is needed to create a new part of the scheme - digital signal processing block. My target - to connect AVR32 as a master with C6726B as a slave, run C6726B, to receive some data and transmit the results of calculations to AVR32.
I have a PCB, an algorithm for data processing. But i don't know how to force them to work together.
I ask some question right below. If you know something, or see mistake in my statement or can give useful advice, answer me, please.
1) How to start my program?
I cannot write program in DSP internal RAM and therefore DSP cannot load it from internal ROM. DSP can load program only from external ROM/devices.
I think, that i can use SPI Slave boot mode (sprs370e,SPRU718B,SPRAA69D). I have to place *.OUT file in AVR memory with AVR program. After reset AVR setup boot pin in needed condition, initiate a session and send *.OUT as it defined in SPRAA69D. After this DSP load received program and started this program. Is this statement correct?
2) How to receive data?
I think that McASP (spru878b) is the best choice for it. I read that McASP have DMA and good speed.
But i cannot find, how to work with McASP from program. I have to configurate McASP by setup registers. How to work with McASP after this?
As I understand, McASP can receive data using DMA without program participation. Or not? How to make so that in array АААA the received data block contained? Where i can read about it?
3) How to transmit calculation data to master?
I use SPI (SPRU718B) for this. After start i have to configurate SPI registers. Problem is the same as problem in question 2. I have variable BBBB. How to send it to master?
I know that it is simple problems, but I have not found till now the information on it. If you think, that there are documents, where i can find my problem solution, write here, where i can find it, please.