Defining TFT Module Connections for Mikromedia 5 for TIVA

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
dmarano
Posts: 16
Joined: 04 Apr 2022 14:52

Defining TFT Module Connections for Mikromedia 5 for TIVA

#1 Post by dmarano » 04 Apr 2022 20:55

Hello,

I am working on converting a project designed for a Mikromedia Plus for TIVA to work on the Mikromedia 5 for TIVA board. The project has defined the TFT module connections as follows:
' TFT module connections
dim TFT_16bit_DataPort_Hi as char at GPIO_PORTJ_DATA
TFT_16bit_DataPort_Lo as char at GPIO_PORTM_AHB_DATA
TFT_16bit_RST as sbit at GPIO_PORTN_AHB_DATA.B6
TFT_16bit_RS as sbit at GPIO_PORTN_AHB_DATA.B4
TFT_16bit_CS as sbit at GPIO_PORTN_AHB_DATA.B5
TFT_16bit_RD as sbit at GPIO_PORTN_AHB_DATA.B1
TFT_16bit_WR as sbit at GPIO_PORTN_AHB_DATA.B0
TFT_16bit_BLED as sbit at GPIO_PORTN_AHB_DATA.B0
TFT_16bit_DataPort_Hi_Direction as char at GPIO_PORTJ_DIR
TFT_16bit_DataPort_Lo_Direction as char at GPIO_PORTM_AHB_DIR
TFT_16bit_RST_Direction as sbit at GPIO_PORTN_AHB_DIR.B6
TFT_16bit_RS_Direction as sbit at GPIO_PORTN_AHB_DIR.B4
TFT_16bit_CS_Direction as sbit at GPIO_PORTN_AHB_DIR.B5
TFT_16bit_RD_Direction as sbit at GPIO_PORTN_AHB_DIR.B1
TFT_16bit_WR_Direction as sbit at GPIO_PORTN_AHB_DIR.B0
TFT_16bit_BLED_Direction as sbit at GPIO_PORTN_AHB_DATA.B0
' End TFT module connections

But everyone of these has the same error message, for example: Identifier "GPIO_PORTJ_DATA" was not declared
Could some one identify how these should be declared for Mikromedia 5 for TIVA and why my project might have defaulted to using these ports when they are not available?
FYI - I do have GPIO ports available when I look at my code assistant. For example I have GPIO_PORTJ_AHB and GPIO_PORTK_DATA, but no GPIO_PORTJ_DATA declared.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Defining TFT Module Connections for Mikromedia 5 for TIVA

#2 Post by filip » 08 Apr 2022 10:21

Hi,

I believe I have answered you on the other post regarding the same issue.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for ARM General”