| Electronic Components Datasheet Search |
|
AN2737 Datasheet(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2737 Datasheet(HTML) 5 Page - STMicroelectronics |
|
5 / 16 page ![]() AN2737 IAP example with I2C 5/16 1.3.2 Current read command The current read command allows data from the Flash program memory of the STM8 to be read, starting from the current address. This address is set to 4000h after a firmware reset. The packet sequence to achieve a ‘current read’ is summarized in Figure 2. Figure 2. Current read packet sequence The following points explain how to read different bytes using the Aardvark software, starting from the reset address (4000h): 1. Select the master tabsheet. 2. Set the bitrate to 100 kHz or 400 kHz using the ‘bitrate’ field and the ‘set’ button. 3. Set the slave address to 51h (corresponding to the firmware address A2h) in the slave address field. 4. Uncheck the ‘10-bit addressing mode’ option because the firmware uses 7-bit addressing mode only. 5. Uncheck the ‘no stop’ option. 6. Enter the number of bytes to be read in the ‘number of bytes’ field. A value from 1 to 255 can be entered. 7. Press the ‘master read’ button. 8. The number of bytes to be read can be changed by pressing the master read button again. The read values are displayed in the transaction log window of the Aardvark software. At the end of this command, the LCD displays the message ‘reading done’. Figure 3 illustrates points 1 to 8 of a current read command. START ADD SLV DEVICE-R ACK-S Bytes read from STM8 STOP ACK-M ACKF |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |