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 - pauljiao

Pages: [1] 2 3 4
1
Discussion - EVE / Re: implementing support for formated strings
« on: August 15, 2022, 02:36:59 PM »
 The function COUNT_ARGS is not right, when the parameters are like :

"%*d"
"%.*d"
"%*.*d"

which uses an extra argument for each '*'.
See the picture enclosed

2
Quote
it's video file conversion system(2.4.1) is much superior to the most recent version available.

@TFTLCDCyg, May I know the details on how the video conversion utility in EAB 2.4.1 is superior to the most recent version (EAB2.6.0?, I guess)?   

3
Discussion - EVE / Re: Concerns with ESD and generated source
« on: June 14, 2022, 07:46:08 AM »
As far as I know, in ESD generated source code, there is an "idle" callback function which users can reimplement and wait there till touch is detected.

4
ESD will generate the ANSI C code for the selected platform. Arduino is using its own C++ variety language to program.  However, I think it is possible to build C for MCU on the Arduino board.  You may need to modify the code in the HAL of the ESD-generated application. You may refer to this porting guide:

https://brtchip.com/wp-content/uploads/2021/06/ESD-4.10-Exported-Project-Porting-Guide-for-STM32L4-Discovery-Board-and-FreeRTOS.pdf

5
Shared Projects / IoT example projects and library in circuitPython
« on: August 03, 2021, 10:23:41 AM »
Raspberry Pi Pico works well with Eve-based display modules. 

It is an open source project and you can get it from:

https://github.com/BRTSG-FOSS/pico-bteve



6
Discussion - EVE / Re: How to make a selected color transparent?
« on: June 03, 2021, 11:02:34 AM »
try to convert the PNG to ASTC format with EAB . ASTC preserves the alpha channel.

7
Discussion - EVE / Re: BT81X rendering ASTC image from flash
« on: February 24, 2021, 09:21:40 AM »
I may suggest to use larger ASTC block (ASTC8x8) if possible.

8
Discussion - EVE / Re: why can't I read the Manufacturer/Device ID?
« on: January 20, 2021, 02:58:22 AM »
Here is an example code in python to access the registers of flash:
Code: [Select]
def bb(*b):
    return pad4(array.array('B', b).tostring())

def txrx(eve, txpart, n_rx):
    eve.cmd_flashspidesel()
    eve.cmd_flashspitx(len(txpart))
    eve.c(bb(*txpart))
    eve.cmd_flashspirx(0, n_rx)
    if n_rx:
        eve.finish()
        return array.array('B', eve.rdstr(0, n_rx))

def do_sfdp(eve):
    """ Dump the SFDP area in binary """
    eve.cmd_flashdetach()
    eve.cmd_flashspidesel()

    eve.cmd_flashspitx(1)
    eve.c(bb(0x9f))
    eve.cmd_flashspirx(0, 3)
    eve.finish()
    print repr(array.array('B', eve.rdstr(0, 3)).tolist())

9
Discussion - EVE / Re: ARGB4 image corruption.
« on: January 20, 2021, 02:45:30 AM »
how do you get ARGB4 bitmap ? through PNG decoding from cmd_loadimage at run-time or pre-processing PNG into ARGB4 through EAB?

10
Discussion - EVE / Re: accessing custom font Glyphs in Flash
« on: January 20, 2021, 02:38:54 AM »
If the glyph is in ASTC and stored in flash, the address shall offset from 0x800000.
See the picture from programming guide

11
You may check the EvChargePoint example project ,which is under installation path
"Examples\Advanced"

12
Discussion - EVE / Re: Auto-increment on spinner
« on: November 02, 2020, 09:21:20 AM »
what is spinner button? do you mean "ESD SpinBox" Widget?


13
Discussion - EVE / Re: ESD 4.8 - STM32 - Image
« on: July 22, 2020, 10:30:04 AM »
I rememeber the default location of assets is on the SD card unless it is specially designated to flash.

14
Discussion - EVE / Re: Image corruption
« on: June 24, 2020, 03:39:07 AM »
T.Pierret, Glad to know your issue is fixed.

The coprocessor command cmd_setbitmap is just to generate a series of display list for graphics engine:
Code: [Select]
bitmap_source()
bitmap_layout()
bitmap_layout_h
bitmap_size
bitmap_size_h
bitmap_ext_format (if required)



Quote
In the current case, the splash image is 800x480 and the icons, 80x80. Why are they requested however?

The bitmap_size_h/bitmap_layout_h set by splash image(larger image) changed the graphics context and it kept effective until it is changed by the following display list. I think it may cause the issue of displaying smaller icon.

15
Discussion - EVE / Re: Capacitive touch screen calibration
« on: June 24, 2020, 02:45:12 AM »
For calibration process of capacitive touch screen, it shall be done in compatability mode (single touch) only.

It is not possible to do the calibration at the extended mode.

So to read the final touch point coordinate (after the calibration process),  REG_CTOUCH_TOUCH_XY at address 0x302124  shall be read.  The coordinate before the calibration process is stored to REG_CTOUCH_RAW_XY at 0x30211c.   

These are what I understand from programming guide.

Pages: [1] 2 3 4