AM2612: 2 SPI CS configuration in sysconfig

Part Number: AM2612
Other Parts Discussed in Thread: SYSCONFIG

Hi,

 

I am asking for customer. My customer is using mcu_plus_sdk_am261x_11_00_00, he found that in MCSPI module in sysconfig, it can only set 1 CS pin, there is no more option to set another CS pin in sysconfig.

image.png

But SPI0 should have 2 cs

image.png

Is this bug in sysconfig?

 

Best Regards

  • Hi Kita,

    This appears to be a limitation in SysConfig and not a hardware limitation. 

    A workaround can be to manually add CS1 to the generated Sys Config code. An example from the sdk which already does this is "C:\ti\mcu_plus_sdk_am261x_x_x_x\examples\drivers\mcspi\mcspi_loopback".

    The MCSPI driver API supports multiple CS channels through the MCSPI_ChConfig structure, which includes csPolarity and channel configuration fields. Your customer can add a second channel configuration in code after SysConfig generates the initial setup.

    If you want full SysConfig support without a workaround then we may need to raise this with the SDTO team.

    Thanks,

    Ira