Search found 15 matches

by lemmy
Mon Nov 02, 2026 9:32 pm
Forum: ChibiOS/HAL
Topic: STM32F746 Disco use of MFS
Replies: 2
Views: 500

Re: STM32F746 Disco use of MFS

That worked !!

MFS_NO_ERROR from mfsStart(....).

I'll try the testhal/STM32/multi/WSPI-MFS code too.

Thanks Giovanni
by lemmy
Sun Nov 01, 2026 11:16 pm
Forum: ChibiOS/HAL
Topic: STM32F746 Disco use of MFS
Replies: 2
Views: 500

STM32F746 Disco use of MFS

Hi

I am trying to get MFS to sit on top of the XSNOR N25Q QSPI but I get a hard fault in initialisation hal_flash.c flashGetSectorOffset()

const flash_descriptor_t *descriptor = flashGetDescriptor(devp) maps down onto the n25q vmt function

.init = __n25q_init_impl,

so descriptor is returned as ...
by lemmy
Thu Mar 19, 2026 9:25 pm
Forum: Bug Reports
Topic: STM32H563 RTC Alarm A sysHalt
Replies: 3
Views: 503

STM32H563 RTC Alarm A sysHalt

Hi

Using STM32H563 Nucleo RTC and Alarm A. I hit a sysHalt() in rtc_lld_serve_interrupt() at the STM32_RTC_CLEAR_ALL_EXTI() at the first alarm.

Screenshot 2026-03-19 201537.png

Screenshot 2026-03-19 204619.png

#define STM32_EXTI_IMR1_MASK 0xFFFE0000U is maybe not correct ?

Thanks
by lemmy
Sun Aug 31, 2025 6:32 pm
Forum: Bug Reports
Topic: STM32H5xx/stm32_limits.h
Replies: 1
Views: 11747

STM32H5xx/stm32_limits.h

#81 #define STM32_VOS1_PCLK2_MAX 200000000

should be

#define STM32_VOS1_PCLK3_MAX 200000000

I think :?:
by lemmy
Sat Oct 05, 2024 2:53 pm
Forum: Bug Reports
Topic: STM32H573I-DISCOVERY
Replies: 3
Views: 42221

STM32H573I-DISCOVERY

I have got serial, LED blinky and shell working on the STM32H573I-DK.

But when I add in SDC I have a problem. In 'hal_lld.c':

/**
* @brief SDMMC1 clock frequency.
*/
#if (STM32_SDMMC1SEL == STM32_SDMMC1SEL_PLL1Q) || defined(__DOXYGEN__)
#define STM32_SDMMC1CLK hal_lld_get_clock ...
by lemmy
Mon Feb 27, 2017 10:22 pm
Forum: Small Change Requests
Topic: [INFO] Flash Driver model
Replies: 27
Views: 29799

Re: [INFO] Flash Driver model

Got it, thank you Giovanni :D
by lemmy
Mon Feb 27, 2017 10:08 pm
Forum: Small Change Requests
Topic: [INFO] Flash Driver model
Replies: 27
Views: 29799

Re: [INFO] Flash Driver model

Hi,

Is there a demo for this driver?

An earlier post mentions these but I couldn't locate them.
- Demo for STM32F3-Discovery and N25Q128 in SPI mode.
- Demo for STM32L476-Discovery and N25Q128 in QSPI mode.

Thank you
by lemmy
Fri Nov 04, 2016 5:04 pm
Forum: ChibiOS/RT
Topic: Events have overtaken me
Replies: 1
Views: 2481

Events have overtaken me

I want to wait on two eventflags_t being set. Is that possible?

I see chEvtWaitAll() but that appears to wait on events. Is the only way to do it to register two event listeners?

Thank you
by lemmy
Fri Jan 22, 2016 10:13 pm
Forum: General Support
Topic: lwip timers
Replies: 1
Views: 2281

lwip timers

I wonder if there is an issue with the function sys_arch_mbox_fetch() in the file os\various\lwip_bindings\arch\sys_arch.c

LWIP sets its DHCP timers in milliseconds but sys_arch_mbox() uses system ticks.

Should the calls to osalOsGetSystemTimeX() within sys_arch_mbox() be converted with ST2MS ...
by lemmy
Thu Oct 15, 2015 4:08 pm
Forum: STM32 Support
Topic: STM32F746 DISCO Bss Section Overflow
Replies: 6
Views: 4421

Re: STM32F746 DISCO Bss Section Overflow

Thank you Giovanni :)