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.

PSP McBSP Driver for C6424



I am trying to import in my C6424 project the PSP McBSP driver, but the only example provided by PSP is customized for audio application with AIC33 such as in the EVM.

My application is not an audio application and so I have some difficulties in order to use the driver.

Where could I find a general simple example without audio application and with a simple use of the GIO functions (GIO_create, GIO_submit, GIO_write, GIO_read, ...) such as in the UART example? Could anyone help me?

Thanks!

 

 

  • Was your issues resolved or are you still having issues?

    Gagan

  • Gagan,

    I didn't use the PSP McBSP driver. I tried to remove from the PSP Audio driver and example (associated with McBSP driver) the part related to AIC33 configuration through I2C, but I had a lot of problems when I reduced the number of word in the frame (EDMA interrupt: BUFLEN parameter in audio_sample.c).

    So I used the CSL example and I modified it with my McBSP configuration and with an EDMA ping-pong buffering management; now it works well.

    However, have you an example with PSP McBSP driver?

    Thank you!

    Umberto Amadei

     

  • What I have is a non-audio driver (simple IOM driver; using GIO) for ASP peripheral on DM6446. http://focus.ti.com/lit/ug/sprue29b/sprue29b.pdf see from doc "The ASP is a specialized version of the multichannel buffered serial port (McBSP) peripheral used on other TI digital signal processors (DSPs)."

    Attached is the driver code and I think it should migrate easily to McBSP implementations on other devices. Unfortunately I can't provide any support for the SW so please use it with that caution. I'll also check to see if there is some other implementation available.

    Gagan

    ASP_IOMDriver_DM6446.zip
  • Gagan,

    I am sorry for the delay in my answer. Now I am very busy in other activities, but as soon as I'll be free, I'll try to use your driver.

    Thank you very much for your help.

    Umberto Amadei

     

  • Umberto Amadei

    I am using C6424 DSP and my application is also non-audio.How did you  modified CSL example with EDMA ping-pong buffering management?In my application i want to do same thing. Could you send me your modified code.

    Thanks in advance

  • I used the CSL McBSP example project in the "\CSL_3x_Reg_Layer_Examples\mcbsp_loopback" directory and I integrated it with the example about EDMA in the "\edma3_lld_01_06_00_01\examples\edma3_driver\evm6424" directory and in particular the file "dma_ping_pong_test.c", changing in it the parameters about the source and the destination for the EDMA channels and the dimension of the transfer. See also the document "spruem5a.pdf" from page 74 to page 77 to understand the meaning of the parameters.