随笔分类 -  STM32

摘要:;/******************** (C) COPYRIGHT 2015 STMicroelectronics ********************;* File Name : startup_stm32f4xx.s;* Author : MC... 阅读全文
posted @ 2015-07-30 19:53 IAmAProgrammer 编辑
摘要:;******************** (C) COPYRIGHT 2014 STMicroelectronics *******************;* File Name : startup_stm32f1xx.s;* Author : MCD ... 阅读全文
posted @ 2015-07-30 18:15 IAmAProgrammer 编辑
摘要:http://stm32f4-discovery.com/2015/01/properly-set-clock-speed-stm32f4xx-devices/I see that you have problems with your devices when you don’t know eve... 阅读全文
posted @ 2015-07-29 16:48 IAmAProgrammer 编辑
摘要:http://stm32f4-discovery.com/2014/11/overclock-stm32f4-device-up-to-250mhz/Let’s test what STM32F4xx devices can do.I have all “4 speedfamilies” at ho... 阅读全文
posted @ 2015-07-29 16:43 IAmAProgrammer 编辑
摘要:because the SysTick ISR has been assigned to the FreeRTOSxPortSysTickHandler() function without regard to HAL operations.I think this can be corrected... 阅读全文
posted @ 2015-07-29 00:24 IAmAProgrammer 编辑
摘要:http://bbs.elecfans.com/jishu_464356_1_1.html手上有块NUCLEO STM32L053x板子,用来做串口实验,看了下ST的最新库HAL驱动,于是想用HAL驱动来做串口。使用过程中发现只能发送数据不能接收数据,用逻辑分析仪查看RX,TX引角,都有数据,但就是... 阅读全文
posted @ 2015-07-28 18:32 IAmAProgrammer 编辑
摘要:功能强大的STM32Cube 新软件平台由设计工具、中间件和硬件抽象层组成,让客户能够集中精力创新意法半导体(STMicroelectronics,简称ST)针对STM32微控制器推出一套免费的功能强大的设计工具及软件STM32Cube。新开发平台可简化客户的开发项目,缩短项目研发周期,并进一步强化... 阅读全文
posted @ 2015-07-28 18:16 IAmAProgrammer 编辑
摘要:The baud rate for the receiver and transmitter (Rx and Tx) are both set to the same valueasprogrammed in the Mantissa and Fraction values of USARTDIV.... 阅读全文
posted @ 2015-07-12 23:32 IAmAProgrammer 编辑
摘要:AN4187 - Using the CRC peripheral in the STM32 familyAt start up, the algorithm sets CRC to the Initial_Crc XOR with the Input_Data.Once CRC MSB is eq... 阅读全文
posted @ 2015-06-29 00:14 IAmAProgrammer 编辑
摘要:Everyone knows that STM32F1xx, STM32F2xx, STM32F4xx have a hardware unit with a polynomial CRC32 0x04C11DB7.And he, in general, work.But only a checks... 阅读全文
posted @ 2015-06-27 23:07 IAmAProgrammer 编辑
摘要:// STM32 CRC32 Test App - sourcer32@gmail.com#include #include DWORD Crc32( DWORD Crc, DWORD Data ){ int i; Crc = Crc ^ Data; for ( i = 0; i > ... 阅读全文
posted @ 2015-06-27 13:09 IAmAProgrammer 编辑
摘要:uint32_t reverse_32( uint32_t data ){ asm("rbit r0,r0"); return data;};uint32_t crc32_ether( char *buf, int len, int clear ){ uint32_t *p = (uint32... 阅读全文
posted @ 2015-06-27 13:06 IAmAProgrammer 编辑
摘要:http://supp.iar.com/Support/?note=64424&from=note+11927BackgroundThe STM32 devices from ST Micro have a built-in hardware CRC32 calculator. (So using ... 阅读全文
posted @ 2015-06-27 12:41 IAmAProgrammer 编辑
摘要:对于STM32的32位CRC,如果假定它的一个主要目的是为了校验往内部FLASH存储数据的可靠性,那么(余数)初值是全1当然是比较合理的。由于STM32的32位CRC是纯32位,即每次必须输入32位的数,所以如果数据不到32位,应该往低位用1来填充比较合理;另外,如果输入数据是 "1234"-0x3... 阅读全文
posted @ 2015-06-27 12:36 IAmAProgrammer 编辑
摘要:OTG_FS general core configuration register (OTG_FS_GCCFG)Bit 21 NOVBUSSENS: VBUS sensing disable optionWhen this bit is set, VBUS is considered intern... 阅读全文
posted @ 2015-03-13 08:53 IAmAProgrammer 编辑
摘要:DFU Class RequestsGet StatusThe Host employs the DFU_GETSTATUS request to facilitate synchronization with the device. This status gives information on... 阅读全文
posted @ 2014-07-01 10:16 IAmAProgrammer 编辑
摘要:system_stm32f2xx.c#ifdef VECT_TAB_SRAM SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */#else SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */#endif extern unsigned int __vector_table; SCB->VTOR = (unsigned int 阅读全文
posted @ 2014-02-25 19:40 IAmAProgrammer 编辑
摘要:当TAMPER引脚上的信号从0变成1或者从1变成0(取决于备份控制寄存器BKP_CR的TPAL位),会产生一个侵入检测事件。侵入检测事件将所有数据备份寄存器内容清除。然而为了避免丢失侵入事件,侵入检测信号是边沿检测的信号与侵入检测允许位的逻辑与,从而在侵入检测引脚被允许前发生的侵入事件也可以被检测到。●当TPAL=0时:如果在启动侵入检测TAMPER引脚前(通过设置TPE位)该引脚已经为高电平,一旦启动侵入检测功能,则会产生一个额外的侵入事件(尽管在TPE位置1后并没有出现上升沿)。●当TPAL=1时:如果在启动侵入检测引脚TAMPER前(通过设置TPE位)该引脚已经为低电平,一旦启动侵入检测 阅读全文
posted @ 2014-02-16 21:41 IAmAProgrammer 编辑
摘要:www.stmcu.org/download/index.php?act=down&id=5264IntroductionThe purpose of this application note is to give a presentation of the CCM RAM available onSTM32F303xB/xC and STM32F313xC microcontrollers and describe what is required toexecute part of the application code from this memory region usin 阅读全文
posted @ 2014-01-29 08:33 IAmAProgrammer 编辑
摘要:/* 读取stm32的unique id 与 flash size*//* func: unsigned int Read_UniqueID_Byte(unsigned char offset) desc: This function is used to read the unique ID in flash. parameter offset is the byte offset ,the max is 96/8= 12. return: the return value is indicated part of the unique ID.*/unsigned cha... 阅读全文
posted @ 2013-10-24 20:46 IAmAProgrammer 编辑

点击右上角即可分享
微信分享提示