Search found 68 matches

by geoffrey.brown
Wed May 06, 2020 7:36 pm
Forum: STM32 Support
Topic: STM32L476 in STOP2 mode
Replies: 10
Views: 645

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: 645

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: 486

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: 406

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: 1422

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: 685

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: 685

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: 685

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: 685

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...
by geoffrey.brown
Fri Apr 03, 2020 3:04 pm
Forum: General Support
Topic: shell end of line parsing
Replies: 3
Views: 547

shell end of line parsing

The shell code allows definition of the newline string for output -- SHELL_NEWLINE_STR -- but not on input. The command parser is hardwired to look for '\r' which is an assumption about windows if (c == '\r') { chprintf(chp, SHELL_NEWLINE_STR); #if SHELL_USE_HISTORY == TRUE save_history(shp, line, p...

Go to advanced search