Search found 29 matches

by nikiwaibel
Thu Oct 17, 2024 12:22 am
Forum: Bug Reports
Topic: FDCAN with STM32H735
Replies: 44
Views: 95253

Re: FDCAN with STM32H735

i may add my 5cent for FDCANv2 on STM32H7A3 …


⋅ it actually supports more interrupts then RX-FIFO-FULL when receiving frames: there is RX-FIFO-WATERMARK and RX-FIFO-NEWMESSAGE (see RM0455, 2457/2966, FDCAN_IE bit 0, 1, 4 and 5). the testhal CAN code works properly, as it generates a lot ...
by nikiwaibel
Wed Oct 16, 2024 11:32 pm
Forum: Bug Reports
Topic: (e)grep warnings
Replies: 4
Views: 18209

Re: (e)grep warnings

i am using Fedora 40, which comes with
$ grep --version
grep (GNU grep) 3.11
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+&#58; GNU GPL version 3 or later <https&#58;//gnu&#46;org/licenses/gpl&#46;html>&#46;
This is free software&#58; you are free to change and ...
by nikiwaibel
Sat Sep 28, 2024 10:40 pm
Forum: Bug Reports
Topic: DAC2 on STM32H7A3 / STM32H7B3 / STM32H7B0
Replies: 0
Views: 19642

DAC2 on STM32H7A3 / STM32H7B3 / STM32H7B0

it seems, DAC2 is missing for / does not compile on STM32H7A3 / STM32H7B3 / STM32H7B0, so far. those H7 variations contain DAC1, which has 2 channels, as well as DAC2, which has only one channel.

to compile, when having #define STM32_DAC_USE_DAC2_CH1 TRUE in mcuconf.h, the following patch is ...
by nikiwaibel
Fri Sep 27, 2024 2:12 pm
Forum: Bug Reports
Topic: (e)grep warnings
Replies: 4
Views: 18209

(e)grep warnings

just a minor cosmetic thing:
make&#91;1&#93;&#58; Entering directory 'src'
egrep&#58; warning&#58; egrep is obsolescent; using grep -E
grep&#58; warning&#58; stray \ before #
egrep&#58; warning&#58; egrep is obsolescent; using grep -E
grep&#58; warning&#58; stray \ before #
egrep&#58; warning&#58 ...
by nikiwaibel
Fri Sep 27, 2024 1:52 pm
Forum: Bug Reports
Topic: backup domain initialisation bug for H7
Replies: 4
Views: 5830

Re: backup domain initialisation bug for H7

as of my knowledge, the 4k backup sram requires
* PWR->CR1 |= PWR_CR1_DBP_Msk; # disable backup protection
* PWR->CR2 |= PWR_CR2_BREN_Msk; # backup regulator enable
* while &#40;!&#40;PWR->CR2 & PWR_CR2_BRRDY_Msk&#41;&#41;; # backup regulator ready

* i think the values stored in backup sram will ...
by nikiwaibel
Thu Sep 26, 2024 10:32 am
Forum: Bug Reports
Topic: RTC on STM32H7A3 / STM32H7B3 / STM32H7B0
Replies: 2
Views: 20593

RTC on STM32H7A3 / STM32H7B3 / STM32H7B0

hi,

in os/hal/ports/STM32/STM32H7xx/platform.mk , as well as os/hal/ports/STM32/STM32H7xx/platform_type2.mk , there is RTCv2 selected. the STM32H7A3 , STM32H7B3 and STM32H7B0 (Q and no-Q variants) have something, that is much more similar to RTCv3 , it seems.

should those variations of the STM32H7 ...
by nikiwaibel
Mon Jan 30, 2023 1:43 am
Forum: Bug Reports
Topic: Wrong checks on STM32_SDMMC_MAXCLK for H7 type1 lld
Replies: 2
Views: 4726

Re: Wrong checks on STM32_SDMMC_MAXCLK for H7 type1 lld

for the STM32H7A3, the maximum is 280Mhz in VOS0.

swappy-20230130_013906.png
by nikiwaibel
Fri Dec 09, 2022 1:52 am
Forum: Bug Reports
Topic: FIX for STM32H7A3/7B3/7B0 ("type3") to correctly check PLL1 divider P
Replies: 8
Views: 6295

Re: FIX for STM32H7A3/7B3/7B0 ("type3") to correctly check PLL1 divider P

i also can't make out these constrains from os/hal/ports/STM32/LLD/SDMMCv2/hal_sdc_lld.h
#if STM32_HAS_SDMMC1 && (STM32_SDMMC1CLK * 10 > STM32_HCLK * 7)
#error "STM32_SDMMC1CLK must not exceed STM32_HCLK * 0&#46;7"
#endif

#if STM32_HAS_SDMMC2 && (STM32_SDMMC2CLK * 10 > STM32_HCLK * 7)
#error ...
by nikiwaibel
Thu Dec 08, 2022 8:58 pm
Forum: Bug Reports
Topic: FIX for STM32H7A3/7B3/7B0 ("type3") to correctly check PLL1 divider P
Replies: 8
Views: 6295

Re: FIX for STM32H7A3/7B3/7B0 ("type3") to correctly check PLL1 divider P

/3 did not work for me (did not come up, maybe an exception some place), but /5 did!
* 24 / 3 * 70 / 2 = 280 (assuming testOslib results are 100%)
* 24 / 15 * 175 / 1 = "impossible" 280 --> seems to work as expected, about 100% performance (testOslib)
* 24 / 3 * 70 / 3 = "impossible" 187 --> did not ...