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.

Problem with PieVect.c

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28027

Hello,

Sorry but I have a basical problem with the PieVect.c file when I try to build the CPU_Timer example with my F28027PTA controller...

As you can see on the attached picture, I got 56 errors without having modifying any line of the code... Don't understand why and if you can help me, it will be great... I choose this example because I'd to start a new project using timer and interrupt at least...

Thx in advance.

Nico

  • Hello!

    And where is your attachment with errors?

    Regards,

    Igor

  • Thx for your answer...

    I'm sorry but I was confused to attach a file... I'll retry...

    I can just add an info: I also tried the "TriggedADC" example and it doesn't work too for the same reason of the PieVect.c. However, I remember that a few weeks ago, I've already tried this example and it was working at this time... Maybe I've broken smthg in the linking files ???

    Hope this time the attachement is OK.

    Regards.

    Nicolas

    1856.Error_PieVect.c

  • Hello!

    Maybe...Maybe...But at least the file PieVect.c is irrelevant to the issue. At first I would prefer to try to delete current project and to import the example project from controlSUITE to workspace of CCS again.

    Regards,

    Igor

  • Dear Igor,

     

    Thank you very much. Indeed, I re-install ControlSuite and it works again...

    If I can ask another question, I would like to have your opinion on my choose of the F28027 controller for my project ??? As you have observed I'm quite a beginner with controller even if I've studied the basics of them a few years ago and it's quite tough to understand correctly how to work with this device...

    My needs are:

    - Run an internal clock with hours, minuts, seconds and date

    - acquire 8 analog chanels each 10 minutes refering to time

    - log the data in memory

    - Display and buttons to configure time and date and show the current read values

    - USB interface to collect the stored data

     

    I'm quite sure the F28027 can do what I need and even much more but (I'm maybe wrong) there is not a lot of technical and detailed documentation to help building this project... For example, I didn't find a tutorial to create a new project step by step... Do you know if documentation is existing or if it's better to switch to a simpler device ???
     
    Thanks in advance.
    Nicolas
  • Hello Nicolas!

    Unfortunately I'm not very good expert into the area of TI-microcontrollers. Therefore I find for myself it difficult to carry out in-depth analysis of your requirements in the context of resources of TMS320F28027. TI employees will do that better. So my analysis is advisory only. Now let's look at your requirement in terms of F28027 resources:

    1 Run an internal clock with hours, minuts, seconds and date: Three 32-Bit CPU Timers

    2 acquire 8 analog chanels each 10 minutes refering to time: 13 channels of 12-Bit ADC (48-pin PT LQFP)

    3 log the data in memory: 32k of flash & 6k of SARAM look quite modest

    4 Display and buttons to configure time and date and show the current read values: SPI & GPIO are presented 

    http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/156485.aspxhttp://e2e.ti.com/support/microcontrollers/c2000/f/171/t/50985.aspxhttp://e2e.ti.com/support/microcontrollers/c2000/f/171/t/213871.aspx

    5 USB interface to collect the stored data: USB unit is not presented

    Thus F28027 does not correspond p.5 and p.3 under "?". For your task I would recommend you TMS320F28069U or F28M35 from C2000 series. But perhaps there are others solutions (not C2000). 

    As for the resources on the development of the project step by step, I would recommend you the following links:

    http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/269249.aspx & http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/183709.aspx.

    Regards,

    Igor