After playing with the STM32F746G Discovery for a while I decided to get a Waveshare OPEN746I-C kit with a 7 inch LCD with capacitive touchscreen as I wanted a bigger screen and access to more of the pins.
I've got the LCD working using CubeMX to generate a system workbench project and copying the supplied example code into the project and adding the necessary include paths in the C/C++ Build Settings.
However I cannot get the touchscreen working, whilst debugging the code the GT811_init() doesn't seem to be responding to the I2C read requests.
When I import the example project into Keil however the touchscreen works fine so I don't think it's a hardware issue.
I've been through the keil code and cannot see any obvious reason why it works and the system workbench code does not...
Does anyone have this board and has got the touchscreen working in system workbench?
Any suggestions to where I might be going wrong would be greatly appreciated.
Thanks in advance