AnsweredAssumed Answered

K70+LCDC+USB

Question asked by PRJOY on Jan 27, 2016
Latest reply on Feb 8, 2016 by PRJOY

Hello everyone,

 

I use K70MCU, CW10.6, USB Stack v4.1.1 and LCD-RGB.

 

When run the demo "USB Stack->Host->Example->Printer" under CW , it is work fine.

 

While when i enable the bellow settings for speed up the LCD-RGB display update rate, but USB is not working.

 

  // turn code cache on

  LMEM_PCCCR = (LMEM_PCCCR_GO_MASK | LMEM_PCCCR_INVW1_MASK | LMEM_PCCCR_INVW0_MASK | LMEM_PCCCR_ENWRBUF_MASK | LMEM_PCCCR_ENCACHE_MASK);

  while( LMEM_PCCCR & LMEM_PCCCR_GO_MASK ){};

  // turn system cache on   

  LMEM_PSCCR = ( LMEM_PSCCR_GO_MASK | LMEM_PSCCR_INVW1_MASK | LMEM_PSCCR_INVW0_MASK | LMEM_PSCCR_ENWRBUF_MASK | LMEM_PSCCR_ENCACHE_MASK);

  while( LMEM_PSCCR & LMEM_PSCCR_GO_MASK ){};

 

  // Enable IPF/DPF/IC/DC

  FMC_PFB01CR ^= 0x00000001F;

  FMC_PFB23CR ^= 0x00000001F;

  // Enable IPF/DPF/IC/DC

  FMC_PFB01CR |= 0x00000001F;

  FMC_PFB23CR |= 0x00000001F;

 

Is there any settings to handle to speed up the LCD-RGB display update rate with out disturbing K70 USB-Host.

 

Thanks,

Prabhu.S

 

 

Outcomes