Jump to content

Grobatt

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Guys, Sadly i'm already out of pins, I use SPI, I2C, UART, and a few GPIO and PWM... not enough room for a parallel flash ;).. CC3200 has quite a low pin count, maybe I'm playing with its limitations hehe. Basically I wanted to use the WIFI and it's very effective for this but might be a bit small if you have a lot of peripherals. About ROMFS, that's an option I will explore, as well as 'dynamic lib loader' feature of the CC3200, that may be usefull to load images into the RAM only when needed. But from now I'll continue other parts of this project and then get back to the display part later as at this time it works from the SD card, speeding up the display will be andupgrade when everything else works fine :). Thanks
  2. Hello I was able to create the needed wrapper to open and read images with uGFX from the SFLASH of the CC3200... sadly it's even slower than with my SD Card. Here is some explanation from TI: How read command from Sflash works: - you send sl_ API command from your code in application processor - command is transferred by 20MHz into NWP (network processor) - NWP read data from sFlash via 20MHz SPI - NWP send data back via 20MHz SPI into your application processor When you read data from sFlash, your data comes via two SPI interfaces. Quite a pity imho that the file API pass through the NWP... well.. So I guess I'll stick to my SD Card or maybe work with an external SPI flash memory. Thanks for your help anyway :).
  3. Thanks for the info ! I'll look into this.
  4. Hi, the CC3200 has a built in serial Flash used for application images and network processor, but it can also store user files and it is accessible with TI simplelink API only. If I store my images on this SFlash instead of the SD Card, would it be possible to open them using the TI simplelink API and then use the gDISP API ?
  5. Hello Getting back to you for some news. I finally found some time last week to work a bit on this project. After spending time to learn how to work with a graphic LCD screen, I dug into uGFX to also learn about graphic library ;). Well after some basic struggle with my SPI config and screen, I have been succesfuly able to display BMP / PNG / GIF images with the CC3200 using CCSv6 as IDE, so I can confirm that uGFX is working well with this IDE (gfx_mk.c method) and armcc compiler . As I'm reading images form SD card and then using SPI for the screen, I'm a bit disappointed with the refresh speed. I guess that would be better with parallel port but sadly I'm too short in available pins. At this time I'm not sure if I'll work with BMP or PNG, if fact PNG works but a bit slower that BMP and i'm not sure I'll be able to afford the 32ko of memory needed when I'll stitch all my application together, as the CC3200 uses the 256ko of memory for code and data. So all in all, maybe I'll stick with BMP and work with the pallette to change background color as you suggested, instead of using transparency. Talking about GFILE: I use GFILE so it's easy to open and display an image, but I also need to read text file as a database, sadly I would really need f_gets ;). I saw that it's not impleted yet, any news about that ? or I guess I can work my own f_gets implementation using gfileread()... Or could you also simply open an image using another Fat_fs library (without GFILE), like "fs_open(myImage)", and use the opened file with gdispImageDraw() ? Anyway, great work with uGFX :).
  6. Thanks for the advice Joel. The pallette approach is very interesting. It's still early in my developement process, a lot do before I run GDISP, but this look very promising. I will keep you updated on my progress and may come back for further informations.
  7. Hi Joel, Thanks for this detailed answer. I've developped a few systems but ironicaly this is the first time I deal with graphical display and still feel a bit dumb on the subject at this time. I scan barcodes with an optical reader, I have different images, icons, and text that I want to display depending on the object scanned. The background may have different colors for a same image/icon, so in order to don't have multiple instances of a BMP image with different background colors, it would be preferable to deal with transparency therefore using PNG, also I may end up with a lot of images and that would save some memory space. If you have any suggestion let me know :). Regards.
  8. Hello all, First of all i'm totally new to uGFX. I'm working on a CC3200 from texas instruments and will need to display PNG images on a 320x240 LCD using SSD2119. I saw that uGFX include a PNG decoder and also drivers for this LCD controller, so this seems very promising. I have few questions: 1/ Has anyone already implemented uGFX on a CC3200 ? i'm quite worried about perfomances when it comes to decode a PNG and display it on such a small MCU. 2/ Can I only use one module excusively (ie. GDISP) or there are dependencies ? 2/ I'll be storing the PNG images on a SD card, along with other files (json as data base) that I need to use in my project. I'll be using FatFs to open and read the json files and wanted to also use it to read the PNG but apparently uGFX already implement a file system. So i'm wondering if I can only use GDISP module for PNG decoding and display operations or do I have to also use other modules like GFILE, GWIN, etc.. Thanks.
×
×
  • Create New...