pls identify stm32f10xr stm32f103rb all pins pa/pb/pc open

zmemw16
Mon Nov 23, 2015 4:27 am
its says stm32f10xr in silk, chip a stm32f103RBT6 or a R8T6, really strange kink on left side of the B

all pins of ports a, & B are brought out IN sequence on SIL headers PC is on double pins, i think the led might be on PA12

it st-links but no usb, there is a 1k5 in proximity of the usb skt

my usual q- circuit or archive software?

from ebay
1 item sold by jmelectron2014
Clear! stm32f103RBt6 stm32 system board learning development board core board

stephen


RogerClark
Mon Nov 23, 2015 8:22 am
I know it says its a F103RB in the description

But looking at the chip markings it looks more like its a F100RB not a F103RB

See possibly this spec http://www.st.com/web/catalog/mmc/FM141 … 216844.jsp

Look very very carefully at the markings on the MCU and confirm what the number actually reads

BTW. I looked in the data sheet and I can’t see any mention of USB for a F100 device, so could be a generic board onto which they have soldered a low spec MCU


ahull
Mon Nov 23, 2015 12:06 pm
Hi Stephen, I picked up one of these in July from the same supplier. Mine appears to be an STM32F103RBT6 and initially I programmed it an STM32F103C8T6 which worked but didn’t give access to the additional IO. Start here for more details. http://www.stm32duino.com/viewtopic.php … 9&start=30

LED is on PB0 from memory, but I think that the LED pin is mentioned in the thread.


zmemw16
Mon Nov 23, 2015 12:11 pm
don’t do that! pic was from ebay.
cat seriously tee’d as tickling stopped, needed 2 hands on k/brd and nearly m’heart as well!

confirmed it’s a 103, as i said its a distorted B

does the st-link programming complain if its told the wrong chip R8 instead RB, i know it does if it ain’t there.

if you hold reset down and program, it gives you chip info, in this case says 0 flash, should try with pill
from somewhere i thought i saw st-link would program through reset condition?

it’s the only 103 board that i’ve seen with the port a&b pins in sequence on headers, c is the more usual 0,2,4 and 1,3, 5 dual row

stephen


RogerClark
Mon Nov 23, 2015 7:45 pm
STLink will connect under reset, however I have not seen it program under reset.

STM’s STLink program on Windows detects the chip type.

Selecting F103CB or F103RB boards should work.

Personally I don’t think the F103R8 and F103RB boards are worth buying, unless you need more GPIO than a F103C8 or F103CB, as the F103Rx core does not have the extra features like DAC etc which are on the F103RC or F103RE etc

But I suppose if they are a similar price to the F103CB boards the may suit some projects


ahull
Mon Nov 23, 2015 8:33 pm
@Stephen, if you checkout the latest version of stm32duino from the repo, you should have a menu for Board Type >Generic STM32F103R series. and if you chose that, you should see variants of R8,RB,RC and RE.

Both the R8 and RB variants worked with my board, as did the Generic STMF103C8T6 variant, suggesting the R8/RB is probably the same die as the C8 or very similar.

The RC and RE ones did not work, and in fact choosing the RC or RE variant fried its brains, requiring me to reset the board as described in the thread I linked to previously. I used an ST-Link V2 clone with the latest ST-Link firmware to program the board.


zmemw16
Mon Nov 23, 2015 9:42 pm
@roger
R8 or RB – looking at a c8t6 pill, the 8 is distinctly classic snowman shaped, the B is only line thickness misplaced.
as i paid £4.83, i’d probably pick up at least one or maybe 2 more. ebay seller seems now defunct. only similar but not the one being offered
for some reason the sequential nature of ports a & b appeal to me;
now if it had rf24 and oled as well :D

@andyh
knew i’d seen it somewhere about reset & programming http://www.stm32duino.com/viewtopic.php … t=40#p4445
although i don’t think it was working for me, didn’t seem to do anything except report the mcu details. will repeat in a bit.
i love schematics.

anyone got a find the button pressed sketch i.e looping through the port bits, pause on a possible and do something more to confirm, find the blinky led sketch, once found indicate high or low orientated led drive :D

whose the best good at stm’ifying libraries? is there a thread detailing the various modifications? snippets? techniques? in code snippets please

anyone want geda-gschem bluepill and baite maple mini files? currently they’re in DIP40 sockets. i’m working around to start doing pcb’s again.

helpful tip; don’t drop 500mls of ferric chloride concentrate on laminate flooring, more important don’t walk in room with bare/sock only feet. bath time is both strange & puzzling if you don’t know about the spill

stephen


ahull
Mon Nov 23, 2015 10:49 pm
zmemw16 wrote:@roger
Helpful tip; don’t drop 500mls of ferric chloride concentrate on laminate flooring, more important don’t walk in room with bare/sock only feet. bath time is both strange & puzzling if you don’t know about the spill
stephen

zmemw16
Tue Nov 24, 2015 1:43 am
holes and orange soles:D

ahull
Tue Nov 24, 2015 1:42 pm
zmemw16 wrote:holes and orange soles:D

zmemw16
Tue Nov 24, 2015 6:57 pm
just received 2 of these STM32F103RC, nicely wrapped & boxed

http://www.aliexpress.com/item/Small-sy … 59394.html

the original source didn’t show the ribbon, but did state something about RB or RC versions.
the above link has the same text, default is RC with pins upward, RB and pins down need a message
these are as well @ £6.55, but they might be a part shipment of 5 though @ £5.75

