This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Basic Communication between DSP and PIC18 Microcontroller



Hello, I am trying to establish a basic form of communication between a PIC18 Microcontroller and C6713 DSK starter kit. I have noticed there is no serial communications (USART), I^2C, or SPI but I have been reading about the HPI (Host Port Interface) and it seems like the best bet. All I need to be able to do is recieve a signal from the micro controller to toggle through different sound effects that the DSP is going to carry out. Anyone have any ideas on how to tackle this monster?

Thanks,
Adrian

  • Adrian Chacon said:
    I have noticed there is no serial communications (USART), I^2C, or SPI

    The 6713 has two I2C peripherals.  I2C0 is not muxed with any other peripherals and the 6713 DSK routes I2C0.SCL to pin 68 of header J1 and it routes I2C0.SDA to pin 72 of header J1.  If you're just doing control then I2C is probably easier to implement/connect.

  • thanks! this certainly helps to set me on the right direction. I appreciate it

  • Mr. Griffis,

    I have been trying to find the corresponding addresses to the I2C pins, I2C0.SCL and I2C0.SDA, in order to transmit data from the microcontroller to the DSK but no luck.  Do you by any chance know the addresses for these pins?

     

    Thanks,

    Adrian

  • I assume you're talking about the I2C bus address (as opposed to the address of the registers in the 6713).

    The 6713 has a register called "own address register" (OAR) where you can specify the I2C address for the 6713.  For the other device it would either be hard-coded (in which case it should be listed in the data sheet) or else it is likely programmable like the 6713.