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.

c55xx CSL

 

Hi!

Just a short remark about the CSL:

The CSL is currently absolutely not usable for real world applications where you make use of multiple peripherals at the same time.

This is due to the reason that resources that are shared by multiple peripherals are overwritten in the initialization functions of the peripherals and not handled properly.

 

For example:

I initialize the uart: The CSL initializes PPMODE of EBSR in a way that the UART is available at the gpio pins 28-31

A few lines later I initialize the i2s peripheral: This one initializes PPMODE to 6, so disables the UART. Furthermore: It resets the uart peripheral by writing to the register PRCR (!). So there is also no possibility to enable the uart again by setting PPMODE to 1.

 

This is not documented and there is no possibility to use the 2 peripherals at the same time.
Did nobody see theese problems before? Or does nobody seriously use the CSL?

 

I spent already so many hours in debugging such problems of the library, so I'm a little bit peeved, sorry for that. For me it would help much more if TI would give example source code of how to initialize and use certain peripherals on register level, but such code does not seem to exist.

 

Regards,

Kai