Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

HD6417618 Datasheet(PDF) 343 Page - Renesas Technology Corp

Part # HD6417618
Description  32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7618 Series
PDF  646 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

HD6417618 Datasheet(HTML) 343 Page - Renesas Technology Corp

Back Button HD6417618 Datasheet HTML 339Page - Renesas Technology Corp HD6417618 Datasheet HTML 340Page - Renesas Technology Corp HD6417618 Datasheet HTML 341Page - Renesas Technology Corp HD6417618 Datasheet HTML 342Page - Renesas Technology Corp HD6417618 Datasheet HTML 343Page - Renesas Technology Corp HD6417618 Datasheet HTML 344Page - Renesas Technology Corp HD6417618 Datasheet HTML 345Page - Renesas Technology Corp HD6417618 Datasheet HTML 346Page - Renesas Technology Corp HD6417618 Datasheet HTML 347Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 343 / 646 page
background image
Section 12 Ethernet Controller Direct Memory Access Controller (E-DMAC)
Rev. 6.00 Jun. 12, 2007 Page 311 of 610
REJ09B0131-0600
(3)
Countermeasure for the case of TC interrupt-driven software
The sample countermeasure for the case of TC interrupt-driven software shown below is the
addition of timeout processing within the limit imposed by the maximum specified time. This is
based on the method explained in (b) Countermeasure by adding timeout processing in section
12.4.1, Usage Notes on SH-Ether EtherC/E-DMAC Status Register (EESR).
The maximum specified time should be set with reference to the maximum times in consideration
of retry processing (table 12.2). From this maximum specified time, determine n, the number of
calls of the OS service routine with a timeout function.
(b) Countermeasure as the addition of timeout processing within the limit imposed by the
maximum specified time
1. Prepare multiple transmit descriptors so that multiple frames can be transmitted.
2. After setting the transmit descriptors, start transmission by setting bit 0 (TR) in the E-DMAC
transmit request register (EDTRR).
3. Before setting the next frame for transmission in the transmit descriptor (when a transmission
task arises), check the TACT bit in the transmit descriptor.
4. If the TACT bit is clear, set the frame for transmission in the corresponding transmit descriptor
and start transmission by setting the TR bit in EDTRR. If the TACT bit is set to 1, set counter i
to 0 (counter i is the variable that indicates the number of calls of the OS service routine with a
timeout function). Then, place the transmission task in a waiting state by calling the OS routine
(e.g. acquire a semaphore that has a timeout limit).
Note:
Before setting the TR bit in EDTRR, always read the TR bit and make sure that TR = 0.
5. When the transmission task has left the waiting state and entered the execution state within the
specified constant period, set the frame for transmission in the corresponding transmit
descriptor and then set the TR bit in EDTRR to start transmission. The transmission task
should be taken out of the waiting state by the interrupt handler initiated by generation of the
TC interrupt.
6. If the transmission task has not left the waiting state within the specified constant period,
increment counter i. Then, if i < n, check the TACT bit in the corresponding transmit
descriptor. The value for counting, n, is determined by the user with reference to table 12.2.
7. If the TACT bit is clear, set the frame for transmission in the corresponding transmit descriptor
and set the TR bit in EDTRR to start transmission. If the TACT bit is set to 1, return the
transmission task to the waiting state by calling an OS service routine that has a timeout
function, and then repeat steps 5 and 6.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link to Datasheet   |   Link Exchange   |   Manufacturer List
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