Hi
@Julián_AragónMSo, I have a display library for the ILI9341 display for an STM32 controller and it's working fine.
I ported it to the LCD_TFT example in the cookbook. SPI data and commands are being transmitted but I'm not able to control the display.
So, I ported the same library to a LPSPI example project, there also same thing.
What I observed was there is a delay function in the STM32 library that seems to be missing in NXP side. I tried to add it but just creating a loop to wait there for some time but failed at that.
In order to add the delay function, I came to know about the delay function in OSIF model.
I tried adding it to the example projects, but I was not able to add any components I don't know why. So, I added it to a project I created in which I was able to add components, but the delay was getting stuck in the " while (delta < delay_ticks) " in the "OSIF_TimeDelay" function. I tried the community and tried to fix it but I was not able to.
I think this pretty much sums up what all I have tried on this project.
So, If I take the example LPSPI code or the LCD_TFT code, add the display code to one of these codes. What would you suggest I do to add a precise millisecond delay to the code?
Can I add a component to an example project? which I tried but failed maybe because of my lack of knowledge.
Anyways thank you for the responses.