BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Author Topic: problem regarding eve2 display.  (Read 1433 times)

madhusudan.jadhav

  • Newbie
  • *
  • Posts: 6
    • View Profile
problem regarding eve2 display.
« on: April 23, 2019, 08:30:20 PM »

Hi,
 I am using infineon make xmc4500 realx kit with eve2-70A display. I have written the program. I take reference of one arduno based project using eve2 display. but display isnot getting. even i saw datasheet and programmed xmc4500  but no display is coming. i need help. the program is developed in infineon dave software.
please help i am newbee.
Logged

BRT Community

  • Administrator
  • Full Member
  • *****
  • Posts: 113
    • View Profile
Re: problem regarding eve2 display.
« Reply #1 on: April 25, 2019, 02:04:18 PM »

Hello,

Can you provide a SPI trace of communication from your MCU to the EVE IC?

We have some application notes geared towards writing a libraries for MCUs. The first covers how the low level transfers are structured between and MCU (in this example a PIC) and the EVE IC. The second covers how to create an EVE Library to interface to the MCU. And finally the last one covers some EVE examples for PIC MCUs:
http://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/BRT-AN-006-FT81x-Simple-PIC-Example.pdf
http://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/BRT_AN_008_FT81x_Creating_a_Simple_Library_For_PIC_MCU.pdf
http://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/BRT_AN_014_FT81X_Simple_PIC_Library_Examples.pdf

The principals described in these Applications Notes can be used to implement solutions for a wide variety of MCUs.


Best Regards,
BRT Community
Logged

yury_m

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: problem regarding eve2 display.
« Reply #2 on: May 02, 2019, 01:55:01 PM »

Hi,
Where do you enable back light of the LCD? May be LCD is working but because of back light is off you can not see the screen.
Logged

BRT Community

  • Administrator
  • Full Member
  • *****
  • Posts: 113
    • View Profile
Re: problem regarding eve2 display.
« Reply #3 on: May 02, 2019, 03:19:51 PM »

Hello,

REG_PWM_HZ and REG_PWM_DUTY are the registers used to control the backlight.

Please see section 4.5 of the datasheet:
https://brtchip.com/wp-content/uploads/Support/Documentation/Datasheets/ICs/EVE/DS_FT81x.pdf

Best Regards,
BRT Community
Logged

madhusudan.jadhav

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: problem regarding eve2 display.
« Reply #4 on: June 05, 2019, 03:14:03 PM »

« Last Edit: June 10, 2019, 05:19:29 AM by madhusudan.jadhav »
Logged

BRT Community

  • Administrator
  • Full Member
  • *****
  • Posts: 113
    • View Profile
Re: problem regarding eve2 display.
« Reply #5 on: June 11, 2019, 01:16:39 PM »

Hello,


Just to double check are you following the initialization sequence as described in section 2.3 of the datasheet?
https://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/FT81X_Series_Programmer_Guide.pdf

Best Regards,
BRT Community
Logged

madhusudan.jadhav

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: problem regarding eve2 display.
« Reply #6 on: June 11, 2019, 03:10:10 PM »

Yes, I have written the initialization sequence using xmc code  with format given in data sheet. But I am unable to read the memory.  I have tried arduino code and AN-008 code also. The host command I have written by hex code for testing. but couldnt get readings. Is there any way of checking to read memory?
« Last Edit: June 11, 2019, 03:23:51 PM by madhusudan.jadhav »
Logged

BRT Community

  • Administrator
  • Full Member
  • *****
  • Posts: 113
    • View Profile
Re: problem regarding eve2 display.
« Reply #7 on: June 11, 2019, 04:33:33 PM »

Hello,

Can you provide a SPI capture of your code execution to the EVE IC?

Best Regards,
BRT Community
Logged

AT38

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: problem regarding eve2 display.
« Reply #8 on: June 26, 2019, 04:09:07 PM »

After sending the host command 'ACTIVE' (0x00,0x00,0x00) the chip will respond to further commands with (0x00, 0x4A, 0x43, 0x42).

If you're not seeing that, you've probably got a problem with your SPI port.
Logged

madhusudan.jadhav

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: problem regarding eve2 display.
« Reply #9 on: July 27, 2019, 07:39:41 PM »