one of these having a micro sd slot as well could be classed as icing on the cake.

stephen


jcw
Wed Nov 25, 2015 12:48 am
I think I have 3 of those, but they were in fact F107RC’s, not F103RC.
The PCBs are clearly marked F103RC, but the chips on mine definitely weren’t.
Haven’t checked how that affects the pinout, and whether there are any conflicts.

-jcw


zmemw16
Wed Nov 25, 2015 1:24 am
check first if we’re on the same page

http://www.aliexpress.com/item/Small-sy … 59394.html

yikes, ROGER help HELP :D :D

yes it is a STM32F107RC. off to find a pdf and play with CubeMX:D
pdf title splurge has
Connectivity line, ARM®-based 32-bit MCU with 64/256 KB Flash, USB OTG, Ethernet, 10 timers, 2 CANs, 2 ADCs,
14 communication interfaces

messages have been left with the sellers seeking confirmation!

next question – is it a bargain or a brick as in a 2 led counter?

well it programs via stlink and pa13/pa14, 2 leds d0 on board is PA8, d1 is PD2

usb is not visible at all, dmesg gives
[24841.454331] usb 3-1.1.4: new full-speed USB device number 75 using xhci_hcd
[24841.454452] usb 3-1.1.4: Device not responding to setup address.
[24841.658566] usb 3-1.1.4: Device not responding to setup address.
[24841.862685] usb 3-1.1.4: device not accepting address 75, error -71
[24841.862751] usb 3-1.1-port4: unable to enumerate USB device


RogerClark
Wed Nov 25, 2015 8:53 am
As the F107 is covered by the same programming manual as the F103 and F102,F105 and F107, then I think there is a good chance that the core will work without too much modification

However USB is the last thing to try ;-)

Try uploading a blink sketch and see if you can toggle one of the gpio pins, and if so, check the rate its blinking and see if it matches the value you expect.

If it is blinking at the correct rate and USB is not working, then the issue is likely to be that its missing the USB pullup resistor.

If its blinking at the wrong rate, then its likely that the crystal is not 8Mhz and could be 12Mhz in which case the main HSE PLL needs to be changed from MUL 9 to MUL 6, but at the moment its really hard to say precisely why its not working.

Incidently if we can get cheap F107 boards they would be a useful addition as they all appear to have 64k of RAM


jcw
Wed Nov 25, 2015 9:18 am
FWIW, the crystal is marked 8.000 and there seems to be a 1.5 kΩ fixed pull-up to 3.3V, looking at the components and traces.

RogerClark
Wed Nov 25, 2015 9:54 am
Umm

OK.

Does Blink work ?


madias
Wed Nov 25, 2015 10:11 am
I think the main difference between F103/F107 ist USB:
F107: USB 2.0 OTG + can bootload via USB
Big question is, if there are differences in the USB driver so if the leafmaple core works. There are a spare entries in the old leaflabs forum for the F107: http://forums.leaflabs.com/search.php?q=STM32F107

jcw
Wed Nov 25, 2015 10:34 am
Ooh, nice – DFU boot support (also built-in Ethernet, BTW). Here’s the overview, from the STM32F105/107xx datasheet:

ahull
Wed Nov 25, 2015 10:54 am
The 107 looks like a pretty interesting processor, half way to a Pi, and around half the price. Certainly worth considering as an alternative to the STM32F103V/Z variants. I’m not sure how easy it would be to add the magnetics needed for the ethernet port, but I doubt it would be that hard or expensive.

jcw
Wed Nov 25, 2015 11:06 am
This board could be useful to get Ethernet going: http://www.ebay.com/itm/181489817547 – and once that works: chip swaps on Maple’s etc?

PS. You do need more than just magnetics: also a “PHY” chip.


zmemw16
Wed Nov 25, 2015 12:36 pm
well you lot beat me to it, posting the table.

leds are pa8 & pd2, i’ve a 2 bit counter version of blink.

what’s in those 3v3 ethernet modules enj28-something, could we ‘adapt’ it?

for the link, have you pulled the schematic and cdrom zips?

stephen


jcw
Wed Nov 25, 2015 12:48 pm
The ENC28J60 chips have complete Ethernet hardware, they are controlled as normal SPI slaves.
I haven’t looked at the schematic yet – too many distractions here… 🙂

zmemw16
Wed Nov 25, 2015 1:12 pm
i switch to chrome for links needing translation, the base page doesn’t respond, the links fail as well :shock: :horror:

stephen


RogerClark
Wed Nov 25, 2015 9:19 pm
f107 would be an interesting addition but the cheapest one I can find on eBay is $22 USD

I will see if I can find a smaller and cheaper one on AliExpress as I don’t have an infinite budget for microcomtrollers ;-)

Found a slightly cheaper one on Aliexpress

http://www.aliexpress.com/item/STM32-Bo … eb201560_6

But it doesn’t have Ethernet

Personally, if I want Ethernet connectivity I’m happy to use an external module, and nowadays I’m also more likely to use wifi ( esp8266 for those tasks)


zmemw16
Wed Nov 25, 2015 10:44 pm
@roger
err sorry, cubemx says the 107vct6 tqfp package as in pretty picture has ethernet, clobbers i2s & spi2 though.
107rct6 tqfp64 is showing ethernet as well.
the table above also shows ethernet as well.

with all pins broken out it shouldn’t be a problem, i’ll be going with spi and ENC28J60 modules, i seem to have some …

anyone got a magpie avatar :D

stephen


Leave a Reply

Your email address will not be published. Required fields are marked *