Search found 1758 matches
- Thu Jan 23, 2020 2:49 pm
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 9875
Re: Timer changes since 1.6
Did best answer get removed or is it not enabled for this particular board? Well, Originally you create a topic here which should only contains SubForum: Board index < Arduino for STM32 < Cores < STM32 Core I move it here: Board index < Arduino for STM32 < Cores < STM32 Core < General discussion Th...
- Thu Jan 23, 2020 12:51 pm
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 9875
Re: Timer changes since 1.6
Like Ralf9 said
For 1.8 you need to do the setMode.
This will not be needed for next release.
Anyway, as you get the example on the master it is not present.
See:
https://github.com/stm32duino/STM32Exam ... 0a3352f716
For 1.8 you need to do the setMode.
This will not be needed for next release.
Anyway, as you get the example on the master it is not present.
See:
https://github.com/stm32duino/STM32Exam ... 0a3352f716
- Thu Jan 23, 2020 11:32 am
- Forum: General discussion
- Topic: [SOLVED]Timer changes since 1.6
- Replies: 14
- Views: 9875
Re: Timer changes since 1.6
Hi Ben
Check in the wiki the HardwareTimer page and the STM32Examples, you will find what you search from.
Check in the wiki the HardwareTimer page and the STM32Examples, you will find what you search from.
- Thu Jan 23, 2020 5:37 am
- Forum: General discussion
- Topic: How to use analogWrite
- Replies: 7
- Views: 10915
Re: How to use analogWrite
There is a lot of pins linked to a Timer. The analogWrite well use the timer if available on the requested pins. One other solution is to use directly the HardwareTimer api: https://github.com/stm32duino/wiki/wiki/HardwareTimer-library This is what is called by the analogWrite when Timer is availabl...
- Wed Jan 22, 2020 10:39 am
- Forum: Projects
- Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
- Replies: 14
- Views: 16468
Re: Libcanard based UAVCAN node (Arduino_Core_STM32)
Thanks MGeo,
About DWT, note that the core is already based on it for delayMicroseconds() arduino API
https://github.com/stm32duino/Arduino_C ... .h#L64-L70
About DWT, note that the core is already based on it for delayMicroseconds() arduino API
https://github.com/stm32duino/Arduino_C ... .h#L64-L70
- Wed Jan 22, 2020 10:11 am
- Forum: General discussion
- Topic: Get Program Counter after WatchDog reset
- Replies: 3
- Views: 4096
Re: Get Program Counter after WatchDog reset
Hi comiter I don't think the IWDG can do this. You can specify to stop in debug mode but that's all. When the IWDG fire then it enter in reset. The WWDG should be able to save the PC in a backup register thanks the WWDG_IRQn handler but you have to implement it yourself as there is no Arduino librar...
- Wed Jan 22, 2020 9:47 am
- Forum: General discussion
- Topic: Servo with SSD1306 and TIMER_INPUT_FREQ_DUTY_MEASUREMENT
- Replies: 4
- Views: 3421
Re: Servo with SSD1306 and TIMER_INPUT_FREQ_DUTY_MEASUREMENT
Looking at the code, it is for the STM32 core.
If it works individually, I guess you can have those kind of issues:
- IRQ priority
- TIMER shared ressource
The best would be you can debug to see exactly why you failed?
If it works individually, I guess you can have those kind of issues:
- IRQ priority
- TIMER shared ressource
The best would be you can debug to see exactly why you failed?
- Wed Jan 22, 2020 9:42 am
- Forum: General discussion
- Topic: analogRead and analogWrite troubles
- Replies: 37
- Views: 44347
Re: analogRead and analogWrite troubles
Well, I've reproduced the issue but I didn't have the solution.
Seems it is current to have issue with ADC3 on those series.
I raise an issue internal.
As a workaround simply use other ADC1 or 2.
Seems it is current to have issue with ADC3 on those series.
I raise an issue internal.
As a workaround simply use other ADC1 or 2.
- Wed Jan 22, 2020 9:10 am
- Forum: General discussion
- Topic: Unable to compile core_cm4.h not found
- Replies: 2
- Views: 2654
Re: Unable to compile core_cm4.h not found
@markreds81
Any update on this ?
Any update on this ?
- Wed Jan 22, 2020 8:15 am
- Forum: General discussion
- Topic: How to use analogWrite
- Replies: 7
- Views: 10915
Re: How to use analogWrite
Hmm ... it’s not clear ... I just replaced PC13 with PA3 (for the test). There is PWM on PA3, but not on PC13. It seems that the PWM core is not configured for all pins. So if there is no PWM linked to PC13, the analogWrite simply use it as a digitla IO. If the requested value is less than the half...