công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

STM8AL318A bảng dữ liệu(PDF) 9 Page - STMicroelectronics

tên linh kiện STM8AL318A
Giải thích chi tiết về linh kiện  device limitations
Download  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8AL318A bảng dữ liệu(HTML) 9 Page - STMicroelectronics

Back Button STM8AL318A Datasheet HTML 5Page - STMicroelectronics STM8AL318A Datasheet HTML 6Page - STMicroelectronics STM8AL318A Datasheet HTML 7Page - STMicroelectronics STM8AL318A Datasheet HTML 8Page - STMicroelectronics STM8AL318A Datasheet HTML 9Page - STMicroelectronics STM8AL318A Datasheet HTML 10Page - STMicroelectronics STM8AL318A Datasheet HTML 11Page - STMicroelectronics STM8AL318A Datasheet HTML 12Page - STMicroelectronics STM8AL318A Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 18 page
background image
DocID17922 Rev 6
9/18
STM8AL3xxx STM8L052R8 STM8L1xxx6/8
Silicon limitations
17
Workaround 3
This workaround can be used if block erase cannot be replaced by block programming.
In this workaround, DMA is used to transfer data to the EEPROM instead of the core. All
other DMA transfers are delayed once the core is stalled due to data transfer to memory
controller.
/* start of the workaround in user code, using FW Library */
#ifdef USE_EVENT_MODE
DMA1_Channel3->CCR= DMA_CCR_MEM | DMA_CCR_IDM | DMA_CCR_TCIE;
/*
Config DMA Chn3 Mem, incr, disable, interrupt) */
#else
DMA1_Channel3->CCR= DMA_CCR_MEM | DMA_CCR_IDM;
/* Config DMA
Chn3 (Mem, incr,disable) */
#endif
DMA1_Channel3->CM0ARH= (uint8_t)0;
/* Source address */
DMA1_Channel3->CM0ARL= (uint8_t)0;
DMA1_Channel3->CPARH= (uint8_t)(addr_begin >> 8); /* Destination
address */
DMA1_Channel3->CPARL= (uint8_t)(addr_begin);
DMA1_Channel3->CNBTR= 2; /* Number of data to be transferred */
DMA1_Channel3->CSPR= 8; /* Low priority, 16 bit mode */
DMA1_Channel3->CSPR &= ~DMA_CSPR_TCIF;/* Clear TCIF */
DMA1->GCSR|= 1; /* Global DMA enable */
#ifdef USE_EVENT_MODE
WFE->CR3 = WFE_CR3_DMA1CH23_EV; /* Enable event generation on
DMA */
#endif
FLASH->DUKR = 0xAE; /* Unprotect data memory */
FLASH->DUKR = 0x56;
while((FLASH->IAPSR & FLASH_IAPSR_DUL) == 0)
{} /* Polling DUL */
FLASH_Block_Load();
/* end of the workaround in user code */
/* following routine has to be placed in the RAM */
void FLASH_Block_Load(){
__asm("sim\n"); /* Disable interrupts */
FLASH->CR2 |= FLASH_CR2_ERASE; /* Enable erase block mode */
DMA1_Channel3->CCR|= DMA_CCR_CE; /* Enable DMA MEM transfer */
#ifdef USE_EVENT_MODE
__asm("wfe"); /* Wait for end of DMA operation */
#else
while((DMA1_Channel3->CSPR & DMA_CSPR_TCIF) == 0)
{} /* Polling for end of DMA operation */
#endif
__asm("rim\n"); /* Enable interrupts */
}


Số phần tương tự - STM8AL318A

nhà sản xuấttên linh kiệnbảng dữ liệuGiải thích chi tiết về linh kiện
logo
STMicroelectronics
STM8AL318X STMICROELECTRONICS-STM8AL318X Datasheet
2Mb / 131P
   Automotive 8-bit ultra-low-power MCU, 64 Kbyte Flash, RTC, LCD, data EEPROM, timers, USARTs, I2C, SPIs, ADC, DAC, COMPs
More results

Mô tả tương tự - STM8AL318A

nhà sản xuấttên linh kiệnbảng dữ liệuGiải thích chi tiết về linh kiện
logo
STMicroelectronics
STM8S207MB STMICROELECTRONICS-STM8S207MB Datasheet
84Kb / 8P
   STM8S performance line revision X device limitations
STEVAL-TSP001V1 STMICROELECTRONICS-STEVAL-TSP001V1 Datasheet
94Kb / 4P
   Respects source limitations
August 2008 Rev 1
logo
Burr-Brown (TI)
AB-039 BURR-BROWN-AB-039 Datasheet
52Kb / 6P
   POWER AMPLIFIER STRESS AND POWER HANDLING LIMITATIONS
logo
THOR communications
F-HDMI THOR-F-HDMI Datasheet
952Kb / 1P
   Thor F-HDMI-SMSC fiber extenders eliminate the limitations of traditional multimode or CAT5 HDMI extenders.
logo
National Semiconductor ...
DP83231 NSC-DP83231 Datasheet
209Kb / 16P
   CRD Device (FDDI Clock Recovery Device)
DP83241 NSC-DP83241 Datasheet
258Kb / 20P
   CDD Device (FDDI Clock Distribution Device)
logo
STMicroelectronics
ESDAVLC6-1BV2 STMICROELECTRONICS-ESDAVLC6-1BV2 Datasheet
129Kb / 9P
   Bidirectional device
logo
TriQuint Semiconductor
TQ8223 TRIQUINT-TQ8223 Datasheet
580Kb / 5P
   Device Qualification
logo
List of Unclassifed Man...
SL7-AP24-M ETC2-SL7-AP24-M Datasheet
426Kb / 3P
   Acoustic device,
logo
Texas Instruments
OMAP4460 TI1-OMAP4460 Datasheet
7Mb / 444P
[Old version datasheet]   Multimedia Device
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


bảng dữ liệu tải về

Go To PDF Page


Link URL




Chính sách bảo mật
ALLDATASHEET.VN
Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com