完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
大家好,
我在STM32F4外设方面有很好的经验,但我是ST 8位系列的新手,所以我希望您的反馈和帮助能够以更低的成本匹配好的MCU,并且可以匹配这些功能: - 3.3V操作 - 高速或中速的USB数据传输(成本优先),大容量存储声明(也是新的)以及USB的固件闪存功能:是否有任何我可以为此目的开始的库/示例? - 带有DMA的SPI上的2个外设:1x用于外设读操作(20 MHz),1个用于 SDr/ w:以连续最小112 Kb / s写入且可靠,但896 Kb / s能够完美。我打算用Fats fs库来做。也许我需要2个DMA呢? 由于RAM的使用,这一点至关重要......我只是不知道它是否可能在8位MCU上......实际上我只需要在SPI上读取数据,将其保存在某处(最大2Gb)。在另一种模式下,通过USB将数据传输到PC。 - 1x i2c,400 kHz(中断模式或DMA + int)。 - 待机模式,低功耗(超低优先但不严格)。 - 1x 16位定时器,一些EXtiO ...... - 几个eeprom ...... 您如何看待这一要求? 8位系列有可能吗? 提前感谢您的回答 #USB-SD-SPI-DMA 以上来自于谷歌翻译 以下为原文 Hi all, I had good experiences on STM32F4 peripherals, but I'm new to ST 8 bits family, so I'd like your feedback and help to match a good MCU at lower cost possible, and that could match that features : - 3.3V operations - USB data transfer at High or moderate speed (cost first), with a mass storage declaration (new to that too), and with firmware flashing capability by USB : is there any library/example I can start with for that purpose ? - 2 peripherals on SPI with DMA : 1x for a peripheral read operation (20 MHz capable), and one for �SD r/w : write at continuous minimum 112 Kb/s with reliability, but 896 Kb/s capable would be perfect. I planned to do it with Fats fs library. Perhaps I will need 2 DMA for that ? That point is critical because of the RAM usage... I just don't know if it's possible on an 8 bits MCU... In fact I just need to read datas on SPI, save it somewhere (with 2Gb max)... And in another mode, transfer that datas to PC via USB. - 1x i2c at 400 kHz (interrupt mode or DMA+int). - Standby mode with low power (ultra low prefered but not critical). - 1x 16 bits Timer, a few EXTIO... - a few eeprom... What do you think about this requirements ? Is it possible with 8 bits family ? Thanks in advance for your answers #u***-sd-spi-dma |
|
相关推荐
5个回答
|
|
你好stephane!
您的问题的答案是否定的,因为没有原生支持USB的STM8微控制器。 如果您放弃USB链接,可能会有一个适合您需求的部分。 问候 EtaPhi 以上来自于谷歌翻译 以下为原文 Hello stephane! The answer to your question is NO, because there is no STM8 microcontroller that natively supports USB. If you give up to USB links, there may be a part that suits your needs. Regards EtaPhi |
|
|
|
谢谢你的回答EtaPhi,
好吧,我需要USB,所以我得看看STM32 ......我很害怕。 但我很想知道高端STM8和低价STM32之间的成本差距......能不能给我们参考? Tx再次;) 以上来自于谷歌翻译 以下为原文 Thanks for your answer EtaPhi, Well, I will need USB, so I have to take a look at STM32... I'm afraid of. But I'm curious to see the cost gap between High end STM8 and Low prices STM32... Could you please give us the reference ? Tx again ;) |
|
|
|
嗯,我在ST网站上找到的最便宜的STM32是每个售价为0.45美元,如果你购买10k零件。
在STM8方面,一个类似的功能部件是,如果你购买10k零件,它每个花费0.385美元。 如你所见,价格差异很小...... 以上来自于谷歌翻译 以下为原文 Well, the cheapest STM32 I can find on ST site is and it costs 0.425 dollars each if you buy 10k parts. On the STM8 side, a similar feature part is and it costs 0.385 dollars each if you buy 10k parts. As you see, the price difference is small... |
|
|
|
这是一个有趣的观点,
我看一下STM32的参考资料,我相信http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1295/LN962/PF252049 对我来说可能是一个很好的候选人。它可能是支持USB I的最低成本MCU吗? 如果我使用SDIO代替SPI,我将为SPI操作所需的额外RAM节省资金。 但是这个MCU似乎通过USART支持引导加载程序,而不是USB。 那么是否可以上传到SD卡,然后通过USB闪存程序而不是实时闪存? 我可能要创建另一个线程! 以上来自于谷歌翻译 以下为原文 That's an interesting point, I take a look at STM32 references and I believe http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1295/LN962/PF252049 could be a good candidate for me. It may be the lowest cost MCU that supports USB I presume ? If I use SDIO instead SPI, I will save money for the extra RAM needed for SPI operations. But this MCU appears to support bootloader via USART, not USB. So is it possible to upload to SD card, and then flash the program instead of live flashing via USB ? I will probably have to create another thread ! |
|
|
|
8位的比较少的支持USB的,所以不好找
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2704 浏览 1 评论
3234 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1804 浏览 1 评论
3641 浏览 6 评论
6027 浏览 21 评论
1329浏览 4评论
201浏览 3评论
192浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
340浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
435浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-15 12:47 , Processed in 1.087306 second(s), Total 53, Slave 47 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号