Search found 69 matches

by geoffrey.brown
Fri Sep 04, 2020 1:35 pm
Forum: General Support
Topic: determining code size
Replies: 2
Views: 158

determining code size

The standard build optimizes code size by compiling functions into separate sections and then keeping only those parts of the binary that are actually used. This works great but I have a small technical problem -- is there a convenient way to to determine the contribution to code size of various mod...
by geoffrey.brown
Wed May 06, 2020 7:36 pm
Forum: STM32 Support
Topic: STM32L476 in STOP2 mode
Replies: 10
Views: 895

Re: STM32L476 in STOP2 mode

I don't know the answer. I do know that if the debug unit is on, then you can't reach the really low power states.
Geoffrey
by geoffrey.brown
Wed May 06, 2020 6:08 pm
Forum: STM32 Support
Topic: STM32L476 in STOP2 mode
Replies: 10
Views: 895

Re: STM32L476 in STOP2 mode

Don't forget to turn off the debugger hardware:

DBGMCU->CR = 0;

This is a considerable current draw.
by geoffrey.brown
Wed May 06, 2020 4:27 pm
Forum: STM32 Support
Topic: Support for use of LPTIMx as system timer in freerunning mode
Replies: 10
Views: 700

Re: Support for use of LPTIMx as system timer in freerunning mode

I'm somewhat curious what the use case is for your work. If it's just a matter of waking a sleeping device, there are other options. With the stm32l432 I can get comfortably below 1uA using the RTC alarms to wake from standby.

Geoffrey
by geoffrey.brown
Sun May 03, 2020 10:12 pm
Forum: User Projects
Topic: serial nor driver from mx25rxx35 flash memories
Replies: 0
Views: 481

serial nor driver from mx25rxx35 flash memories

The ST IoT discovery board has a macronix mx25r6435f nor flash memory. I've attached a driver for the chibios serial nor device. This has been lightly tested but seems to work for WSP1,2,and 4 modes. Important Note: the stm32 quadspi device doesn't properly handle the WP# line for programming except...
by geoffrey.brown
Sun May 03, 2020 6:56 pm
Forum: Small Change Requests
Topic: support for STM32L475 Topic is solved
Replies: 2
Views: 2046

support for STM32L475 Topic is solved

I was wondering if there are plans to add the STM32L475 registry information in /os/hal/ports/STM32/STM32L4xx/stm32_registry.h I've been making progress by configuring things for the STM32L476 which is largely similar (they share the same reference manual). So far as I can tell, the 476 has and LCD ...
by geoffrey.brown
Tue Apr 28, 2020 4:27 pm
Forum: ChibiOS/HAL
Topic: trouble trying to use the Macronix flash driver
Replies: 5
Views: 822

Re: trouble trying to use the Macronix flash driver

Thank you for clearing that up ! At least I know not to pursue that driver route .
Geoffrey
by geoffrey.brown
Tue Apr 28, 2020 2:13 pm
Forum: ChibiOS/HAL
Topic: trouble trying to use the Macronix flash driver
Replies: 5
Views: 822

Re: trouble trying to use the Macronix flash driver

It doesn't look like the macronix driver has been used with a quad spi device -- just the octo spi device. Changing the include in the ChibiOS/testhal/STM32/multi/WSPI-MFS/make/stm32l476_discovery.make file to the macronix driver instead of the micron one breaks the build and causes the same cascade...
by geoffrey.brown
Tue Apr 28, 2020 12:21 pm
Forum: ChibiOS/HAL
Topic: trouble trying to use the Macronix flash driver
Replies: 5
Views: 822

Re: trouble trying to use the Macronix flash driver

Thanks, yes I should have mentioned that I did that too. Of course it's a different processor, but I don't know how that would affect the configuration.

Geoffrey
by geoffrey.brown
Tue Apr 28, 2020 1:20 am
Forum: ChibiOS/HAL
Topic: trouble trying to use the Macronix flash driver
Replies: 5
Views: 822

trouble trying to use the Macronix flash driver

I'm trying to use the macronix driver on an stm32 iot discovery board. I've configured something wrong because when I try to build I get a ton of errors for things that should be defined in hal_wspi.h For example: Compiling hal_serial_nor.c In file included from /home/geobrown/Software/ChibiOS/os/ha...

Go to advanced search