| 数据搜索系统,热门电子元器件搜索 |
|
HT83F40P 数据表(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83F40P 数据表(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 61 page ![]() HT83FXX Rev. 1.00 17 May 12, 2009 WRITE The ²WRITE² instruction is used to write a page byte of data into the Flash Data Memory. To instigate a WRITE instruction, the CS bit should be set low, then the in- struction code ²02², all transmitted via the SI bit. For this device, The address information should then follow with the MSB bit being transmitted first. After the last address bit, A0, has been transmitted, the data can be immedi- ately transmitted MSB first. After all the WRITE instruc- tion code, address and data have been transmitted, the data will be written into the Flash Data Memory when the CS bit is set to high. The Flash Data Memory does this by executing an internal write-cycle, which will first erase and then write the previously transmitted data byte into the Flash Data Memory. This process takes place internally using the Flash Data Memory ¢s own in- ternal clock and does not require any action from the SCK clock. No further instructions can be accepted by the Flash Data Memory until this internal write-cycle has finished. ERAL The ²ERAL² instruction is used to erase the whole con- tents of the Flash Data Memory. After it has been exe- cuted all the data in the Flash Data Memory will be set to ²1². To instigate this instruction, the CSB bit should be set low. The instruction code ²20². Following on from this, a ²20² should then be transmitted. After the ²ERAL² instruction code has been transmitted, the Flash Data Memory data will be erased when the CS bit is set to high. The Flash Data Memory does this by executing an inter- nal write-cycle. This process takes place internally using the Flash Data Memory ¢s own internal clock and does not require any action from the SCK clock. No further in- structions can be accepted by the Flash Data Memory until this internal write-cycle has finished. To determine when the write Instruction Function Instruction Code Address Data READ Read Out Data 03 A23~A0 D7~D0 WRITE Write Data Page Byte 02 A23~A0 D7~D0 ERAL Erase All 20 A23~A0 ¾ Instruction Set Summary In Circuit Programming The provision of Flash type Data Memory gives the user and designer the convenience of easy upgrades and modifications to their Data on the same device. As an additional convenience, Holtek has provided a means of programming the microcontroller in-circuit. This pro- vides manufacturers with the possibility of manufactur- ing their circuit boards complete with a programmed or un-programmed microcontroller, and then programming or upgrading the program at a later stage. This enables product manufacturers to easily keep their manufac- tured products supplied with the latest data releases without removal and re-insertion of the device. Pin Name Function SI Serial data input SO Serial data output SCK Serial clock CS Signal Select VDD Power supply VSS Ground The Data Memory can be programmed serially in-circuit using a 8-wire interface. Data is downloaded and up- loaded serially on two SI/SO pins with an additional line for the clock. Two additional lines are required for the power supply and one line for the select signal. The technical details regarding the in-circuit programming of the devices are beyond the scope of this document and will be supplied in supplementary literature. D a t a I n C l o c k E r r o P r o o f S i g n a l S e l e c t D a t a O u t P o w e r G r o u n d R e s e t S O C L K N C C S S I V D D V S S R e s e t C o n n e c t o r In-circuit Programming Interface |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |