Other Parts Discussed in Thread: SYSCONFIG
I am using the TMDS243GPEVM development board with mcu_plus_sdk_am243x_08_02_00_31. The function Flash_norXspiReadId() fails to read the correct part ID for the OSPI Flash part. According to the infineon/Cypress Datasheet for the S28HS512TGABHM010 NOR flash part, there are six bytes returned for the manufacturer and device ID. The Flash_norXspiReadId() function gets bytes 2, 3, and 4, which are the Device ID LSB, the ID Length, and the Physical Sector Architecture; bytes 0, 1 and 5 are missing. The function Flash_norXspiReadId() is interpreting these three byte values as the Manufacturer ID (byte 0), the Device ID MSB (byte 1), and the Device ID LSB (byte 2). Line number 1024 of ospi_v0.c is returning the results of the read ID command, and it is returning the last 4 bytes of the ID rather than the first 4 bytes of the ID.
Paul Hanson