針對(duì)嵌入式產(chǎn)品程序更新問題,提出了一種基于IAP技術(shù)的STM32單片機(jī)在線固件升級(jí)方案,設(shè)計(jì)了STM32單片機(jī)最小系統(tǒng)硬件電路和USB轉(zhuǎn)串口通信電路,并給出了Bootloader程序、APP程序、PC上機(jī)程序的實(shí)現(xiàn)流程.實(shí)驗(yàn)結(jié)果表明,該方案具有簡(jiǎn)單實(shí)用、穩(wěn)定性高、維護(hù)成本低和設(shè)備使用效率高的特點(diǎn),適用于嵌入式產(chǎn)品升級(jí).For the problem of updating embedded products program,an online firmware upgrade scheme of STM32 single chip microcomputer based on IAP technology is proposed.This scheme not only elaborates the principle of IAP technology in detail but also provides the design of the minimum system hardware circuit of STM32 MCU,the design of USB for serial communication circuit,and the implementation flow of Bootloader program,APP program and PC program.The experiment results show that the scheme is simple,practical and highly stable.In addition,it can be used to actual embedded product upgrading,significantly reducing maintenance costs and improving the efficiency of equipment.
標(biāo)簽:
iap
stm32
單片機(jī)
上傳時(shí)間:
2022-03-25
上傳用戶:
電學(xué)中的測(cè)量技術(shù)涉及范圍非常廣,電流測(cè)量在電學(xué)計(jì)量中占有非常重要的位置。如何精確地進(jìn)行電流測(cè)量是精密測(cè)量的一大難題。傳統(tǒng)的電流檢測(cè)電路多采用運(yùn)算放大芯片與片外電流檢測(cè)電路相結(jié)合的方式,電路集成度很低,需要較多的接口和資源才能完成對(duì)電路的檢測(cè)。本文把所有電路部分都集成在一塊芯片上,包括檢測(cè)電阻,運(yùn)算放大器電路及模擬轉(zhuǎn)數(shù)字轉(zhuǎn)換電路,從而在電路內(nèi)部可以進(jìn)行電流檢測(cè),使電路更好的集成化。前置電路使用二級(jí)共源共柵結(jié)構(gòu)的運(yùn)算放大器,減小溝道長(zhǎng)度調(diào)制效應(yīng)造成的電流誤差。10位SAR ADC中采用電容驅(qū)動(dòng)能力強(qiáng)的傳輸門保證了模數(shù)轉(zhuǎn)化器的有效精度。比較器模塊采用再生鎖存器與遲滯比較器作為基礎(chǔ)單元組合解決精密測(cè)量的問題。本設(shè)計(jì)可以作為嵌入芯片內(nèi)的一小部分而檢測(cè)芯片中的微小電流1mA~100mA,工作電壓在1.8v左右,電流檢測(cè)精度預(yù)期達(dá)到10uA的需求。The measurement technology in electricity involves a wide range,and current measurement plays a very important position in electrical measurement.How to accurately measure current is a big problem in precision measurement. The traditional current detecting circuit adopts the combination of the operational amplifier chip and theoff-chip current detecting circuit, The circuit integration is very low, and more interfaces and resources are needed tocomplete the circuit detection.This topic integrates all the circuit parts into one chip, including detection resistance, operational amplifier circuit andanalog to digital conversion circuit. highly integrated circuit makes the external resources on the chip more intensive,so that current detection can be carried out inside the circuit, so that the circuit can be better integrated. Thefront-end circuit of this project uses two-stage cascade operational amplifier and cascade tube to reduce the currenterror caused by channel length modulation effect. In 10-bit SAR ADC, the transmission gate with strong capacitivedriving ability ensures the effective accuracy of the analog-to-digital converter. Comparator module uses regenerativelatch and hysteresis comparator as basic unit to solve the difficult problem of precision measurement. This topic can beused as a small part of the embedded chip to detect the micro-current in the chip 1 mA~100 mA, the working voltageis about 1.8v, and the current detection accuracy is expected to reach the requirement of 10 uA.
標(biāo)簽:
電流檢測(cè)
電路
運(yùn)算放大器
adc
上傳時(shí)間:
2022-04-03
上傳用戶:
S32K1xx Series Reference Manual 用戶手冊(cè)--2029頁 Supports S32K116, S32K118, S32K142, S32K144, S32K146, and S32K148S32K是一款符合AEC-Q100規(guī)范、基于32位ARM Cortex-M4F和Cortex-M0+內(nèi)核的MCU,適用于通用汽車和高可靠性工業(yè)應(yīng)用。The S32K1xx product series further extends the highly scalable portfolio of Arm? Cortex?-M0+/M4F MCUs in the automotive industry. It builds on the legacy of the KEA series, while introducing higher memory options alongside a richer peripheral set extending capability into a variety of automotive applications. With a 2.70–5.5 V supply and focus on automotive environment robustness, the S32K product series devices are well suited to a wide range of applications in electrically harsh environments, and are optimized for cost-sensitive applications offering low pin-count options. The S32K product series offers a broad range of memory, peripherals, and package options. It shares common peripherals and pin counts, allowing developers to migrate easily within an MCU family or among the MCU families to take advantage of more memory or feature integration. This scalability allows developers to use the S32K product series as the standard for their end product platforms, maximizing hardware and software reuse and reducing time to market
標(biāo)簽:
S32K116
S32K118
S32K142
S32K144
上傳時(shí)間:
2022-04-16
上傳用戶:jason_vip1