Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:13 01 May 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 : Coming soon: cheap, fast, no-soldering

     Page 2 of 4    
Author Message
tomxp411
Newbie

Joined: 04/04/2019
Location: United States
Posts: 24
Posted: 09:48pm 22 Apr 2019
Copy link to clipboard 
Print this post

I'm interested in running MMBASIC on a Teensy development board (180 MHz ARM Cortex-M4).

Is your code compiled through the Arduino IDE, or are you using something more specific to the ARM Cortex or to that dev board in particular?

 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2944
Posted: 11:43pm 22 Apr 2019
Copy link to clipboard 
Print this post

Lads,

@PeterM,
Great find and great effort for your port..
I will have to get one to play with.

Re. NBN in Aus.
FTTC in Aus stands for "Fibre to the CURB"
I have FTTN "Fibre to the NODE" and I am on a 100MBS unlimitted plan and (when the kids are at school) off peak can get up to about 96MBs and slows to around 60MBs at peak.

I am with Telstra (Bigpond) and pay $89 for 100MBs unlimitted and home ph with most calls included.. Although I got a special price as they stuffed up my plan a couple of times so I got the speed upgrade for free (normally $30pm)


I just did a speedtest now as follows:





Kind Regards,

Mick




Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 12:27am 23 Apr 2019
Copy link to clipboard 
Print this post

I was “lucky” to get the NBN last year. Speeds are usually around 46Mbps, but Foxtel Now still drops in and out of SD and HD when I want to watch sport... and YouTube videos buffer at certain times of the evening and the Xbox drops out occasionally....
Interestingly, the Vodafone 4G service at my place usually tops out at 90Mbps! (Kogan uses the VF network)

Makes me wonder why I bother with NBN.....
...... Don't worry mate, it'll be GoodToGo!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9458
Posted: 12:42am 23 Apr 2019
Copy link to clipboard 
Print this post

Mik - you should change that image, as your public IP address is on display. Unless you are behind a VPN or something, in which case.....

My speed test is:





The ping is a little high IMHO, but the speed seems fine - I never have any complaints as to speed. I have fibre right to the house, so no intermediate copper links. That seems like an odd way to do a FIBRE network....

I'm on unlimited fibre with landline etc - about $100 a month in NZ money, and I also get my house power on the same bill, so it is nice and easy.

[Quote=robert.rozee]here in NZ they are rolling out fibre to the house, in a few years i'm picking there will be hardly any copper left. i've just ordered 30Mb/s fibre for the place i'm renovating (and moving into soon) for a cost of nz$65/month. no landline included, but on prepay cellphone calls are only 4 cents/minute.[/Quote]

Indeed. I used to chase copper cable faults semi-regularly over the years, but since they have installed fibre around the village, residents who move to fibre have their copper disconnected, and that is a good thing. Copper faults have been a pain in my arse for years. You can also get wireless broadband and land-line, which is basically just a glorified cell-phone in a box to give the BB and phone via the cellphone network. Many residents have picked up one or the other, and that is a good thing, as the 200-pair copper cable was pretty much maxed out which does not give you any room to move if a pair goes crook, but we were loathe to install more copper, as we knew the fibre and wireless options were coming. Luckily they arrived in time, and so now the load is well an truly off the copper to the exchange.
Smoke makes things work. When the smoke gets out, it stops!
 
crez

Senior Member

Joined: 24/10/2012
Location: Australia
Posts: 152
Posted: 12:46am 23 Apr 2019
Copy link to clipboard 
Print this post

My order is in ,too!
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 981
Posted: 01:37am 23 Apr 2019
Copy link to clipboard 
Print this post

Thankyou Peter, my order is in.

Just to add my NBN story. I live about 15K from a major rural centre and a forward thinking gentleman that I worked with instigated a fibre network in the outlying areas in the 1990's. I have a fibre node about 2.5Km from my home and I have a copper connection to this node. Initially we were offered an ADSL2 connection which offered me speeds up to 16Mb/s when this node was fully subscribed a heat problem caused a downgrade to ADSL and I have been consistently getting speeds of around 9Mb/s. Unfortunately with the roll out of NBN in our area we are only offered wireless connection which is slower and more expensive than the ADSL2.

Go figure Edited by OA47 2019-04-24
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1959
Posted: 04:41am 23 Apr 2019
Copy link to clipboard 
Print this post

I have also ordered'

My NBN (No Bloody Network)




Telstra $90/month with home phone, what a joke.

"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
plover

Guru

Joined: 18/04/2013
Location: Australia
Posts: 302
Posted: 04:46am 23 Apr 2019
Copy link to clipboard 
Print this post

matherp

  Quote  Yes, same as all of the Micromite family, drawing commands are all blocking. If I had a frame buffer the size of the display then I could DMA in the background but this would need more memory than available
.

The slightly more expensive version you quoted has facility for expanding memory. I am querious how much memory would you need for framebuffer operation?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9995
Posted: 07:01am 23 Apr 2019
Copy link to clipboard 
Print this post

  Quote  Is your code compiled through the Arduino IDE, or are you using something more specific to the ARM Cortex or to that dev board in particular?


I use System workbench for STM32. The Arduino IDE is very poor compared to any decent eclipse based IDE

The slightly more expensive version you quoted has facility for expanding memory. I am querious how much memory would you need for framebuffer operation?


