2016-06-15 01:41 PM
Hi.
I found this project : https://github.com/jpbarraca/LogicAlNucleo This code is for NucleoF401RE board, which costs about $20. I have cheap chinese board with STM32F103C8T6, resources looks enought, but code not works. Problem is in USB support, Linux not recognized device. I understand this is different hardware, but don't know what I must change in code to replace STM32F401 by STM32F103 ? My second problem and question is, will work STM32F407 with code for NucleoF401RE ? STM32F407VET6 development board costs only $12, the chip is faster and looks better than F401RE, but I'm afraid bad surprise ... I'm new in STM32 and can't find answers, please help me.2016-06-15 02:05 PM
Seems a bit on the high side, so assuming some of your prices are with shipping at 1-up quantities.
The F1 is quite antiquated at this point, and had some of it's own USB libraries and quirks. Suspect back-porting to that will be a chore. You will need to watch pin configurations, usage and clocks.The F401 is a feature depleted F407/5, I've built several projects for the F401 and load them directly on other F4 parts. You want to pay attention to the PLL and VOS settings, and things like missing TIM and ADC peripherals. I've built other projects where the SystemInit() code detects which F4 it is running on, and selects maximal clocks for each, ie 84-180 MHzIf you're up in the $20 range the boards might be a better choice than the2016-06-15 03:03 PM
Thanks for reply.
I use STM32F103 board as Arduino, I have bootloader code and I made some changes for my needs. Linux detects the device and assigns the /dev/ttyACMx port. But the code is big, contains many files, and I don't understand it. And above all, code contains a lot things for me unnecessary. I need only serial communication by USB. As to the STM32F4, I want to buy one board, quick and universal, but not expensive. Logic analyzer I will definitely needed, but not too often, the other application may I come to mind, maybe not ... It would be best to force the analyzer to work on the F103 ...2016-06-15 04:20 PM
For an F401 Arduino w/SDIO I like the
https://www.ghielectronics.com/catalog/product/535
, I remove the NetMF stuff