Search found 79 matches

by aster
Sun Jul 30, 2017 10:50 pm
Forum: STM32F103 Boards
Topic: Red Pill or Blue Pill?
Replies: 216
Views: 31820

Re: Red Pill or Blue Pill?

New contender in the war:
STM32F103C8T6, STM32 ARM Cortex-M3 Minimum System Development Board
http://s.aliexpress.com/vyAfIjUB
(from AliExpress Android)

I have an arduino mega ( 2560) from them and it is well made, the price is too high compared to the others boards
by aster
Fri Jul 28, 2017 1:28 pm
Forum: General discussion
Topic: issue with sd card
Replies: 15
Views: 381

Re: issue with sd card

It looks like you have a short between PB12 and 15. PB13 seems like a good SS candidate. yep, you are right... weird and more weird :? :shock: i am quite sure the problem is with the BP i will just buy a few new boards and check what it is happening Why do you connect MM and BP in parallel? This wa...
by aster
Fri Jul 28, 2017 10:29 am
Forum: General discussion
Topic: issue with sd card
Replies: 15
Views: 381

Re: issue with sd card

setup:
powered from the ldo of the baite mini
Image

"logic analyzer" capture:
12 is clk
13 - mosi
14 - miso
15 - ss
Image
Image
by aster
Wed Jul 26, 2017 12:26 pm
Forum: General discussion
Topic: issue with sd card
Replies: 15
Views: 381

Re: issue with sd card

i don't have a real scope... only "this": https://www.hackster.io/vincenzo-g/diy- ... zer-f61ee5
i could try with it using SD_SCK_MHZ(1), maybe it will work :?:

I already use the 3.3V from a stand alone supply
by aster
Wed Jul 26, 2017 11:09 am
Forum: General discussion
Topic: issue with sd card
Replies: 15
Views: 381

Re: issue with sd card

yes, i use greyman sdfat "normal" library: https://github.com/greiman/SdFat yes, the ide is using the correct SPI lib pins are correct, i usually use this https://developer.mbed.org/media/uploads/hudakz/maplemini_pinout01.png or this http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif output o...
by aster
Wed Jul 26, 2017 7:16 am
Forum: General discussion
Topic: issue with sd card
Replies: 15
Views: 381

Re: issue with sd card

Roger's one
The only things that i changed between the two boards is the upload method, bootloader with the mm and stlink with the bluepill
by aster
Tue Jul 25, 2017 8:12 pm
Forum: General discussion
Topic: issue with sd card
Replies: 15
Views: 381

issue with sd card

hello i have this SD module , sdfat version 1.0.3, external ttl-serial, low (4mhz) speed, stm32duino core last update (20 of this month) if i use it on maple mini (from baite) it works ok same code on the bluepill gives me initialization error I am using this #include <SPI.h> #include "SdFat.h" SdFa...
by aster
Thu Jul 13, 2017 9:04 pm
Forum: General discussion
Topic: convert PORT to int
Replies: 16
Views: 323

Re: convert PORT to int

I didn't managed to extract from the structure the port but this is better than nothings: #include "Streaming.h" uint8_t pin, port, n; void setup() { Serial.begin(115200); while (!Serial); delay(10); Serial << "Analog Pins: " << BOARD_NR_ADC_PINS << endl; for (n = 0; n < BOARD_NR_ADC_PINS ; n++) { p...
by aster
Thu Jul 13, 2017 12:42 am
Forum: General discussion
Topic: Need help picking a MCU for custom board. Where should I post?
Replies: 4
Views: 189

Re: Need help picking a MCU for custom board. Where should I post?

I don t know your coding abilities, but i would consider also the fact that for the f072 as far as i know there isn t a core. Instead you could use a f103c8 and you will have the same package, i m quite sure same pin map, more functions and more important that everithing you have a stable core. You ...