2012-08-10 03:09 AM
Hi.
I m just complete with a project using a STM8S. I went through development with a STM8S-discovery, which is by the way a great evaluation tool : cheap, and no useless peripherals such as LCD. Just had to solder a daughterboard to plug on the racks of pins to get the things working. I have to start now a project using an STM32F100. However, there is only 1 available evalboard priced ca 240€, with dozens of peripherals i don't need. I just want a board with the mcu, quartz, pins and something to program it. Now to the point ;) I m considering buying a STM32F0-discovery. It won't have everything i need, but i could be able to developp and test most of what i need. I'm wondering if the libraries of F0 and F1 series are compatible. I mean, if i developp on F0, using the FWlibs, will I have to change something when i change to F1 later ? are the 2 libs using exactly the same functions ?2012-08-10 04:55 AM
Why not get a VL-Discovery board?
http://www.st.com/internet/evalboard/product/250863.jsp
Or one of the dozens of STM32F10x board on eBay? The problem with F0/F1 would be the clock and bus differences, and perhaps how the pins and AF muxing is handled. I wouldn't try cross developing in the fashion you suggest.2012-08-10 05:31 AM
Hum, i had not seen this one. I guess i have missed it searching ''STM32F1 evalboard''.
and all the STM3210x boards are expensive compared to discovery boards ;) Thanks for the info, gonna order 1 at once ! ^^ Can i use STVD to developp on this board or do i need a different IDE ? Which compiler shall i take? (i d rather choose an evaluation license.) Something else (but i guess i shall create a new topic for it ? ) : Is there an IP/stack for stm32F1 line ?2012-08-10 06:14 AM
My general order of preference for IDE is Keil, Rowley, IAR. I also use Yagarto GNU/GCC depending on the task.
For Ethernet, the F100 doesn't support that, you'd be better getting a board that has all the PHY, magnetics, and connections built in. I believe there are some LwIP implementations a search away. Like I said, eBay is a great place to find assorted STM32 boards, generally pretty cheap, and ship to North America within a couple of weeks.2012-08-10 06:38 AM
I got an IC which has MAC and PHY layer, with SPI input.
together with an F100, it's twice cheaper than a F103 (i don't speak of evalboard tools, rather IC price for production.) I already found an opensource tiny IPstack but was curious if a stack already existed for F100 serie so i didn't have to adapt it. Or maybe the stack for F103 can be ran on F100 ?2012-08-10 07:31 AM
I've found the F100 and F103 are fairly interchangeable, just consider one with a max speed of 24 MHz, the other at 72 MHz, although the latter can be clocked at 24 MHz with the same PLL/FLASH settings etc. Other than that just keep track of what peripherals are supported by Value Line, Medium Density, High Density, Connectivity, variants of the STM32F1xx series.
There is certainly a common foot print migration path, and you can buy the part that fits the need. SPI attached Ethernet, whole heap of fun there.2012-08-13 07:00 AM
Thanks for all infos.
About SPI, it's a peripheral i got to use in various applications such as with a ST7540, i shall get it working ;)