|
Forum Index : Microcontroller and PC projects : Armmite L4: 48-pin support
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
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 StatesPosts: 37 |
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 KingdomPosts: 10572 |
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: FrancePosts: 435 |
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 |
||||
| grumpyoldgeek Newbie Joined: 30/07/2018 Location: United StatesPosts: 37 |
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 KingdomPosts: 10572 |
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: FrancePosts: 435 |
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 procs |
||||
| grumpyoldgeek Newbie Joined: 30/07/2018 Location: United StatesPosts: 37 |
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 KingdomPosts: 2171 |
? 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"? |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
F4, F7, and H7 support SDcard L4 supports flash |
||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
Ah! Thanks |
||||
sagt3k![]() Guru Joined: 01/02/2015 Location: ItalyPosts: 313 |
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 KingdomPosts: 10572 |
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: ItalyPosts: 313 |
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: AustraliaPosts: 205 |
Hi Peter. 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 Regards Gerard (vk3cg/vk3grs) |
||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3470 |
Thanks for that spreadsheet--that's helpful. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |