element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum RA8875 + 7'' TFT + ARDUINO UNO = WORKING having issues with images loading slow
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 18 replies
  • Subscribers 391 subscribers
  • Views 1146 views
  • Users 0 members are here
Related

RA8875 + 7'' TFT + ARDUINO UNO = WORKING having issues with images loading slow

Former Member
Former Member over 10 years ago

hello I managed to run audio and imaging into my Arduino Uno project.

the project consist off:

 

- RA8875

- Arduino Uno

- MP3 with SD Card

- 7'' TFT Screen

 

Pixels are 800 X 480

the only issue that i am encountering is that the images are taking 1 minute and 30 seconds to fully load up.

images are in bmp format. i was wondering if there is any solution to this problem. 

any feedbacks will be grateful. if images can be done in any other format that can potentially be faster i would gladly take it into consideration as well considering its an arduino.

  • Sign in to reply
  • Cancel
Parents
  • clem57
    0 clem57 over 10 years ago

    I took a look at the video a few times. A few things puzzle me:

    1. What is the board below the Arduino next to the speaker?

    2. You say you are playing the MP3, but all I hear is static? That suggests the processor is busy with the SPI.

    3. The data to the screen is painting slowly like the processor is feeding the data slowwlly. Did you say it is fast without the MP3?

    4.Even though the Arduino is real time, you can overwhelm it when trying to do multiple things at once. The speed is 8 Mhz meaning instructions run at 125 Nanoseconds. 800x480x3 bytes per pixel=1.152 million bytes/ 100 seconds= 115.2K/second which sounds like the speed of serial interface. Are you running SPI for the video and at what speed?

    5. I did not even factor the MP3 transfer. Is that running from the SDcard to Arduino and back out to the speaker.

    6. Where is the data coming from to paint the screen?

     

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    adafruit mp3 break out board (https://www.adafruit.com/products/1381)

    RA8875 (https://www.adafruit.com/product/1590)

    7'' TFT (https://www.adafruit.com/products/2354)

    Arduino UNO

     

    -all the components are working with SPI interface (mosi,miso,sck)

    -images were converted to BMP files with photoshop

    -sound was also converted from m4a file to MP3 file

     

    i conducted this experiment also with an SD Card a lone but it was still operating very slow (without the mp3 with sd card)

    i email you the file. hopefully you can give me extremely good feed back to why this is the issue to correct. ive put quite of time trying to figure out what was the problem

    i also hope that with your expertise you can help me. if it can be done it would be a really good achievement. i will also appreciate it a lot!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    yes for sure, i have windows 8, and the ide 1.6.1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    I need a quick test:

    Find this line:

    #define BUFFPIXEL 20

    and change to

    #define BUFFPIXEL 120

     

    Please try it and let me know if you see any speed up?

    Thanks,
    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    No speed up in anyway. I have tried that in the past and still have the same results.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    i did tried it again at 120 by the way.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    That means the problem may not be in the code... That should have made at least a 4 fold speed increase. Do you have a oscilloscope? I wonder what is going on on the SPI bus to the LCD.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    yes i do have an oscilloscope at my disposal !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    what would you like me to test ? and what results would you think i should be receiving ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    I would like to see the MISO and MOSI on the SPI to the LCD. in particular if there are gaps in sending the information. Also what is the clock frequency... Visually we can determine how long the select is held high...

    Thanks,

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    hello, i uploaded the video of how mosi looks like. is it possible to have your number ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    Sorry I cannot find video. Did you place it on element 14 site?  My number is personal no business.

     

    Edit: Your video is currently encoding. It will be available soon.

    Need to wait

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    Sorry I cannot find video. Did you place it on element 14 site?  My number is personal no business.

     

    Edit: Your video is currently encoding. It will be available soon.

    Need to wait

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube