Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:28 02 Aug 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 : Armmite L4: 48-pin support

     Page 2 of 2    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:46pm 03 May 2019
Copy link to clipboard 
Print this post

  Quote  Any help you can give would be appreciated. I'd be happy to replace the processor chip if you think that might help.


Away from home at the moment so can't do any testing. I certainly wouldn't replace the processor. I've seen similar anomalies relating to connection to ST-LINK. After flashing sleep processor usage won't go below 300uA until a full re-power when it will drop to 3uA. It seems there are some internal routes in the processor that once "open" don't close, or, at least, I don't know how to close them. I'll post on the STM forum tomorrow and see if I get any info.
 
grumpyoldgeek
Newbie

Joined: 30/07/2018
Location: United States
Posts: 36
Posted: 12:01am 04 May 2019
Copy link to clipboard 
Print this post

Thank you for your quick reply. Let me know if there is any other testing I can do for you.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 06:23pm 08 May 2019
Copy link to clipboard 
Print this post

grumpyoldgeek

I've now tested this on one of my Armmite L4 backpack PCBs and am unable to replicate your findings. Processor is STM32L433CCT6.

Using a Fluke 87 in 4-1/2 digit mode I see 0.13uA when powered and 0.69uA when power is disconnected. This is completely stable and reproducible however many times I plug and unplug the supply. The 0.69uA value compares with the datasheet value of 0.46uA for a 3V supply at 25degC, so not too unreasonable.

I would suggest looking at the capacitors on the crystal and the crystal impedance. The datasheet values are measured with a 6pF xtal and two 6pF caps. I'm using a 12pF crystal which may account for the difference.

This is using the latest version of the firmware - attached for convenience

2019-05-09_041753_ArmmiteL4.zip
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 08:29pm 08 May 2019
Copy link to clipboard 
Print this post

Hi Peter
I have small pb with new version with "MM.Info$(SDCARD)"
it say "Error: Syntax"

My "L4" is an Nucleo card L476RG without SdCard and with ST7789 LCD (240x240)
others MM.info$ work correctly

Edited by goc30 2019-05-10
 
grumpyoldgeek
Newbie

Joined: 30/07/2018
Location: United States
Posts: 36
Posted: 09:18pm 08 May 2019
Copy link to clipboard 
Print this post

Peter,

Thanks for the info. I'm now out of town until Monday, when I will try the new firmware. I know the crystal and cap specs meet the requirements on paper, but will try new parts as well.

Thank you.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:48pm 08 May 2019
Copy link to clipboard 
Print this post

  Quote  I have small pb with new version with "MM.Info$(SDCARD)"
it say "Error: Syntax"


That is correct - the L4 doesn't support SDcard. You can use ? mm.info$(flash) to see if the flash memory file system is configured.

2019-05-09_074817_Armmite_L4_Manual.pdf
 
goc30

Guru

Joined: 12/04/2017
Location: France
Posts: 435
Posted: 06:26am 09 May 2019
Copy link to clipboard 
Print this post

  matherp said  
That is correct - the L4 doesn't support SDcard. You can use ? mm.info$(flash) to see if the flash memory file system is configured.

I understand it, but my small pb is that it stop programme
is-it possible to put "Not used" in this case?

but it is not important, I can insert an "on error"
it is just to have same use for all procsEdited by goc30 2019-05-10
 
grumpyoldgeek
Newbie

Joined: 30/07/2018
Location: United States
Posts: 36
Posted: 08:16pm 23 May 2019
Copy link to clipboard 
Print this post

  grumpyoldgeek said   Peter,

Thanks for the info. I'm now out of town until Monday, when I will try the new firmware. I know the crystal and cap specs meet the requirements on paper, but will try new parts as well.

Thank you.


Peter,

I installed a new processor chip and loaded your new firmware. Problem is gone, standby current is around 0.5 microampere. Thanks.
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2170
Posted: 08:54pm 23 May 2019
Copy link to clipboard 
Print this post

? mm.info$(flash) doesn't seem to work on the F4 (note F, not L)


>? mm.ver
5.0506
>? mm.device$
ARMmite F407
> ? mm.info$(flash)
Error: Syntax
> ? mm.info$("flash")
Error: Syntax
>


is it "coming"?
Edited by CaptainBoing 2019-05-25
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 09:23pm 23 May 2019
Copy link to clipboard 
Print this post

F4, F7, and H7 support SDcard
L4 supports flash
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2170
Posted: 09:51am 24 May 2019
Copy link to clipboard 
Print this post

Ah! Thanks
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 11:40am 01 Jun 2019
Copy link to clipboard 
Print this post

Hi matherp

I'm using ARMmite "L43x - 48 pin - firmware: 5.0509"
I have a strange problem with a AIN pin when I read analog value.
Then, I have this HW configuration:
- VCC 3.288V
- a partitor resitor on PB0 (VCC > 27Kres > PB0 > 3Kres > Ground)
- 27K and 3K res are +/- 1% tollerance
- multimeter read on PB0 0.327V (1/10 of VCC)
- Option "VCC Pin(VDDA)" is enabled

But with command "option list" I see "OPTION VCC 3.417" and strangely I read 0.289V on PB0 with "print pin(18)"
Where am I doing wrong ?

Thanks
Antonio

 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10315
Posted: 03:59pm 01 Jun 2019
Copy link to clipboard 
Print this post

  Quote  But with command "option list" I see "OPTION VCC 3.417" and strangely I read 0.289V on PB0 with "print pin(18)"
Where am I doing wrong ?


I suspect your source impedance is too high (30k). The datasheet is difficult to interpret but you certainly need to be < 10K
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 04:23pm 01 Jun 2019
Copy link to clipboard 
Print this post

Hi matherp

Good, the same configuration tested with PIC32 has always worked. I feared such a problem, but I could not draw conclusions.

Thanks
Antonio
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 11:29pm 01 Jun 2019
Copy link to clipboard 
Print this post

Hi Peter.

  Quote  F4, F7, and H7 support SDcard
L4 supports flash


As there is a flash memory chip on the F4 PCB, any thoughts of also supporting the flash on the F4?

In the spreadsheet I have that I use for allocating pins on the F4 PCB, I have "reserved" the flash related pins. Just in case I decide to directly interface to it in one of my programs, but if you were to natively support it it would be convenient (and allows me to be lazy )

My F4 pin descriptions spreadsheet:
2019-06-02_093418_Pin_Functions.zip Edited by seco61 2019-06-03

Regards

Gerard (vk3cg/vk3grs)
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 11:49pm 01 Jun 2019
Copy link to clipboard 
Print this post

  seco61 said  My F4 pin descriptions spreadsheet

Thanks for that spreadsheet--that's helpful.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
     Page 2 of 2    
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