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.

j3,Peripheral Expansion Connector

sir,
     i want to enable and disable the ports of J3, Peripheral Expansion Connector of dsk 6713 processor.. i have written

#define mcbsp_dxr0  0x00000000u;

but if i check the voltage of the port, it still consists of some voltage..and if i include the statement #include<mcbsp.h> im getting an error like cannot open the file mcbsp.h.
                  can you say the solution for this. Thank You.

  • In order to affect the connection of the McBSP interfaces to the J3 connector, you should see Sheet 5 of the C6713 DSK schematics found on the Spectrum Digital support site.  The signals connected to J3 are controlled by the CPLD_MCBSP0_MUX and CPLD_MCBSP1_MUX signals which are driven from the CPLD on the board.

    The Technical Reference Manual for the DSK describes the registers implemented in the CPLD on how to control the muxes to the J3 connector.

  • thank you for your reply sir.... i have gone through the  registers implemented in the CPLD...it is as shown below...

     Table : MISC Register

    Bit                      Name              R/W                Description

     

    1                 MCBSP1SEL        R/W                McBSP1 on/off board (0 = on-board, 1 = off-board)

    0                 MCBSP0SEL        R/W                 McBSP0 on/off board (0 = on-board, 1 = off-board)

     

    so sir, will it work can if i write          #define CPLD_MCBSP0_MUX       0x00000000u              to disable DC_DX0(McBSP0 transmit data)  pin on J3?

    what header files i need to add sir?

  • In order to write values into the CPLD registers, you will need to access them via the EMIF it is connected to.  The Technical Reference Manual should give you a description of what address of the CPU the CPLD registers exist.

    In addition, there is a zip archive on the Spectrum Digital support page for the C6713 DSK that is called Target Content.  This includes some software examples, documentation, etc for the DSK.  There is a header file and library for the DSK board components in the .\DSK6713\c6000\dsk6713 directory.