Unable to compile gesture_demostration.mcpar for SMT32F767BI

mikroC, mikroBasic and mikroPascal for PRO ARM® MCUs, supporting STM32, Tiva, Kinetis, & CEC devices
Post Reply
Author
Message
pchinchole
Posts: 2
Joined: 16 Feb 2016 19:43

Unable to compile gesture_demostration.mcpar for SMT32F767BI

#1 Post by pchinchole » 17 Dec 2019 21:09

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

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: Unable to compile gesture_demostration.mcpar for SMT32F7

#2 Post by stefan.filipovic » 18 Dec 2019 15:16

Hi,

Try with _GPIO_MODULE_I2C2_PF10

Kind regards,
Stefan Filipović

pchinchole
Posts: 2
Joined: 16 Feb 2016 19:43

Re: Unable to compile gesture_demostration.mcpar for SMT32F7

#3 Post by pchinchole » 18 Dec 2019 17:41

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

User avatar
stefan.filipovic
mikroElektronika team
Posts: 1135
Joined: 18 Dec 2018 10:30

Re: Unable to compile gesture_demostration.mcpar for SMT32F7

#4 Post by stefan.filipovic » 23 Dec 2019 13:04

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,
Attachments
4_3_inch.zip
(721.18 KiB) Downloaded 100 times
Stefan Filipović

Post Reply

Return to “ARM PRO Compilers”