Other Parts Discussed in Thread: AM5749
Dear Expert Team
We are trying to use McSPI peripherals on AM5749 on the custom board.
Firstly we tried to test McSPIs on idkAM57x board.
After building and run the McSPI sample code, McSPI3 Test is passed.
Next, we changed the transfered byte 1 to 3 in the same code.
This time, we monitored the received buffer data.
The buffer data was
rxBuf[0] = 0x01
rxBuf[1] = 0xFF
rxBuf[2] = 0xFF
Except the first byte, received data ware 0xFF.
This is riducurious as the data supposed to be all the same.
Why are those data 0xFF?
we must solve this problem for using McSPI on our custom board.
By the way, we changed SPI3 to SPI2 instance in the same code.
The result was
rxBuf[0] = 0x00
rxBuf[1] = 0x00
rxBuf[2] = 0x00
All the pins of SPI2 are Hiz, so the result seems to be correct.
Thus the problem seems to belong to SPI3.
Below is our environment.
CCS version:10.4.0.00006
PDK Library version:pdk_am57xx_1_0_18
Sample code project name:MCSPI_BasicExample_idkAM574x_armExampleProject
MCU:AM5749
Board Condition: J37 Pins 1 and 2 shorted : received data - 0x01
Regard