STM32F413H-Discovery board issue about Touchscreen Calibration : ERROR (because of ts_status = TS_DEVICE_NOT_FOUND; )
Hi, MCD teams,
I bought a new STM32F413H-Discovery board (MB1274-F413HT6-E03 A214500149) from Mouser and received it on last week.
Now I tried to run the application under the folder of F4 Firmware Package\Demonstrations\STemWin\MDK-ARM\Project.uvproj, but the LCD always show the message as my question title highlighted (Touchscreen Calibration : ERROR). I had checked the user manual and it had mentioned that the touchscreen must be calibration at first time. But now TS device can not be found, what should I do for the next?
PS: I have trace the source code, the Touchscreen calibration ERROR is because of the following function always return "0x00".
uint16_t ft6x06_ReadID(uint16_t DeviceAddr)
{
/* Initialize I2C link if needed */
TS_IO_Init();
/* Return the device ID value */
return (TS_IO_Read(DeviceAddr, FT6206_CHIP_ID_REG));
}