Search found 276 matches
- Tue Jun 14, 2022 12:52 pm
- Forum: Bug Reports
- Topic: I2C v.1.0 discrepancy RM Topic is solved
- Replies: 3
- Views: 2787
I2C v.1.0 discrepancy RM Topic is solved
Hi. In current stable branch (21.11.2) there is I2C v.1 driver and it has discrepancy with Reference Manual: "ChibiOS\os\hal\ports\STM32\LLD\I2Cv1\hal_i2c_lld.c" ... 252 static void i2c_lld_serve_event_interrupt(I2CDriver *i2cp) { 253 I2C_TypeDef *dp = i2cp->i2c; 254 uint32_t regSR2 = dp->...
- Wed Feb 23, 2022 2:11 pm
- Forum: Bug Reports
- Topic: STM32G031 TIM16/TIM17 CLOCK CALUCLATING ERROR Topic is solved
- Replies: 2
- Views: 1852
STM32G031 TIM16/TIM17 CLOCK CALUCLATING ERROR Topic is solved
Hi. For the STM32G031 and STM32G030 (maybe other G0 mcu too) there is an errata: 2.5.5 TIM16 and TIM17 are unduly clocked by SYSCLK Description The timers TIM16 and TIM17 are unduly clocked by SYSCLK instead of being clocked by the timer clock TIMPCLK. As a consequence, they do not reflect AHB and A...
- Mon Jan 31, 2022 12:53 am
- Forum: Bug Reports
- Topic: STM32 USART v.2 Serial Driver Reinit error Topic is solved
- Replies: 2
- Views: 1563
STM32 USART v.2 Serial Driver Reinit error Topic is solved
Hi. In stable branch 21.11.x and 21.6.x (and maybe in earler) reconfiguration the baudrate scenario is broken because in function serial_lld_start is called the function usart_init with variable clock which is not setted when serial driver already is in READY state: \stable_21.11.x\os\hal\ports\STM3...
- Tue Dec 07, 2021 1:58 pm
- Forum: Bug Reports
- Topic: Stable 21.11.x SPI bug Topic is solved
- Replies: 2
- Views: 1602
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).
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).
- Tue Dec 07, 2021 1:40 pm
- Forum: Bug Reports
- Topic: Stable 21.11.x SPI bug Topic is solved
- Replies: 2
- Views: 1602
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_...
- Thu Sep 30, 2021 11:45 pm
- Forum: STM32 Support
- Topic: STM32G030 support.
- Replies: 16
- Views: 6371
Re: STM32G030 support.
Sorry.
I found the problem. It is wrong settings in configuaration of the ADC:
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),
- Thu Sep 30, 2021 10:36 pm
- Forum: STM32 Support
- Topic: STM32G030 support.
- Replies: 16
- Views: 6371
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...
- Tue Sep 21, 2021 8:45 am
- Forum: STM32 Support
- Topic: STM32G030 support.
- Replies: 16
- Views: 6371
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?...
- Tue Sep 21, 2021 7:51 am
- Forum: STM32 Support
- Topic: STM32G030 support.
- Replies: 16
- Views: 6371
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...
- Fri Jul 09, 2021 12:27 pm
- Forum: STM32 Support
- Topic: STM32G473 test fail
- Replies: 15
- Views: 4804
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.