Hi,
I am using Fusion for ARMv8 with TFT board 5 capacitive and MCU card 23 (STM32F767BI). Since I am new to MicroC I tried basic examples such as led_blinking and led_curtain, and decided to try gesture_demonstration to utilize TFT. Compilation fails because _GPIO_MODULE_I2C2_PF01 could not be found (line 1033 in gesture_demonstration_driver.c).
Any advice on what I may be missing or what is needed to get this working?
Regards
Parag
Unable to compile gesture_demostration.mcpar for SMT32F767BI
-
- Posts: 2
- Joined: 16 Feb 2016 19:43
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Unable to compile gesture_demostration.mcpar for SMT32F7
Hi,
Try with _GPIO_MODULE_I2C2_PF10
Kind regards,
Try with _GPIO_MODULE_I2C2_PF10
Kind regards,
Stefan Filipović
-
- Posts: 2
- Joined: 16 Feb 2016 19:43
Re: Unable to compile gesture_demostration.mcpar for SMT32F7
Thanks Stefan. While it does compile now, TFT is blank and off. I see PF1 is normally high and goes low when I manually reset the board.
Regards,
Parag
Parag
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Unable to compile gesture_demostration.mcpar for SMT32F7
Hi,
I didn't realize that you are using MC23 for STM32, according to its schematic, you need to use I2C3 (PH7, PH8 pins) to communicate with the TFT controller.
Please find the simple example for 4.3" display for this MCU card in the attachment.
You can use this example as a reference.
Kind regards,
I didn't realize that you are using MC23 for STM32, according to its schematic, you need to use I2C3 (PH7, PH8 pins) to communicate with the TFT controller.
Please find the simple example for 4.3" display for this MCU card in the attachment.
You can use this example as a reference.
Kind regards,
- Attachments
-
- 4_3_inch.zip
- (721.18 KiB) Downloaded 100 times
Stefan Filipović