Hello,
see the following bug:
- ChibiOS version or subversion revision number: Chibios 17.6 ID 1b08f1048f57587545f3854409dacccb91466fed
- Compiler: GCC 6.3
- Platform and board: STM32F40X
- Nature of the problem
When using GPT with TIM1 in chibios, there is a compiler error since commit ...
Search found 8 matches
- Sun Aug 26, 2018 9:52 pm
- Forum: Bug Reports
- Topic: Compile Error GPT TIM1
- Replies: 2
- Views: 2898
- Mon Nov 11, 2013 4:11 pm
- Forum: STM32 Support
- Topic: Stm32F103 standby problems
- Replies: 7
- Views: 7369
Re: Stm32F103 standby problems
When entering standby mode the program starts again from the beginning, so that's not the fault.
I found a solution now, it seems that the optimizations lead to problems. This solution works with -O0, but fails with -O2:
...
//enter standby mode
chSysLock();
PWR->CR |= PWR_CR_CWUF ...
I found a solution now, it seems that the optimizations lead to problems. This solution works with -O0, but fails with -O2:
...
//enter standby mode
chSysLock();
PWR->CR |= PWR_CR_CWUF ...
- Sun Nov 03, 2013 9:20 pm
- Forum: STM32 Support
- Topic: Stm32F103 standby problems
- Replies: 7
- Views: 7369
Re: Stm32F103 standby problems
PS: WakeupPin rising edge doesn't work either.
- Sun Nov 03, 2013 9:13 pm
- Forum: STM32 Support
- Topic: Stm32F103 standby problems
- Replies: 7
- Views: 7369
Re: Stm32F103 standby problems
Hi Barthess,
thank you for the ideas.
The board does not have a battery, the vbat pin is connected to 3,3v.
As long as the program is running, the RTC works. The RTC alarm is working as long as I do not enter standby mode.
Do I have to reconfigure some registers to make sure that the RTC keeps ...
thank you for the ideas.
The board does not have a battery, the vbat pin is connected to 3,3v.
As long as the program is running, the RTC works. The RTC alarm is working as long as I do not enter standby mode.
Do I have to reconfigure some registers to make sure that the RTC keeps ...
- Sun Nov 03, 2013 7:00 pm
- Forum: STM32 Support
- Topic: Stm32F103 standby problems
- Replies: 7
- Views: 7369
Stm32F103 standby problems
Hey guys,
I experience problems when trying to enter the standby mode and waking up after a few seconds again with a custom STM32F103C8 board.
I took the code from the testhal/RTC example and used it in a simple application:
int main(void)
{
halInit();
chSysInit();
palSetPadMode(PORT_DBG ...
I experience problems when trying to enter the standby mode and waking up after a few seconds again with a custom STM32F103C8 board.
I took the code from the testhal/RTC example and used it in a simple application:
int main(void)
{
halInit();
chSysInit();
palSetPadMode(PORT_DBG ...
- Thu Jun 13, 2013 9:08 pm
- Forum: STM32 Support
- Topic: stm32f4 discovery fatfs problem
- Replies: 31
- Views: 28747
Re: stm32f4 discovery fatfs problem
I had the same problem before.
You can solve it by formatting the SD card as a primary partition (and not a logical, which is the default type). User for example the "MiniTool Partition Wizard Home Edition" which is free.
You can solve it by formatting the SD card as a primary partition (and not a logical, which is the default type). User for example the "MiniTool Partition Wizard Home Edition" which is free.
- Mon Jun 03, 2013 7:24 pm
- Forum: STM32 Support
- Topic: STM32F3 missing RTC support
- Replies: 3
- Views: 3554
Re: STM32F3 missing RTC support
Now that I'm playing around with it, there is one more thing missing:
If you want to use functions from chrtclib.c, you have to add the defines for STM32F30x (and probably STM32F37X) in chrtclib.c:
before:
#if (defined(STM32F4XX) || defined(STM32F2XX) || defined(STM32L1XX) || \
defined(STM32F1XX ...
If you want to use functions from chrtclib.c, you have to add the defines for STM32F30x (and probably STM32F37X) in chrtclib.c:
before:
#if (defined(STM32F4XX) || defined(STM32F2XX) || defined(STM32L1XX) || \
defined(STM32F1XX ...
- Sun Jun 02, 2013 9:55 pm
- Forum: STM32 Support
- Topic: STM32F3 missing RTC support
- Replies: 3
- Views: 3554
STM32F3 missing RTC support
I'm quite new to chibios but I'm starting to love it I'm working with the stm32f3discovery board and started today to use the RTC. The stm32f3 has a rtc, but to get it to work with chibios, the platform.mk must be extended with the following lines:
PLATFORMSRC:
"${CHIBIOS}/os/hal/platforms/STM32 ...
PLATFORMSRC:
"${CHIBIOS}/os/hal/platforms/STM32 ...