On 3/19/2015 4:07 AM, pozz wrote:
> Il 18/03/2015 16:12, rickman ha scritto:
>> On 3/18/2015 8:28 AM, pozz wrote:
>>> Il 18/03/2015 07:50, rickman ha scritto:
>>>> I don't know of an eval board with "such kind of connection" if you
>>>> mean
>>>> an external bus. But your concerns about performance of GPIO all
>>>> depends on what you plan to do with the display.
>>>
>>> It's a simple HMI: some graphic buttons, dynamic text, several screens,
>>> and so on. It is simple, but I'd like to have good quality.
>>> For example, I'd like to have text rendering with alpha channel and to
>>> have fluent transitions between two screens. I don't want to have a
>>> slow screen drawing, where I can see the painting from top to bottom.
>>
>> I'm not asking how you feel. I'm asking you to define "slow". If you
>> can't quantify your requirements you can't design to them. If you are
>> talking about a simple menu like user interface where pressing a button
>> brings up some type of options on a screen for the user to press more
>> buttons, I can't see that needing a lot of performance from nearly any
>> graphics device.
>
> So, in your opinion and from your knowledge, for this kind of
> applications, it is sufficient to drive the LCD with a "simple"
> 8-/16-bits "MPU parallel" interface, maybe controlled by software GPIOs
> (i.e., without a real hardware external bus).
I don't know what your application is really. Your description is
pretty vague, but if it is just menus it sounds pretty durn simple to
me. If you are using a CM3 or CM4 type processor with internal memory
your graphics will be constrained in many respects anyway due to the
limited memory size. Do a little math. How may pixels do you have?
How long does it take to write to the I/O port the LCD is connected to?
Do the math and see how long it takes to update it. You do know that
you can use I/Os that are on the same port so that a write is just a
very few processor cycles, right?
I expect your bottle neck will be generating the data to be displayed,
not the actual display writing.
I don't recommend that you ask for opinions. I don't know enough about
your project. For example you still haven't told me how many you plan
to make. I would bet you can find an existing product that will do
everything you need... unless there are things you haven't told us
about. Why reinvent the wheel? Are you planning to make millions of
them?
>>>> Perhaps you should think about a more integrated system rather than a
>>>> separate CPU and display? I believe the BeagleBone has a display port
>>>> that you can use to drive an LCD which is already configured to work
>>>> with it. Or the Raspberry Pi can do that I think.
>>>
>>> No, I have to design my own board and keep the total cost as low as
>>> possible.
>>
>> As to cost, you will be hard pressed to build a CPU as cheaply as the
>> rPi unless you are building millions. Even if you are rolling your own
>> PCB, there is nothing to say you can prototype with an existing board
>> and use that design in your product. Both the Beaglebone and the rPi
>> are open in that regard. In fact, you asked about eval boards... so
>> they are eval boards.
>
> The complexity of rPI and BeagleBone are much higher than Cortex-Mx MCUs
> and they usually come with BGA packages that I'd like to avoid.
>
> Anyway Cortex-M3/M4 MCUs cost about 4USD and don't need an external RAM
> (if I use the external TFT controller that integrates the memory for the
> framebuffer).
>
> rPI and BeagleBone are Cortex-Ax that needs external RAM and greater
> complexity.
Yes, more hardware, but quick development and potentially a lower system
cost depending on your system. It all depends on things I don't know
about.
--
Rick