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.

TMS320F28075: Is the PM_sincos.lib available with F28075?

Part Number: TMS320F28075


I've seen that the example is using F2837xD, but my target is F28075, so I'm wondering if the source code of the lib is available? Of if not, can the lib be used directly with F28075?

Any comments are appreciated!

  • The library source code has not been released, however there is nothing in the library which prevents it from being used with F28075.

    You will have to configure the device to bring the signals through to suitable peripherals.  You can do this by modifying the "sincos.c" integration file.  If you look at the connection diagram on p.7 of the library User's Guide, you'll see which peripherals are used for F28377D.  These will be different on F28057 because there is no ADC-C, so you'll have to make an ADC channel selection which allows two channels to be sampled simultaneously and each channel must have a CMPSS connection.  Once you have decided it will be a matter of modifying the initialization code in the filed "sincos.c" and "PM_sincos_main.c".  There's quite a lot of work to do, and I have not tried it, but it should be straightforward.

    Really all the library cares about is that the incoming data appears on the right elements in the SINCOS data structure when sincos() is called.

    Regards,

    Richard

  • Got you! Many thanks!