Search found 131 matches
- Wed Jun 03, 2020 4:09 pm
- Forum: General discussion
- Topic: STM32F103 Strange Behavior
- Replies: 5
- Views: 4125
Re: STM32F103 Strange Behavior
I can assume the OP issue can be caused by different vector table offset, for binary compiled for usb bootloader it will be 0x2000 or 0x5000 for old one, but binary which is compiled to use without bl should have zero vector table offset so binary, which compiled and work with prototype will not wor...
- Tue Jun 02, 2020 8:31 am
- Forum: STM32F1 based boards
- Topic: RobotDyn Black Pill APM32F103CB 128KB
- Replies: 7
- Views: 13359
Re: RobotDyn Black Pill APM32F103CB 128KB
There is no FPU inside, already discussed here
- Mon Jun 01, 2020 8:04 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: NUCLEO L053R8
- Replies: 1
- Views: 2257
Re: NUCLEO L053R8
What is your problem?
According to reference manual you need to set GPIOC->MODER as 01010101010101010101010101010101 in binary to choose output mode for every port of GPIOC
in hex it will be 0x55555555
According to reference manual you need to set GPIOC->MODER as 01010101010101010101010101010101 in binary to choose output mode for every port of GPIOC
in hex it will be 0x55555555
Code: Select all
GPIOC->MODER |= 0x55555555;
- Fri May 29, 2020 5:40 am
- Forum: IDE's
- Topic: Blue Pill clock define
- Replies: 10
- Views: 14850
Re: Blue Pill clock define
Yes, you need whole SystemClock_Config from cube, and don't call it from loop or from anywhere else, it will be called at preinit So, I supose that Arduino IDE find this information in specific folder. What I need to do in instalation process to integrate Arduino IDE and CubeMx to take this ? Tks N...
- Thu May 28, 2020 8:00 pm
- Forum: General discussion
- Topic: 1.7 MHz Generation
- Replies: 2
- Views: 2435
Re: 1.7 MHz Generation
EDITED
sorry for misunderstanding
if you need to configure your timer to exact 1.7M frequency you need to use smth like
when you configure yr timer instance
sorry for misunderstanding
if you need to configure your timer to exact 1.7M frequency you need to use smth like
Code: Select all
MyTim->setOverflow(1700000, HERTZ_FORMAT);
- Tue May 26, 2020 10:58 pm
- Forum: IDE's
- Topic: Blue Pill clock define
- Replies: 10
- Views: 14850
Re: Blue Pill clock define
Yes, you need whole SystemClock_Config from cube, and don't call it from loop or from anywhere else, it will be called at preinit
- Tue May 26, 2020 3:20 am
- Forum: General discussion
- Topic: Use Serial.available with CubeMX
- Replies: 3
- Views: 5458
Re: Use Serial.available with CubeMX
Usually it doesnt use polling. Serial.available returns amount of unread data in the rx buffer. That buffer filled by reading serial with serial interrupt handler.
- Sun May 24, 2020 12:09 pm
- Forum: General discussion
- Topic: DAC with DMA: DMA interrupt not working
- Replies: 1
- Views: 3705
Re: DAC with DMA: DMA interrupt not working
Code: Select all
extern "C" void DMA1_Channel1_IRQHandler(void)
- Thu May 21, 2020 10:52 am
- Forum: General discussion
- Topic: Hardware flow control for USART2 port on STM32F103RC
- Replies: 5
- Views: 5361
Re: Hardware flow control for USART2 port on STM32F103RC
Flow control doesnt supported by core yet
- Thu May 21, 2020 10:34 am
- Forum: General discussion
- Topic: std::function / STL usage?
- Replies: 3
- Views: 3132
Re: std::function / STL usage?
With arm gcc it supports most stl features (except some thread/mutex related at least)