We are using eSDHC2 interface for eMMC connection. However we need 4 SPI and 8 UART for our application which is restricting the use of all eSDHC2 pins from single block(out of three).
eSDHC2 eMMC interface is available on i.MX6UL CPU at three places(should be taken from any one).
To avoid pin conflict, I am taking few data lines from one block and few lines fron other two. Detailed pin assignment is given below:
CPU Ball No.
Pin name(Alt function)
In above table, if you see above assignment first 6 signals (from D8 to D6) are available closely while 7th one usdhc2.DATA4 (A12) is taken from other eSDHC2 interface and again last 4 signals( from D3 to B4) belongs to other eSDHC2 interface. Let me know is it allowed to take the signals like this. Even when I assigned these signals through Pin muxing tool it did not give any error or conflict. Attached is the eSDHC2 pin assignment in the tool.
> The same is happening for eCSPI1 interface where ecspi1.MOSI(A14) and ecspi1.MISO(B16) are closer and from same interface while remaining SPI pins like ECSPI1_SCLK(D4) and ecspi1.SS2(A10) are taken from other interface of eCSPI1. Again the question is same that is it allowed to do so and muxing tool did not return any error or conflict. Also let me know for eCSPI1 interface can we use SS2 as slave select rather than SS0 ( as SS0 is conflicting with other pin).
> In pin muxing tool we did not find any special interrupt pins. We need to assign four SPI interrupts. As there are no dedicated interrupt like for SPI interrupt, guide us which lines I can use for interrupt for SPI and other interrupt functions.