Hi,
Sorry for late
Atlast I manage to read the Reg_ID as 0x7c. I optimized the delay after ACTIVE command. But The reading was changing if I changed the delay time after Active command from 1 sec to 5 sec. now delay is 3.563 sec. Should this happen?
I am trying to read reset memory 302020h. but reading 12 is coming.
« Last Edit: July 28, 2019, 08:05:35 AM by madhusudan.jadhav »
Logged

BRT Community

  • Administrator
  • Full Member
  • *****
  • Posts: 113
    • View Profile
Re: problem regarding eve2 display.
« Reply #10 on: July 31, 2019, 10:17:17 AM »

Hello,

There should be a min. 300ms delay followed by checks of the REG_ID and REG_CPURESET before you can expect FT81x to be ready.

Code: [Select]
    MCU_PDlow();                                                                // PD low                                                               
    MCU_Delay_20ms();
    MCU_PDhigh();                                                               // PD high
    MCU_Delay_20ms();
 
    Set ext clock here if required
    MCU_Delay_20ms();

    EVE_CmdWrite(FT81x_ACTIVE, 0x00);                                           // Sends 00 00 00 to wake FT8xx
   
    MCU_Delay_500ms();                                                          // 500ms delay (EVE requires at least 300ms here))
       
    // --------------- Check that FT81x ready and SPI comms OK -----------------
   
    while (EVE_MemRead8(REG_ID) != 0x7C)                                        // Read REG_ID register until reads 0x7C
    {
    }
     
    while (EVE_MemRead8(REG_CPURESET) != 0x00)                                  // Ensure CPUreset register reads 0 and so FT81x is ready   
    {
    }

Now continue to set display registers, load bitmaps/fonts etc.

Best Regards,
BRT Community
Logged

madhusudan.jadhav

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: problem regarding eve2 display.
« Reply #11 on: August 02, 2019, 04:03:22 AM »

HI,
The same code I have applied.
As I am using Matrix orbital EVE2-70A TPR module
I did the following wiring
1) pin no.1 3.3v, pin no.16 3.3v, pin no.17,18 all are shorted to 3.3 v from mcu board.
2) Pin no.2 GND, Pin no. 15 GND, Pin no. 19,20 all are shorted to GND from mcu board
3) int pin is shorted to GND of mcu board through 4.7 kohm.
is this connection is correct?
« Last Edit: August 02, 2019, 04:06:57 AM by madhusudan.jadhav »
Logged

Rudolph

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: problem regarding eve2 display.
« Reply #12 on: August 02, 2019, 04:48:00 PM »

The init in my library starts a little different:

Code: [Select]
EVE_pdn_set();
DELAY_MS(6); /* minimum time for power-down is 5ms */
EVE_pdn_clear();
DELAY_MS(21); /* minimum time to allow from rising PD_N to first access is 20ms */

#if defined (EVE_HAS_CRYSTAL)
EVE_cmdWrite(EVE_CLKEXT,0); /* setup FT8xx for external clock */
#else
EVE_cmdWrite(EVE_CLKINT,0); /* setup FT8xx for internal clock */
#endif

#if defined (BT81X_ENABLE)
EVE_cmdWrite(EVE_CLKSEL,0x46); /* set clock to 72 MHz */
#endif

EVE_cmdWrite(EVE_ACTIVE,0); /* start FT8xx */

chipid = EVE_memRead8(REG_ID); /* Read ID register */
while(chipid != 0x7C) /* if chipid is not 0x7c, continue to read it until it is, FT81x may need a moment for it's power on selftest */
{
chipid = EVE_memRead8(REG_ID);
DELAY_MS(1);
timeout++;
if(timeout > 400)
{
return 0;
}
}

This does not only work faster than a fixed delay, it also works with no display attached.
Logged

BRT Community

  • Administrator
  • Full Member
  • *****
  • Posts: 113
    • View Profile
Re: problem regarding eve2 display.
« Reply #13 on: August 05, 2019, 10:03:32 AM »

Hello,

You would need to clarify with Matrix Orbital if these connections are correct.

HI,
The same code I have applied.
As I am using Matrix orbital EVE2-70A TPR module
I did the following wiring
1) pin no.1 3.3v, pin no.16 3.3v, pin no.17,18 all are shorted to 3.3 v from mcu board.
2) Pin no.2 GND, Pin no. 15 GND, Pin no. 19,20 all are shorted to GND from mcu board
3) int pin is shorted to GND of mcu board through 4.7 kohm.
is this connection is correct?

Best Regards,
BRT Community
Logged