upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 420

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
16.7.8 Contents of RAM parameters
parameters to be input. Set the base addresses of these parameters to ep (r30).
420
ep+0
ep+4:Bit 0
ep+4:Bit 5
ep+4:Bit 7
ep+8
ep+0xC
ep+0x10
ep+0x12
ep+0x14
Reserve the following 48-byte area in the internal RAM or external RAM for the RAM parameters, and set the
Notes 1.
Caution Be sure to reserve the RAM parameter area at a 4-byte boundary.
Address
2.
3.
4.
5.
Note 1
Note 2
Notes 3, 4
Bit 0 of the address of ep+4 (least significant bit is bit 0.)
5th bit of address of ep+4 (least significant bit is bit 0.)
7th bit of address of ep+4 (least significant bit is bit 0.)
Clear the NMI flag by the user program because it is not cleared by the device internal processing.
The device internal processing sets this value minus 1 to the timer. Because the fraction is rounded up,
add 1 as indicated by the expression of the set value.
4 bytes
1 bit
1 bit
1 bit
4 bytes
4 bytes
2 bytes
2 bytes
12 bytes
Size
Input
Input
Output
Input
Input
Input
Input
I/O
Table 16-12. Description of RAM Parameter
For internal operations
Internal flag
Operation flag (Be sure to set this flag to 1 before calling the device internal processing.)
NMI flag
Step erase time (unsigned 4 bytes)
Expressed as 1 count value in units of the internal operation unit time (100
Example: If erase time is 0.2 s
Write back time (unsigned 4 bytes)
Expressed as 1 count value in units of the internal operation unit time (100
Example: If write back time is 1 ms
Timer set value for creating internal operation unit time (unsigned 2 bytes)
Write a set value that makes the value of 16-bit timer 0 the internal operation unit time
(100
Example: If the operating frequency is 20 MHz
Timer set value for creating write time (unsigned 2 bytes)
Write a set value that makes the value of 16-bit timer 0 the write time.
Example: If the operating frequency is 20 MHz and the write time is 20
For internal operations
0: Always set to 0
1: Setting prohibited
0: Normal operation in progress
1: Self-programming in progress
0: NMI not detected
1: NMI detected
Set value = Erase time (
Set value = Write back time (
Set value = Operating frequency (Hz)/1,000,000 × Internal operation unit time (
Timer division ratio (2) + 1
Set value = Operating frequency (Hz)/Write time (
µ
s).
CHAPTER 16 FLASH MEMORY
User’s Manual U12768EJ4V1UD
→ 0.2 × 1,000,000/100 = 2,000 (integer operation)
→ 1 × 1,000/100 = 10 (integer operation)
→ 20,000,000/1,000,000 × 100/2 + 1 = 1,001 (integer operation)
→ 20,000,000/1,000,000 × 20/2 + 1 = 201 (integer operation)
µ
s)/internal operation unit time (
Note 5
µ
s)/internal operation unit time (
Description
µ
s)/Timer division ratio (2) + 1
µ
s)
µ
s)
µ
s
µ
µ
s).
s).
µ
Note 5
s)/

Related parts for upd70f3017ay