VTFT and Net_Ethernet_FT90x library conflict.

General discussion on mikroC PRO for FT90x.
Post Reply
Author
Message
ACPUK
Posts: 45
Joined: 24 Apr 2018 00:29

VTFT and Net_Ethernet_FT90x library conflict.

#1 Post by ACPUK » 25 Oct 2019 03:38

Hi all,
I have been working on a large project, it was time to interface the mikromedia HMI into the system.
I built most of the project in V_TFT, however when starting to use the Net_Ethernet_FT90x library I found a conflict.
Two actually:-
I am initializing the Ethernet first, then InitVTFTStack();
Issue 1,
when Net_Ethernet_Intern_Init() is called, the touch becomes erratic as if the buttons are being pressed, when they are not.

Issue 2,
when InitVTFTStack() is called, Ethernet dies.
There is a GP/IO conflict, at the point where the TFT library sets the i/o config, the Ethernet port stops working.

FT812_GPIO_SetConfig(&cfg.GPIO);

Code: Select all

0xAA0C	0x44104000  MOVE.L	R1, R0
; pGPIOConfig end address is: 0 (R0)
; pGPIOConfig start address is: 4 (R1)
;__lib_ft812_modules.c, 290 :: 		
0xAA10	0x5DE0C002  CMP.L	R1, #0
0xAA14	0x00202A8A  JMPC	R30, Z, #0, L_FT812_GPIO_SetConfig579   <<<< hear
at the point <<<<hear, the Ethernet goes off, presumably due to a conflict with I/O pin configuration requirements.

Regards
Anthony

ACPUK
Posts: 45
Joined: 24 Apr 2018 00:29

Re: VTFT and Net_Ethernet_FT90x library conflict.

#2 Post by ACPUK » 25 Oct 2019 04:18

I have uploaded a simple project to demonstrate the issue.
Attachments
ethertest.zip
(398.54 KiB) Downloaded 87 times

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

Re: VTFT and Net_Ethernet_FT90x library conflict.

#3 Post by stefan.filipovic » 25 Oct 2019 14:34

Hi Anthony,

I noticed that you've opened a Helpdesk ticket regarding this issue.
I've answered you so we can continue this correspondence there.

Kind regards,
Stefan Filipović

Post Reply

Return to “mikroC PRO for FT90x General”