Search found 7683 matches

by RogerClark
Wed Feb 21, 2018 11:09 am
Forum: Builds and Announcements
Topic: Optimisation and clock speed menu - enhancements
Replies: 22
Views: 1281

Re: Optimisation and clock speed menu - enhancements

I think to change speed at runtime would require some changes to the code to make F-CPU a variable, because I think at the moment it’s effectively a constant or. Define Btw. I presume you know USB only works at 72 and 48 because of a limitation in the USB PLL divider setting register ( it’s just 1 b...
by RogerClark
Wed Feb 21, 2018 10:15 am
Forum: Off topic
Topic: Any idea what this protocol is ????
Replies: 3
Views: 94

Re: Any idea what this protocol is ????

@Pito Its a Radioddity GD77, which is actually a rebranded TYT MD-760 @Vassilis The cable on the newer radios does not contain a USB to Serial converter like in some older radios. The new generation of radios have USB on the MCU I have a TYT MD-380, which uses a STM32F405 (and uses the USB directly)...
by RogerClark
Tue Feb 20, 2018 11:09 am
Forum: Off topic
Topic: Any idea what this protocol is ????
Replies: 3
Views: 94

Any idea what this protocol is ????

Hi Guys, I'm doing a bit of reverse engineering on a data transfer protocol from a PC to a digital radio, and the protocol that is used seems to not really fit its purpose, so I suspect the Chinese company who make the radio are using an existing protocol but I've no idea what it is Basically the PC...
by RogerClark
Sat Feb 17, 2018 8:19 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 769
Views: 15430

Re: F405 & F411 versions of the BluePill

Are you sure the clocks are running Ok?

I think perhaps STLink can upload even if the clock is not running
by RogerClark
Fri Feb 16, 2018 9:40 pm
Forum: Projects
Topic: Lightpen
Replies: 5
Views: 175

Re: Lightpen

Download the latest version of my repo as it now has the hardware Input Capture feature working Thanks to @ stevestrong... Look in the A_STM32_Examples under Sensors, Input PWM This uses the hardware Timer to measure pulse width. I presume you need to wait for a Vsync pulse, of specific length, then...
by RogerClark
Fri Feb 16, 2018 9:15 pm
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 507

Re: analog watchdog in adc

Perhaps the core could be changed to make this IRQ weak.
by RogerClark
Wed Feb 14, 2018 9:46 pm
Forum: Working / ported libraries
Topic: Bluepill, PB10 and PB11 pulling down the signal while using as input
Replies: 7
Views: 141

Re: Bluepill, PB10 and PB11 pulling down the signal while using as input

Steve If they selected the wrong board e.g. STM32F103V, It would compile and be possible to upload a binary But I don’t know what the result would be.. The pin is also defined as I2C2, SCL2, so potentially there could be an issue with the Wire config. However it’s odd that no one else has noticed th...
by RogerClark
Wed Feb 14, 2018 10:10 am
Forum: Working / ported libraries
Topic: Bluepill, PB10 and PB11 pulling down the signal while using as input
Replies: 7
Views: 141

Re: Bluepill, PB10 and PB11 pulling down the signal while using as input

Not sure if this is why, but PB10 is USART3 TX Page 30 of http://www.st.com/content/ccc/resource/technical/document/datasheet/33/d4/6f/1d/df/0b/4c/6d/CD00161566.pdf/files/CD00161566.pdf/jcr:content/translations/en.CD00161566.pdf But this is not available on the Blue Pill What board did you select ?
by RogerClark
Wed Feb 14, 2018 4:59 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: jfitter: STM32 on the Sunshine Coast
Replies: 7
Views: 123

Re: jfitter: STM32 on the Sunshine Coast

@jfitter The Arduino_STM32 codebase is a long story. There is info here about where the original codebase came from, https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Credits-and-history However, I did a lot of the major initial work, to bring the old style "Arduino 22" (pre 1.0) codebase up...