English
Language : 

R8A66597FP Datasheet, PDF (34/185 Pages) Renesas Technology Corp – ASSP (USB2.0 2 Port Host/1 Port Peripheral Controller)
R8A66597FP/DFP/BG
2.6.1.1 Selecting the Host Controller function
When the Host Controller function is selected, writing to the bit is possible after writing "DRPD=1" corresponding to
the test target port from Port0 and Port1. This bit is the common register for Port0 and Port1. The controller outputs
the wave for the port where "DRPD=1" and "UACT=1" are written. When the Host Controller function is selected, the
controller stops Hi-Speed operations for Port0 and Port1 by writing to the bit.
Procedure to set the UTST bit in HOST mode is below:
(1) Hardware reset
(2) Clock activation (write to XTAL, wait until "XCKE=1" changes to "SCKE=1")
(3) "DCFM=1" and "DPRD=1" (not necessary to write "HSE=1")
(4) "USBE=1"
(5) Write the value corresponding to the test contents in the UTST bit.
(6) Write "1" to the UACT bit of the port to be tested
Procedure to modify the UTST bit in HOST mode is below:
(1) (In the status of above-mentioned (8)) "UACT=0" and "USBE=0"
(2) "USBE=1"
(3) Write the value corresponding to the test contents in the UTST bit.
(4) Write "1" to the UACT bit of the port to be tested
When writing "Test_SE0_NAK" ("1011"), the controller does not output the SOF packet related to the port for which
"UACT=1" was written.
When writing "Test_Force_Enable" ("1101"), the controller outputs the SOF packet related to the port for which
"UACT=1" is written. The controller does not control the hardware associated with the detection when the mode is
set, irrespective of detecting a Hi-Speed disconnection (detecting DTCH interrupt).
When selecting the Host Controller function, set all pipe PID bits to "NAK" if writing to the UTST bit.
After setting the test mode, reset the hardware when using normal USB communication.
2.6.1.2 Selecting the Peripheral Controller function
When the Peripheral Controller function is selected, write this bit according to the set feature request from the USB
Host during Hi-Speed communication.
The controller does not move to suspend status if "0001" ~ "0100" is written to the bit when the Peripheral Controller
function is selected.
To perform normal USB communications after the test mode is set, execute a hardware reset first.
Rev1.01 Oct 17, 2008 page 34 of 183