Have two TMS570 development boards with their MibSpi#5 connected together in a straight through connection.
One is configured as Master, the other as Slave.
Code is configured to use the TI supplied copy functions.
Code has been tested standalone in loopback (Master) mode.
Master-Slave mode,
Code has been reconfigured to run in Master Mode on Master, and in Slave Mode on Slave (first time in Slave Mode).
Master seems to take control of the MibSPI#5 Bus, evidenced by MibSpi5CLK, MibSPI5CS[0], and MibSpi5SIMO[0] toggling but MibSpiSOMI floating high (using ext clk per documentation).
Slave seems to be waiting (on ???) to exchange data, MibSpiSOMI floating high (using ext clk per documentation).
MibSPI5->TGINTFLG shows 0x0;
MibSPI5 memory mapped registers(below) 0xff0a0000 to 0xff0a01fe & 0xff0a0200 to 0xff0a02fe shows outgoing data loaded and incoming data as 0x0.
0xff0a0000 to 0xff0a01fe Transmit Buffer (Data to transmit)
980E 0000 980E 2383 980E 1002 980E 1003 980E 1004 980E 1005 980E 1006 980E 1007 980E 1008 980E 1009 980E 100A 980E 100B 980E 100C 980E 100D 980E 100E 980E 100F 980E 1010 980E 1011 980E 1012 980E 1013 980E 1014 980E 1015 980E 1016 980E 1017 980E 1018 980E 1019 980E 101A 980E 101B 980E 101C 980E 101D 980E 101E 980E 101F 980E 1020 980E 1021 980E 1022 980E 1023 980E 1024 980E 1025 980E 1026 980E 1027 980E 1028 980E 1029 980E 102A 980E 102B 980E 102C 980E 102D 980E 102E 980E 102F 980E 1030 980E 1031 980E 1032 980E 1033 980E 1034 980E 1035 980E 1036 980E 1037 980E 1038 980E 1039 980E 103A 980E 103B 980E 103C 980E 103D 980E 103E 980E 103F 980E 1040 980E 1041 980E 1042 980E 1043 980E 1044 980E 1045 980E 1046 980E 1047 980E 1048 980E 1049 980E 104A 980E 104B 980E 104C 980E 104D 980E 104E 980E 104F 980E 1050 980E 1051 980E 1052 980E 1053 980E 1054 980E 1055 980E 1056 980E 1057 980E 1058 980E 1059 980E 105A 980E 105B 980E 105C 980E 105D 980E 105E 980E 105F 980E 1060 980E 1061 980E 1062 980E 1063 980E 1064 980E 1065 980E 1066 980E 1067 980E 1068 980E 1069 980E 106A 980E 106B 980E 106C 980E 106D 980E 106E 980E 106F 980E 1070 980E 1071 980E 1072 980E 1073 980E 1074 980E 1075 980E 1076 980E 1077 980E 1078 980E 1079 980E 107A 980E 107B 980E 107C 980E 107D 980E 0000 800E 548A
0xff0a0200 to 0xff0a02fe Receive Buffer (incoming data)
8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000 8000 0000
Slave is not latching data off the MibSPI#5 (SIMO) Bus, and there is no simultaneous transmission of data from the Slave either (SOMI floating high).
We chose MibSPI#5 for throughput, this will be used for Inter-Processor Communication between two of out boards built around the TMS570 with Parallel Bus SPI.
George A Mitchell
(425) 895-4337 Work
(949) 302-9867 CP