<div dir="ltr">Yep, 071 is good if host connection is either I2C or SPI. There are 2 I2C controllers so it can run as gateway.<div>But for USB there is <span style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif">STM32F072CBT6 - at Digikey it is priced at 2.37USD for 1000pcs - </span><font color="#000000" face="Arial, Helvetica, sans-serif"><a href="http://www.digikey.com/product-detail/en/STM32F072CBT6/497-14645-ND/4815292">http://www.digikey.com/product-detail/en/STM32F072CBT6/497-14645-ND/4815292</a>. This one is in 48 pin. If more pins are needed, just switch to: STM32F072RBT6 - <a href="http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1574/LN1823/PF259605">http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1574/LN1823/PF259605</a></font></div>
<div><font color="#000000" face="Arial, Helvetica, sans-serif"><br></font></div><div><font color="#000000" face="Arial, Helvetica, sans-serif"><br></font></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-08-07 17:11 GMT+03:00 Luke Kenneth Casson Leighton <span dir="ltr"><<a href="mailto:lkcl@lkcl.net" target="_blank">lkcl@lkcl.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Thu, Aug 7, 2014 at 3:00 PM, krasi gichev <<a href="mailto:krasimirr@gmail.com">krasimirr@gmail.com</a>> wrote:<br>
> Firmware update of newer STM32s could be done over USB too - you don't need<br>
> separate UART for this. Just wire BOOT pin (pins) to GPIO(s) from EOMA to<br>
> allow entering firmware update mode (DFU over USB).<br>
> 64pin seems an overkill<br>
<br>
</div> ... until you realise that there are around 32 GPIOs needed and<br>
around 10 ADCs, then you have I2C, SPI, UART and others, it ends up at<br>
quite a lot of pins.<br>
<div class=""><br>
>- there a lot of other package options, e.g. 48pin<br>
> QFN, not to mention the BGA variants. Also, F103 is quite old one, probably<br>
> the price might be good, but I would recommend some of newer ones (Cortex-M0<br>
> even) - look at F0, F2, F3 series. A good option could be this: STM32F071CB,<br>
> the price goes below $2.50 for 100pcs, and it seems to have all you need -<br>
> <a href="http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1574/LN7/PF259662" target="_blank">http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1574/LN7/PF259662</a><br>
<br>
</div> oo. it doesn't have USB, but it does have SPI, so apart from being a<br>
slight pain (having to write a custom linux kernel driver) it would be<br>
okay.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> SiLabs "Precision 32" are also nice ones - very well balanced peripherals<br>
> and packages (e.g. QFN40, SiM3U154), built in regulator from 5V (if needed).<br>
> But the price is higher.<br>
><br>
><br>
> 2014-08-07 12:07 GMT+03:00 Miguel Garcia <<a href="mailto:gacuest@gmail.com">gacuest@gmail.com</a>>:<br>
><br>
>> 2014-08-07 10:13 GMT+02:00 Luke Kenneth Casson Leighton <<a href="mailto:lkcl@lkcl.net">lkcl@lkcl.net</a>>:<br>
>> > blegh - and you need 2 of them _and_ 2 analog ICs as well. that's<br>
>> > starting to make the STM32F103 (64-pin variant) look attractive. and<br>
>> > i know you can get that at around the $2.50 mark in 10k volumes.<br>
>> ><br>
>> > *sigh* ok do you really need that USB Flash thing? because of a) the<br>
>> > cost (at least $4.50) b) the number of ICs (4) it's starting to tip in<br>
>> > favour of the STM32F again, i get the feeling you'd be better off<br>
>> > wiring up the STM32F as a USB 1.1 device. you'll also need to wire up<br>
>> > the UART to the EOMA68 interface and a couple of other pins to put it<br>
>> > into "firmware upload" mode, but that's ok.<br>
>> ><br>
>> > the advantage there is that i have some GPL'd KiCAD designs with<br>
>> > STM32F already in them (or have found some out there when i last<br>
>> > checked).<br>
>><br>
>> Yes, the USB flash drive can be removed.<br>
>><br>
>> I think Daniel also prefers a microcontroller.<br>
>><br>
>> 2014-08-06 14:18 GMT+02:00 Luke Kenneth Casson Leighton <<a href="mailto:lkcl@lkcl.net">lkcl@lkcl.net</a>>:<br>
>> > * one GPIO IC IN pin is needed for MicroSD "detect"<br>
>> > * digital GPIO IC OUT pin needed for power-up of LCD<br>
>> > * accelerometer IRQ goes to digital GPIO IC IN<br>
>> > * digital GPIO IC IN pin connects to IRQ-OUT of AXP209<br>
>> > * digital GPIO IC IN pin connects to Headphone-detect (in case you<br>
>> > want to alter volume on headphone-out)<br>
>><br>
>> So, do we connect all this to STM32F? Or do we have to add the STM32F<br>
>> and the digital GPIO IC?<br>
>><br>
>> Thanks.<br>
>><br>
>> _______________________________________________<br>
>> arm-netbook mailing list <a href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
>> <a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
>> Send large attachments to <a href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> arm-netbook mailing list <a href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
> <a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
> Send large attachments to <a href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
<br>
_______________________________________________<br>
arm-netbook mailing list <a href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
<a href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook" target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
Send large attachments to <a href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a></div></div></blockquote></div><br></div>