Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:39 13 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : SkinnyMite Players

Author Message
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 05:03pm 22 Mar 2015
Copy link to clipboard 
Print this post

Good evening Gent's...

After some playtime on big G's skinny, I thought it might be a good time to start a thread to see how everyone is getting along with 470 testing and see any new toys or code snippets that could be shared...

I got the B11 code shot, and was testing out the new embedded graphics stuff...
So, let's get the ball rolling with this



It's not much yet, but by playing around with the front settings, you can create different size layouts


Dim integer ksize=49
Dim integer kspace=8
Dim integer kColor=green
Dim integer kRad=8
Dim integer toffX=12
Dim integer toffY=8
Dim integer tfont=4
Dim integer tFColor=black
Dim integer tBColor=green

Dim integer gutterX=10
Dim integer gutterY=35


2015-03-23_025946_2-4inch_LCD_KBD_B11_470.zip

If you have the SPI 2.4" touch display, give it a play...
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 06:44pm 22 Mar 2015
Copy link to clipboard 
Print this post

Nice one.

I am still waiting for my 7" TFT to arrive, and then I am going to be able to do some testing on the big sucker.

I do have a couple of the smaller 3.2's(TFT_320QVT), and now thanks to matherp incorporating the Cfunctions, I really must see if I can find some time to play with one of those while I wait for the bigger one to arrive.
Smoke makes things work. When the smoke gets out, it stops!
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 06:04pm 23 Mar 2015
Copy link to clipboard 
Print this post

Firmware Update...

Thanks to Matherp, the 1.8" TFT LCD using the S6D02A1 controller is now supported..!



I penned up a simple time - temp program to test the newly supported unit...

2015-03-24_035743_1-8inch_LCD_B13_470.zip

However, while playing with it, the firmware seems to have the DS18B20 bug
where the displayed temp goes wonkey if the temp gets above 82 F...

All in all, a good nights work... Yikes, past my bedtime... More later...
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10246
Posted: 10:07pm 23 Mar 2015
Copy link to clipboard 
Print this post

  Quote  However, while playing with it, the firmware seems to have the DS18B20 bug
where the displayed temp goes wonkey if the temp gets above 82 F...


This is a bug reading the DS18B20 when CPU speed is 96 - works at 80 and below. I've had a look at it. 96Mhz is a special case as the CPU introduces a wait state for peripherals at that speed but not below but not apparently for the core clock used for timing usec pauses
In general peripheral intensive applications will work faster at 80Mhz than 96 although the difference may be not obvious from Basic.

Bug fix posted

Glad the S6D02A1 works OK Edited by matherp 2015-03-25
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2933
Posted: 11:35pm 23 Mar 2015
Copy link to clipboard 
Print this post

@matherp

Am I correct in understanding that you mean the 'Bug fix' in your post above fixes the issue when reading the DS18B20 at 96Mz and and sorts out this 'wait state'?

EDIT: I've just read your 'update post' - PLEASE IGNORE THE ABOVE QUESTION!!!

Great to have yet another supported controller

@Zonker - Nice little demo there. Thanks for posting the code

WWEdited by WhiteWizzard 2015-03-25
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 01:13am 24 Mar 2015
Copy link to clipboard 
Print this post

Oops...

Sorry Matherp... I forgot about the speed thing... Very happy guy here..!
All the new things coming out is just amazing..! will get the Discovery board testing done next...Edited by Zonker 2015-03-25
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2933
Posted: 04:39am 24 Mar 2015
Copy link to clipboard 
Print this post

@Zonker,

Can you do a quick test for me please?

I am curious with current consumption you have there running the display so can you possibly measure total current drawn with the MX470 @ 96MHz driving the S6D02A1 TFT (and demo running)!!

Hope this is an easy thing for you to report back on.

Thanks . . .

WW
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 02:45pm 25 Mar 2015
Copy link to clipboard 
Print this post

Good evening WW...

Yep, the Skinny running hard while making the color photons seems to cost you 92ma as read from a meter running from the USB +5vbus pin into your board. The 3.3v out you provide runs the display and the DS18B20 IC... Nothing else is in the mix, as there was no USB converter module connected during the test measurement... This is getting close to the max value the USB controller will let you have without asking for more... That's why I re-programed the FTDI setup table on the DIP-600-28 board to ask for 200ma as well as changing the "C0" pin to flash when traffic goes through...
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025