| 数据搜索系统,热门电子元器件搜索 |
|
HT68FU50 数据表(PDF) 198 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68FU50 数据表(HTML) 198 Page - Holtek Semiconductor Inc |
|
198 / 244 page ![]() HT68F20/HT68F30/HT68F40/HT68F50/HT68F60 HT68FU30/HT68FU40/HT68FU50/HT68FU60 Rev. 1.50 198 March 15, 2011 that as it takes a certain period of time known as the System Start-up Time for oscillator to restart and stabi- lize after a wake-up, any data received during this time on the RX pin will be ignored. For a UART wake-up interrupt to occur, in addition to the bits for the wake-up enable control and Receive inter- rupt enable control being set, the global interrupt enable control and the related interrupt enable control bits must also be set. If these two bits are not set, then only a wake-up event will occur and no interrupt will be ser- viced. Note also that as it takes a period of delay after a wake-up before normal microcontroller resumes, the relevant UART interrupt will not be serviced until this pe- riod of delay time has elapsed. Using the UART Function To use the UART function, several important steps must be implemented to ensure that the UART module oper- ates normally: · The SPI pin-remapping function must be properly configured when the SPI functional pins of the microcontroller are used to control the UART module and for data transmission and data reception. To correctly connect the MCU Master SPI to the UART Module Slave SPI, the SIM pin-remapping settings for PCK and PINTB in the MCU PRM0 register should be the same as the values listed in the following table. ¨ HT68FU30 PRM0 Register - PCK and PINT pin-remap setup Bit 1 0 Name SIMPS0 PCKPS Setting value 1 1 ¨ HT68FU40/HT68FU50 PRM0 Register - PCK and PINT pin-remap setup Bit 2 1 0 Name SIMPS1 SIMPS0 PCKPS Setting value 0 1 1 ¨ HT68FU60 PRM0 Register - PCK and PINT pin-remap setup Bit 2 1 0 Name SIMPS1 SIMPS0 PCKPS Setting value 1 1 1 · The SIM operating mode control bits SIM2~SIM0, in the SIMC0 register have to be configured to enable the SIM to operate in the SPI master mode with a dif- ferent SPI clock frequency. ¨ SIM operating mode control bits SIM2~SIM0 in the SIMC0 Register Bit 7 6 5 Name SIM2 SIM1 SIM0 value 100, 011, 010, 001 or 000 000: SPI master mode; SPI clock is fSYS/4 001: SPI master mode; SPI clock is fSYS/16 010: SPI master mode; SPI clock is fSYS/64 011: SPI master mode; SPI clock is fTBC 100: SPI master mode; SPI clock is TM0 CCRP match frequency/2 101~111: must not be used · The PCK control bit is set to 1 to enable the PCK out- put as the clock source for the UART baud rate gener- ator with various PCK output frequencies determined by the PCKP1 and PCKP0 bits in the SIMC0 Register. ¨ PCK output frequency selection bits PCKP1~PCKP0 in the SIMC0 Register Bit 3 2 Name PCKP1 PCKP0 Value 11, 10, 01 or 00 00: PCK output frequency is fSYS 01: PCK output frequency is fSYS/4 10: PCK output frequency is fSYS/8 11: PCK output frequency is TM0 CCRP match frequency/2 ¨ PCK output enable control bit PCKEN in the SIMC0 Register Bit 4 Name PCKEN Value 1 0: Disable PCK output 1: Enable PCK output After the above setup conditions have been imple- mented, the MCU can enable the SIM interface by set- ting the SIMEN bit high. The MCU can then begin communication with external UART connected devices using its SPI interface. The detailed MCU Master SPI functional description is provided within the Serial Inter- face Module section of the MCU datasheet. |
|
链接网址 |
| 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 |