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.

How can I start DSP programming?

Other Parts Discussed in Thread: TMS320C5515, MSP430F2111, SPRC133

Hi everyone!

 

I am a beginner of DSP programming. I never use this. I have got a TMDXBDKFP5515 fingerprint development kit with TMS320C5515 processor. How can I programize this?

How does it happen the I/O usage? I saw the FDK_Demo source code and I can't understand it. How can I call direct the speaker-sound?

How does LED work?

 

Thanks the reply

Mark

  • There are excellent documents and users guide in the document folder after you install the CD from the box.

    I would recommend to start with C5515 FDK Quick Start Guide_SPRUFX1.pdf

    then move on to C5515 FDK Software User Guide.pdf, C5515 FDK Window Program User Guide.pdf and the C5515 FDK Hardware User Guide_SPRUFX3.pdf.

    Regards.

     

  • Hi Mark,

    The FDK_Demo source code is only a simplified algorithm source code with optical sensor, not the same  program already burned in the flash of the board.

    If you succeed  in connecting the FDK with computer using emulator,  follow the instruction of "C5515 FDK Software User Guide.pdf".

    Open the "main.c", you can find the main function of this demo program, it has annotations in the key place, you may find that it has several subfunctions to form a basic fingerprint recognition program. The main steps are listed here:

    01. Collect image_1

    02. get feature_1 of the image_1 

    03. Collect image_2

    04. get feature_2 of the image_2

    05. match two fingerprints

    06. match result

    If you want to know how it works, find the subfunction name in the other ".c" files. The demo program use only a part of the FDK hardware, it doesn't  include  the speaker and the swipe sensor. According to the schematics, the speaker uses a AP89021 chip, you can google it for documents. But I guess it may not be programed with new voice. If you want to program with swipe sensor, I can help. I just got the documents of this chip, but still writing the driver program.

    My email: sunoldman@foxmail.com

     

    Yang

  • Hi again!

     

    I have seen the souce code, but i didnt find how press-button works. The source code dont include  it, but if you load the source code to DSP, it works.

    How can I connect to the computer with RS232 port?

    I understand the algorithm and code, but i dont understand how the DSP works.

    Thanks for the reply

    Bye.

  • Hi Mark,

    If you have seen the schematics, you may find out these buttons are connected to a MSP430F2111. It controls the button and  speaker directly. And the DSP communicates with the MSP430 via UART(TX and RX). I think Ti should also give out the source of the MSP430, thus we will know how it works.

     

    Regards,

    Yang

  • Hi Yang!

     

    Thanks for the reply. When I pressed the delete all button, the chip reset memory from itself. If I pressed the match button, the chip call the TA_GetFeature(pImg,pVbin,pTemp,&Feature_2) function. Is it truth?

     

    Can you give me a weblink , how can I learn the RS232 communication or

    Have you got some example code, that includes the RS232 communication?

    Because I would like to sent the fingerprint data to the computer.

    Thanks your answer.

    Best Regard, Mark.

  • Hi Mark,

     

    Actually, the sample program is not the program already burned in the flash, which its code is not given out.

    But it's true that if you press the delete all button, the chip reset memory from itself; If you pressed the match button, note that the chip will call a similar function as TA_GetFeature ,a function to pick up feature from the flash and TA_MatchFingers; If you press the register button, the chip will call a function as TA_GetFeature and a function to store feature into the flash.

    And you don't need to get fingerprint data through RS232, the JTAG on board can do the same thing. When you load and run the sample program in CCS, the data has been already  in the RAM on chip, you can pick it up directly in CCS.

    FYI: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/66988/245612.aspx#245612

  • Hi Yang,

     

    Ok, i'm getting to understand that .

    But I have to send the data from fingerprint to PC, because on PC there is a database, which stores the data.

    Have you got any idea, how it is realizing?

     

    Thanks answer.

     

  • Hi Mark,

    I understand your situation. The data can be transmitted via USB or RS232.

    USB is more convenient to use, but difficult to develop. FYI: TMS320C5515/14/05/04 DSP Universal Serial Bus 2.0 (USB) Controller User's Guide

     RS232 is actually the UART interface. FYI:TMS320C5515/14/05/04/VC05/VC04 DSP UART User's Guide

    And you can view code and utilize library from TMS320C55x Chip Support Libraries (CSL):http://focus.ti.com/docs/toolsw/folders/print/sprc133.html

     

    P.S. If you have other question please contact me with email. The network when I get access to  TI E2E Community is usually in a low speed.

    My email: sunoldman@foxmail.com

     

    Regards,

    Yang

     

  • Hi Mark,

    I have just created a google group to discuss questions about this FDK, please join us.

    http://groups.google.com/group/c5515-fdk

     

    Regards,

    Yang

  • Hi Mark,

    I  want to save fingerprint features to PC for our database and I am also facing the same problem.

     Fingerprint features are stored in SPI flash. If you can read these features from SPI or any progress about the same plz guide me.

     

    Sakshi

     

  • Hi Mark,

     Fingerprint features are stored in SPI flash. If you can read these features from SPI or any progress about the same plz guide me and how to display on desktop 

    pls guide to me

     

    ajay