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.

TMS320F28388S: Is it possible to implement multiple CLB encoders at the same time ?

Part Number: TMS320F28388S

I tried to find some information about multiple clb's PMlibrary encoders implementation at the same time without success.
Now I ported the T-format encoder and I would like a suggestion in order to port another one encoder/CLB implementation.
I read the related post about a reset of the C2000 mcu in order to change the encoder.. and this isn't an option in my case.

Some tips about this?

For example I get an alpha library about Abs2eQEP and obviously I want to port it into the existing project with the clb T-format implementation, and next I want to add  other encoders.


  • Matteo Dal Molin said:
    Now I ported the T-format encoder and I would like a suggestion in order to port another one encoder/CLB implementation.
    I read the related post about a reset of the C2000 mcu in order to change the encoder.. and this isn't an option in my case.

    Matteo,

    If you would like to re-use the same resources (i.e. same CLB Tile, same SPI instance) then you will need to reset those peripherals and then reconfigure/initialize them to another encoder interface.  While resetting the whole MCU is one option, you could reset the peripherals themselves.  On this device, both the CLB and SPI modules can be reset by writing to the SOFTPRESx registers. 

    If you want to use different resources then you would put them on different tiles within the CLB, they would use different SPI peripherals, etc.   

    Regards

    Lori