поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN2737 датащи(PDF) 12 Page - STMicroelectronics

номер детали AN2737
подробное описание детали  Basic in-application programming example
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2737 датащи(HTML) 12 Page - STMicroelectronics

Back Button AN2737 Datasheet HTML 8Page - STMicroelectronics AN2737 Datasheet HTML 9Page - STMicroelectronics AN2737 Datasheet HTML 10Page - STMicroelectronics AN2737 Datasheet HTML 11Page - STMicroelectronics AN2737 Datasheet HTML 12Page - STMicroelectronics AN2737 Datasheet HTML 13Page - STMicroelectronics AN2737 Datasheet HTML 14Page - STMicroelectronics AN2737 Datasheet HTML 15Page - STMicroelectronics AN2737 Datasheet HTML 16Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 12 / 16 page
background image
IAP example with SPI
AN2737
12/16
support the status register management. Consequently, it is not possible to read or write the
status register.
2.3
Read and write commands
The current example has been validated at 4 MHz for read and write operations. The
firmware allows reading or writing in the Flash program memory and data EEPROM of the
STM8 from address 8000h—027FFFh and 4000h—47FFh respectively.
Before starting, the firmware example must be loaded with STVD in the STM8 device and
executed using the run command. The evaluation board LCD displays a welcome message
‘STM8 IAP-SPI Demo’. No more messages are displayed during firmware execution.
2.3.1
Packet description
The different packets composing an SPI command are:
1.
OPC-READ: Opcode (03h) that requests a read.
2.
OPC-WREN: Opcode (06h) that enables the write function.
3.
OPC-WRT: Opcode (02h) that requests a write after a rising NSS signal.
4.
ADD: Physical address of the memory which is used to start a read or write operation.
5.
DATA-R: Number of data to be read. It is used only for clocking (commonly these bytes
have a value of 00h).
6.
DATA-W: Data to be programmed into the Flash program memory or data EEPROM.
2.3.2
Read command
The read command allows data from the Flash program memory of the STM8 to be read,
starting from any Flash addressing range.
The packet sequence to achieve a ‘read’ with the Aardvark software and the STM8 SPI is
summarized in Figure 10. During this sequence, the NSS signal is set to GND by the
master.
Figure 10.
Read packet sequence
OPC-READ
ADD
DATA-R
00h
Flash program memory data read
MOSI line
MISO line
00h



Html Pages

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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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