DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Nov 1: register now to lock in today's rate
Register Now →

McBSP data transfer C6711 C6713 boards

Started by vlad...@yahoo.com ●November 2, 2008
vladimir,

Congratulations!!

On Wed, Dec 3, 2008 at 1:49 PM, wrote:
>
> Thank you Mike!! i'm very happy because the communication "it's alive" jeje
> what i did was, in the C6711 use the McBSP1 port because it's always
> available and in the C6713 i use the McBSP0 and i wrote the lines for the
> CPLD:
> #define DSK_MISC_REG (*(volatile unsigned char *)(0x90080006)) in the header
> and
> DSK_MISC_REG |= 1;
> in main, The communication it's not perfect yet because the first 200-250
> elements are always lose but it's a start. Maybe i could use the EDMA
> controller or something instead polling.


Lesson learned:
Understand your hardware. It makes it easier to write software.

Mike's steps for successful I/O on unfamiliar hardware:
1. [crawl] Play with the port. Read and write some registers to make
sure that you understand the hardware. complete.
2. [walk] Write standalone polling code to make it work. complete [almost].
3. [run] Write standalone EDMA code to make it work.
4. [integrate] Integrate the working I/O into the application.

mikedunn

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php