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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - diego.barile

Pages: [1]
1
Discussion - EVE / Re: ARGB4 image corruption.
« on: January 25, 2021, 04:07:55 PM »
I get ARGB4 pre-processing PNG into ARGB4 through EAB.

2
Discussion - EVE / Re: ARGB4 image corruption.
« on: January 18, 2021, 03:23:19 PM »
The fix is to send the image data in chunks (256 or 512 bytes) instead one single transmission.
Thank you to everybody.

3
Discussion - EVE / ARGB4 image corruption.
« on: December 03, 2020, 11:42:19 AM »
Hello everybody.

I'm successfully able to show an ARGB4 image onto one page (FT812 custom embedded system).
But randomly (:'(), when the image size is roughly greater than 3Kb, sometimes it is displayed corrupted.
In attachment you can see two screen-shot (the good and the corrupted) plus the original asset for your further checking.

Please can you help me to solve this issue?
I suspect an not optimal PNG settings.

Thanks in advance.


4
Discussion - EVE / How to handling MPU interrupts into ESD 4.8
« on: November 09, 2020, 11:41:23 AM »
Hello everybody.

Inside one ESD 4.8 project I want to update a label showing date/time once a second.

My first attempt was to hook one "Update Signal" to a "user function" and then the function output to the label text property. Inside the function I read the CPU date/time registers and format them.
This is working fine but I don't like it a lot because is inefficient to continuously read and format the same string several times in the same second.

My CPU (NXP LPC1768) arises one HW tick every second. I would like to hook this interrupt routine to format the clock only once per second.
But it isn't clear to me how to invoke one "custom slot" (or any else widget) outside the EVE loop.

Can someone give me some tricks?
In attachment a picture showing the ESD blocks.

Thanks in advance.
Diego.

5
Discussion - EVE / Re: ESD 4.8 with custom board and generic MPU
« on: October 07, 2020, 02:10:03 PM »
Thank you so much.
I will try asap.

Regards.
Diego Barile.

6
Discussion - EVE / ESD 4.8 with custom board and generic MPU
« on: October 05, 2020, 10:35:31 AM »
Hello everybody.

I'm quite newbie about the EVE ecosystem and I need some tips & tricks just to understand if I'm on the right road.
I've one custom MPU board with NXP LPC1768 processor connected through SPI with an FT812.
I’ve one resistive touch panel connected.
This board will be a touch terminal to manage a UX dashboard showing data taken from an external system, connected via CAN bus.
I plan to write a FW based on FreeRTOS that manage the incoming CAN messages and drive the GUI consequently.

Just to begin I've start a new project using EVE Screen Designer 4.8, building one "hello world" single page EVE app.

Then I've export the project as Eclipse solution, getting a big bunch of C files.
Currently I'm trying to compile them in the NXP LPCXpresso solution to achieve a library the should manage the display. Not really easy due several compiling issues, currently under resolution.

First question: is this approach correct?

After the export the system expose to me also the file App.h that contains the following code:

Code: [Select]
ESD_APPLICATION(App, Include = "App.h", Callback)
typedef struct
{
void *Owner;
AppScreen App_Screen;
} App;

void App__Initializer(App *context);

ESD_SLOT(Initialize)
void App_Initialize(App *context);

ESD_SLOT(Start)
void App_Start(App *context);

ESD_SLOT(Update)
void App_Update(App *context);

ESD_SLOT(Render)
void App_Render(App *context);

ESD_SLOT(Idle)
void App_Idle(App *context);

ESD_SLOT(End)
void App_End(App *context);


Second question: exactly which method must be invoked to initialize the App and which method must be (periodically?) called into a FreeRTOS task?
Again is not clear to me how to initialize the struct App *context.

More in general: I haven't found in the FTDI website some examples similar to my environment: generic CPU, FreeRTOS and ESD 4.8.
Most (or all examples) seems not to use the generated code from ESD 4.8 but seems to use raw commands.

Can anyone give me some answers?
I'll appreciate a lot.

Thanks.  :)
Diego.

Pages: [1]