Search found 7691 matches

by RogerClark
Sat Feb 10, 2018 11:12 pm
Forum: General discussion
Topic: Timer "One-Pulse" mode
Replies: 14
Views: 310

Re: Timer "One-Pulse" mode

Steve I've tried the code but its not doing what it should be :-( On the rising edge of PA0, PA1 toggles state I tried changing the setCompare and the setOverflow but it didn't make any difference I think this is closer to what its supposed to be doing, but it doesnt seem to be quite working yet ;-)
by RogerClark
Sat Feb 10, 2018 10:54 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 774
Views: 15957

Re: F405 & F411 versions of the BluePill

Steve

I think Victor added SIO recently.

But here are many things missing from the F4 version of the LibMaple F4 (Arduino_STM32)

BTW.

I agree... Just use STLink to upload.
by RogerClark
Sat Feb 10, 2018 10:52 pm
Forum: General discussion
Topic: Timer "Input Capture" ?
Replies: 37
Views: 2190

Re: Timer "Input Capture" ?

Steve I just used the code provided by @Cesco But I now see that it has problems I think the config is wrong. The counter seems to free run and the ISR gets called when the input pin changes. Looking at the original code (from Leaflabs) they thought that there would be a pinMode() for INPUT_CAPTURE,...
by RogerClark
Sat Feb 10, 2018 10:46 pm
Forum: Off topic
Topic: i2c device not visible
Replies: 10
Views: 186

Re: i2c device not visible

There have been some reports not being able to operate different I2C device libraries on the same bus. I don't think anyone has determined if these is a problem with specific libraries or whether all libraries are effected (due to problems with the Hardware I2C library) You could try using the versi...
by RogerClark
Sat Feb 10, 2018 10:16 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 774
Views: 15957

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: 306

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: 310

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: 292

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: 292

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: 202

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