Search found 7687 matches

by RogerClark
Sat Feb 10, 2018 10:16 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 769
Views: 15580

Re: F405 & F411 versions of the BluePill

The F405 has an internal USB bootloader, but it only supports DFUSe which is STMs extension to DFU. Also, it needs a different windows driver ( I forget which one), which needs to be installed by Zadig.. There is a separate thread about the F4 bootloader, but I can’t find it at the moment. In that t...
by RogerClark
Sat Feb 10, 2018 9:08 pm
Forum: Custom design boards
Topic: STM32-UNO(ARMDuino)
Replies: 10
Views: 294

Re: STM32-UNO(ARMDuino)

It is pulled down with 4K7... I think that must be pulled up with 1K5.... Is this working? Probably works on his machine, in the same way the Blue Pill works for most people, even though it’s wrong Also.. Btw. SeeedStudio used to sell a board very similar to this... I have one. It’s a nice board, b...
by RogerClark
Sat Feb 10, 2018 9:04 pm
Forum: General discussion
Topic: Timer "One-Pulse" mode
Replies: 14
Views: 303

Re: Timer "One-Pulse" mode

Steve Wow... Thanks I will test it on my mains dimmer board. BTW. On a slightly different subject... I am not sure if perhaps the Input Capture may not function absolutely correctly At the moment I need to store the last counter value recorded by the ISR and subtract it from the current value. So th...
by RogerClark
Sat Feb 10, 2018 8:55 pm
Forum: General discussion
Topic: Serial Port for USB on the MAPLE-Mini ?
Replies: 10
Views: 282

Re: Serial Port for USB on the MAPLE-Mini ?

Thanks Ray

I agree it’s far easier just to connect it to the correct pins

Or...

There is another active thread about Software Serial, which they could read.

But it could still be a lot more problematic than simply using the correct pins
by RogerClark
Sat Feb 10, 2018 10:08 am
Forum: General discussion
Topic: Serial Port for USB on the MAPLE-Mini ?
Replies: 10
Views: 282

Re: Serial Port for USB on the MAPLE-Mini ?

PB6 and PB7 are not by default used as a Serial port See 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 See page 32 You either need to use different pins or use the afio_remap ...
by RogerClark
Sat Feb 10, 2018 9:34 am
Forum: STLink
Topic: Problem with uploading on Blue Pill via ST-LINK V2 on mac OS
Replies: 7
Views: 193

Re: Problem with uploading on Blue Pill via ST-LINK V2 on mac OS

fpiSTM wrote:
Sat Feb 10, 2018 9:17 am
Texane github is active.
I've already update the version to fix some issues.
So, I think you should take the last version and test it.
OK.

If @Frederik can test it, I will update if it help
by RogerClark
Sat Feb 10, 2018 6:40 am
Forum: General discussion
Topic: Timer "One-Pulse" mode
Replies: 14
Views: 303

Re: Timer "One-Pulse" mode

Update PWM is working OK because I can test the values using const uint16_t pulseDelay=250; const uint16_t pulseWidth=1000; pinMode(PA1,PWM);// Timer 2 channel 2 output pin Timer2.setPrescaleFactor(72); Timer2.setCompare(2,pulseDelay);// Delay value Timer2.setOverflow(pulseWidth + pulseDelay-1); In ...
by RogerClark
Sat Feb 10, 2018 6:32 am
Forum: General discussion
Topic: Timer "One-Pulse" mode
Replies: 14
Views: 303

Timer "One-Pulse" mode

Guys If anyone has used One-Pulse mode, could you let me know I need this for one of my personal projects, so I'm attempting to write the code for it and add to the core In One Pulse mode, an external signal can be used to trigger one of the timers, which in turn creates a pulse after a specific del...
by RogerClark
Sat Feb 10, 2018 4:51 am
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Alvin: 'stm32flash' is not recognized..
Replies: 13
Views: 247

Re: Alvin: 'stm32flash' is not recognized..

Looks like the bat file can't find the path to stm32flash.exe

You could try modifying the bat file and put in a hard coded full path and see if that fixes it.
by RogerClark
Sat Feb 10, 2018 3:50 am
Forum: General discussion
Topic: Timer "Input Capture" ?
Replies: 37
Views: 2178

Re: Timer "Input Capture" ?

OK I've added this functionality to the Core But. I still need to decide how to add input polarity selection I've included an example in the Sensors section, as thats where the Hardware Timer Encoder example is Grab the latest version of the repo and you can try the example (Now on to what I really ...