Search found 273 matches

by alexblack
Tue Dec 07, 2021 1:58 pm
Forum: Bug Reports
Topic: Stable 21.11.x SPI bug Topic is solved
Replies: 2
Views: 166

Re: Stable 21.11.x SPI bug Topic is solved

Sorry.
I was found the problem: I ported the old project and was include the file hap_spi_lld.c instead of the new hal_spi_v2_lld.c.
I do not understand why there are two files on LLD folder and how I must proper select the one. I do not use ChibiStudio and make files (KEIL compiller).
by alexblack
Tue Dec 07, 2021 1:40 pm
Forum: Bug Reports
Topic: Stable 21.11.x SPI bug Topic is solved
Replies: 2
Views: 166

Stable 21.11.x SPI bug Topic is solved

Hello. In current stable version there are an errors in spi_lld V2 driver: compiling hal_spi_lld.c... ..\..\!ufg_pp_new_2021\lib\ChibiOS\os\hal\ports\STM32\LLD\SPIv2\hal_spi_lld.c(146): warning: #223-D: function "_spi_isr_half_code" declared implicitly _spi_isr_half_code(spip); ..\..\!ufg_...
by alexblack
Thu Sep 30, 2021 11:45 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1646

Re: STM32G030 support.

Sorry.
I found the problem. It is wrong settings in configuaration of the ADC:

Code: Select all

    //cfgr1
    0
    | ADC_CFGR1_CONT           <<<---- THIS BIT IS WRONG SET!!!! IT DOES NOT NEED FOR THIS MODE
    | ADC_CFGR1_RES_12BIT
    | ADC_CFGR1_EXTEN_RISING
    | ADC_CFGR1_EXTSEL_SRC(3),
by alexblack
Thu Sep 30, 2021 10:36 pm
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1646

Re: STM32G030 support.

Hi. I looked the ERRATA sheet ( https://www.st.com/resource/en/errata_sheet/es0486-stm32g030x6x8-device-errata-stmicroelectronics.pdf ) for the STM32G030 and was find this: 2.2.4 DMAMUX cannot be synchronized or triggered by EXTI Description The EXTI-related DMAMUX synchronization and trigger inputs...
by alexblack
Tue Sep 21, 2021 8:45 am
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1646

Re: STM32G030 support.

G030 is a "lite" version of the G070 which is looks like supported by code already but really it is not. There are some mistakes in definitions (the project do not compiling from the box) - I used the G070 code as a starting point for G030. May be you can finish support for G070 near time?...
by alexblack
Tue Sep 21, 2021 7:51 am
Forum: STM32 Support
Topic: STM32G030 support.
Replies: 16
Views: 1646

Re: STM32G030 support.

Hi. I have some trouble with ADC in STM32G030 mcu. I wanted to get ADC data at regular intervals and used the timer 3 for that. I used this methode to produce ADC data in another MCUs many times and all works well, but in this MCU the program continously loop in DMA IRQ handler. It seems that the IR...
by alexblack
Fri Jul 09, 2021 12:27 pm
Forum: STM32 Support
Topic: STM32G473 test fail
Replies: 15
Views: 1527

Re: STM32G473 test fail

I found new thing: if set the CH_CFG_USE_REGISTRY to FALSE in above chconf.h file - the OS start to work.
by alexblack
Fri Jul 09, 2021 12:00 pm
Forum: STM32 Support
Topic: STM32G473 test fail
Replies: 15
Views: 1527

Re: STM32G473 test fail

Hi. Hi. I found the HardFault problem - it is PCB problem: when I switch on some schematic by setting GPIO to approriate state there is some hardware noise and the MCU registers somehow are corrupting but MCU do not reset. That's why the problem was so hard to find and it doesn't show up in step-by-...
by alexblack
Tue Jun 29, 2021 7:36 am
Forum: STM32 Support
Topic: STM32G473 test fail
Replies: 15
Views: 1527

Re: STM32G473 test fail

Hi.
All assertions is ON, I wrote this before.
Sorry, I have not fully figured out the problem yet. I will check everything and give you all reports later.
I have SEGGER J-TRACE Cortex-M PRO and even this device can't help yet. It need much time to analyze.
by alexblack
Fri Jun 25, 2021 3:07 pm
Forum: STM32 Support
Topic: STM32G473 test fail
Replies: 15
Views: 1527

Re: STM32G473 test fail

I cheked the hardware and even reflowed MCU with different revisions: MCU revisions do not effect for the Hard Fault problem. I sequently checked last revisions of the SVN Repositiry and was found that last working revision is 14324 of trunk branch. I do not understand how the OS implies to the prob...

Go to advanced search