if STM32_ADC_PRESCALER_VALUE < 2
#error "Invalid value assigned to STM32_ADC_PRESCALER_VALUE"
Search found 33 matches
- Tue Apr 27, 2021 6:25 am
- Forum: Bug Reports
- Topic: STM32L052 ADC driver prescaler always > 1 Topic is solved
- Replies: 5
- Views: 3277
- Tue Apr 27, 2021 5:04 am
- Forum: Bug Reports
- Topic: STM32L052 ADC driver prescaler always > 1 Topic is solved
- Replies: 5
- Views: 3277
STM32L052 ADC driver prescaler always > 1 Topic is solved
STM32L052 ChibiOS 20.3.3 The ADC driver does not allow setting the prescaler value to 1 (ADC_CCR_PRESC = 0). This is correct?
- Wed Mar 24, 2021 10:16 am
- Forum: Bug Reports
- Topic: STM32L052 DAC Driver Topic is solved
- Replies: 2
- Views: 2793
STM32L052 DAC Driver Topic is solved
STM32L052xx
STM32_HAS_DAC1_CH1 FALSE
This is correct?
STM32_HAS_DAC1_CH1 FALSE
This is correct?
- Thu Mar 26, 2020 7:58 am
- Forum: STM32 Support
- Topic: RT-STM32F401RE-NUCLEO64 demo project build errors
- Replies: 3
- Views: 1948
Re: RT-STM32F401RE-NUCLEO64 demo project build errors
Hi, There is no support for those timers in the F4 HAL yet. The platforms with support for all timers are so far: L0, L4, L4+, F7, H7, G0, G4. Giovanni Thank you for your help. But there is another problem in the same demo project. Calling the chHeapAlloc(0, int n) function generates a HardFault ex...
- Wed Mar 25, 2020 6:40 am
- Forum: STM32 Support
- Topic: RT-STM32F401RE-NUCLEO64 demo project build errors
- Replies: 3
- Views: 1948
RT-STM32F401RE-NUCLEO64 demo project build errors
Tried to use GPTD9 and GPTD11 in the RT-STM32F401RE-NUCLEO64 demo project from ChibiOs 20.3.0. Building the project gives errors "TIM9 ISR not defined by platform" and "TIM11 ISR not defined by platform"
- Wed Sep 20, 2017 9:24 am
- Forum: ChibiOS/HAL
- Topic: gptcallback_t as non-static method of class
- Replies: 0
- Views: 1729
gptcallback_t as non-static method of class
How to use spicallback_t and gptcallback_t as non-static method of class? private: gptcnt_t interval; void gpt_cb(GPTDriver *gptp); void spi_cb(SPIDriver *spip); SPIConfig spi_cfg = {spi_cb, 0, 4, SPI_CR1_BR_0 | SPI_CR1_BR_1 }; GPTConfig gpt_cfg = {1000000, gpt_cb, 0, 0}; in my case compiler say: TB...
- Tue Mar 15, 2016 12:52 pm
- Forum: ChibiOS/NIL
- Topic: using in main() chSemResetI and so on Topic is solved
- Replies: 2
- Views: 23213
using in main() chSemResetI and so on Topic is solved
Can i use functions chSemResetI(), chSemGetCounterI() and so on after chSysInit() ?
- Fri Mar 11, 2016 5:04 pm
- Forum: ChibiOS/HAL
- Topic: How write to internal flash from a bootloader
- Replies: 6
- Views: 4704
- Fri Mar 11, 2016 10:57 am
- Forum: ChibiOS/HAL
- Topic: ADC conversion + Analog Watch Dog
- Replies: 2
- Views: 2321
Re: ADC conversion + Analog Watch Dog
It is strange that you don't get the callback, are you sure about this? I will repeat my approaches too. some corrections: if field <adc_callback> == NULL getting <adcerr_wdg> is regular, but else getting <adcerr_wdg> is very rarely; i use this call conversion now adcStartConversionI(&ADCD1, &a...
- Fri Mar 11, 2016 6:16 am
- Forum: ChibiOS/HAL
- Topic: ADC conversion + Analog Watch Dog
- Replies: 2
- Views: 2321
ADC conversion + Analog Watch Dog
moved from the my previous topic Same problem, another way this conversion group: static const ADCConversionGroup adc_cfg_wdg2 = { FALSE, 2, NULL, adcerr_wdg, .u.adc = { ADC_CR1_AWDEN | ADC_CR1_AWDIE | ADC_CR1_AWDSGL | ADC_CR1_AWDCH_0 | ADC_CR1_AWDCH_3, ADC_CR2_SWSTART | ADC_CR2_CONT, NEGATIVE_VOLTA...