800x480x2 bytes for a SSD1963. The problem is that the memory isn't installed so we are back to soldering high pin-count SMD chips. I also don't know how the memory would interact with the display I/F as both use the FSMC bus
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9458
Posted: 07:32am 23 Apr 2019
Copy link to clipboard 
Print this post

[Quote=matherp]2 x 12-bit DAC[/Quote]

How do you make 12-bit WAV files for a 12-bit DAC?
All my audio editing softwares(Goldwave and Audicity) do NOT support creating or saving a sound in 12-bit.

8-bit, 16-bit, 32-bit etc.....yes.
12-bit....no.

Is there something I should know at this point?
Smoke makes things work. When the smoke gets out, it stops!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9995
Posted: 08:23am 23 Apr 2019
Copy link to clipboard 
Print this post

  Quote  How do you make 12-bit WAV files for a 12-bit DAC?


WAV file playback only supports 8-bit - good enough for most things. The ArmmiteF4 supports up to 48Kbs sample rate.

For full 12-bit use 44100Hz 16-bit FLAC files

PLAY FLAC "mymusic.flac"
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1088
Posted: 12:49pm 23 Apr 2019
Copy link to clipboard 
Print this post

Recently let some smoke out of my SC +64. Bit of a bugger....Wasn't doing that much with it at the time, just reading & displaying some data. Display is now on a 44 pinner doing the same thing.

Ordered a couple of these inc displays...well I hope I have..., to see they go.

Be interesting to see how long they take to get here.
ChopperP
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2944
Posted: 10:05pm 23 Apr 2019
Copy link to clipboard 
Print this post

Hi Grogs, All,

  Grogster said   Mik - you should change that image, as your public IP address is on display. Unless you are behind a VPN or something, in which case.....



Thanks for letting me know, I never noticed that before. I just look at the big numbers..

I restarted my modem and now have a new IP.

Yes your ping is a fair bit high, I was going to redo my test with a 9ms ping as it often is 5 or 6ms..

Regards,

Mick

Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9458
Posted: 10:46pm 23 Apr 2019
Copy link to clipboard 
Print this post

  matherp said  For full 12-bit use 44100Hz 16-bit FLAC files

PLAY FLAC "mymusic.flac"


So PLAY FLAC will be supported in this port on these two DAC's?Edited by Grogster 2019-04-25
Smoke makes things work. When the smoke gets out, it stops!
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 06:43am 24 Apr 2019
Copy link to clipboard 
Print this post

Great work Peter
Board ordered

My 2 Cents worth. We are lucky we have GB fiber in NZ



Regards
Jman
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3298
Posted: 12:38pm 24 Apr 2019
Copy link to clipboard 
Print this post

PCBs ordered first day.

Regarding the backpack you indicated that you planned, would it be convenient to include double headers (two rows) for the I2C? Also, a header for an RS485 link for modules like these (to facilitate inter-pcb communications over distance)?

https://www.ebay.ca/itm/5PCS-MAX485-RS-485-Module-TTL-to-RS-485-module-for-Arduino-Raspberry-B-fg/372643574526

Great work, as ever.


PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Boppa
Guru

Joined: 08/11/2016
Location: Australia
Posts: 814
Posted: 01:17pm 24 Apr 2019
Copy link to clipboard 
Print this post

  matherp said  
  Quote  "" is a sore point here in OZ.


Please explain

No way to retrospectively change the thread title - sorry


Now ya just takin the mickey aren't ya!!!!



Faster, sooner, cheaper

('Please explain' indeed....)
You didn't run a fish and chip shop and have red hair by any chance Matherp???

How many remember this (utube video)
Pauline Pantsdown
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9995
Posted: 01:32pm 24 Apr 2019
Copy link to clipboard 
Print this post

Question for all interested.

Single precision floating point - grainbench benchmark gives 3419
Double precision floating point - grainbench benchmark gives 2445

Preferences?

  Quote  So PLAY FLAC will be supported in this port on these two DAC's?


Changed my mind, no FLAC but WAV playback will support 16-bit files up to at least 48000Kbs. So 44100 files will play fine and guaranteed no pops.

  Quote  Regarding the backpack you indicated that you planned, would it be convenient to include double headers (two rows) for the I2C? Also, a header for an RS485 link for modules like these (to facilitate inter-pcb communications over distance)?


The current "backpack" is just a 32-pin to 40-pin TFT adapter, nothing else. I'm looking at a more comprehensive backpack with things like audio connector and/or audio amplifier but no plans yet.

The STM32F4 doesn't support RS485 flow control and all the CTS/RTS pins conflict with the FSMC TFT bus so you will have to waggle a pin in code to connect to a RS485 adapter.

 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2137
Posted: 04:04pm 24 Apr 2019
Copy link to clipboard 
Print this post

Double, every time.

Most cases you can get away with integer but when you need FP, let's have it as accurate as possible. I have instances where code doesn't run correctly on a Mk2 (Single precision) because it can't calculate a cube root to sufficient accuracy.

my 2p (and two boards ordered from Ali Express)Edited by CaptainBoing 2019-04-26
 
cdeagle
Senior Member

Joined: 22/06/2014
Location: United States
Posts: 263
Posted: 06:09pm 24 Apr 2019
Copy link to clipboard 
Print this post

DP please. Thanks Peter
 
     Page 2 of 4    
Print this page
© JAQ Software 2025