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.

DM365 SPI problems



Hello,

I am trying to use DM365 SPI device as slave. Some questions:

1) Regarding documentation: consider SPRUFH1A, page 10, figure 1, note "C":

C SPIx_SCS[0:1] and SPIx_SCLK are only output for the SPI4 because SPI4 cannot be worked as a slave, and
interrupts are not supported on SPI4.

Same document, page 11, point 2.4:

All SPI Instances other than SPI 4 operate as a master SPI device only. SPI4 can be configured as a
master or slave.

Isn't it an incongruence in documentation? I've tried to configure SPI4 as slave and it seems to work in polling mode, so probably note "C" is incorrect.

 

2) Is SPI4 the only one that can be used in slave mode on DM365? From the documentation it seems so.

 

3) Is is true that SPI4 cannot generate interrupt events and DMA requests?

* Please consider document SPRS457, point 6.15:

    Unique interrupt for each SPI port (except SPI4).

    Separate EDMA events for SPI Receive and Transmit for each SPI port (except SPI4)

* Same document, point 6.9.1, page 90, table 6-15: there is no SPI4 EDMA channel event

* Document SPRUFG5A, point 8.2, table 54: there is no SPI4 interrupt connection.

 

If correct, SPI4 device cannot generate interrupts nor EDMA events.

Can you please correct me? It seems a huge failure for the only device that can work as SPI slave.

Thanks!