IMXRT1050-EVKB LCD+USB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXRT1050-EVKB LCD+USB

1,286 Views
eliezer_fortron
Contributor I

Hello, in continuity to my previous question: https://community.nxp.com/thread/490615, I am posting my code to see if anyone can help me.
Note that in order to test I commented the while (1) {} that calls the screen initialization and I made a new loop to run the USB.

To test if the monitor is working, just comment the USB loop and uncomment the LCD loop.

I did so to test.

//loop USB Host (J9 to IMXRT1050-EVKB)

USB_HostApplicationInit();
while(1){
USB_HostTaskFn(g_HostHandle);
USB_HostMsdTask(&g_MsdFatfsInstance);
}

//loop LCD

/* initLed();
gpio_pin_config_t led_config = {kGPIO_DigitalOutput, 0, kGPIO_NoIntmode};
GPIO_PinInit(EXAMPLE_LED_GPIO, EXAMPLE_LED_GPIO_PIN, &led_config);
GPIO_PinWrite(EXAMPLE_LED_GPIO, EXAMPLE_LED_GPIO_PIN, 1U);

GUI_Init();
CreateMY_LCD();
WM_Exec();
while (1){
if (BOARD_Touch_Poll()){
#ifdef GUI_BUFFERS
GUI_MULTIBUF_Begin();
#endif
GUI_Exec();
#ifdef GUI_BUFFERS
GUI_MULTIBUF_End();
#endif
}
}*/

0 Kudos
2 Replies

875 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you also copy the "Defined symbols" to the project?

You can find the "Defined symbols" in the project's properties.

pastedImage_1.png

0 Kudos

875 Views
eliezer_fortron
Contributor I

Hi jimmychan,
I tried this too, there were even some macros disabled. So I copied the USB symbols to the project and enabled the macros, but even then, only the screen works the USB does not.

Grateful for the attention.
Sorry my wrong english

0 Kudos