Jump to content

Stas285

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Thanks a lot to inmarket and Tectu!!! I couldn't even expect for so prompt, detailed, consistent, and (the main poin) useful comment. To my mind this is the best advertisement of uGFX and highly valuable reason for me to use it in future.
  2. Hello community! I'm newbie here and would be grateful for an advice. 1. I developed previously a few high-speed real-time devices using Silabs 8051 controllers. "High-speed real-time" means here that there is a timer interrupt every 10 microseconds. Within the interrupt the following is performed: ADC read with emergency check; PID control function calculation; write the result to DAC; pending UART read/write (1 Mbaud); system counter increment. Highly optimized IRQ routine takes few microseconds to do that providing guaranteed response not later then 10 uS after something happens. The "slow" HMI part (keyboard/encoder and alphanumeric display) is serviced asynchronously in main infinite cycle (without interrupts). A 8-bit 100 MHz Silabs controller is completely sufficient for this task, however, progress must go on, so I decided to switch to STM32 with GUI. Thus, the question: Is it possible to realize this using uGFX/ChibiOS? May Systick be as fast as 10 uS (with LCD and Touchscreen control)? Will the response be guaranteed? Probably it's possible to use usual "slow" systick timer for GUI together with another "fast" 10 uS timer having higher priority? 2. The second question is more philosophical. I'm now in search for GUI platform which is optimal for me. Taking into account that I am an "episodical" programmer (and my brain is full of another garbage) the main demand is just simplicity. My first try with STM32 was using Cube from ST. Hardware configuration "by mouse", automatic code generation, next few lines by-hand to main.c and blinky LED was done in 10 minutes. Excellent! I was really happy, but the next step (GUI) occurred much harder. I tried STemWin: for the first glance it looks too complicated for my tasks, and the code not open, so I suspect probable issues with guaranteed fast response. Next I tried the online compiler MBED. The first result was obtained relatively quickly, but MBED works only on Nucleo boards and doesn't have native GUI. These problems look not catastrophic, and it seems that my tasks may be solved using MBED, but there is no satisfaction at the moment. uGFX looks attractive, but not so easy (it's just a first impression, probably I didn't spent enough time yet). I am trying to implement the Widgets example using Keil uVision but without success yet due to lot of details. The example just for Keil would be helpful, but I didn't found any. uGFX Studio looks perfect, but when the beta will be released? So the question: could anybody advise me if uGFX is the good choice for my situation?
×
×
  • Create New...