Electronic Components Datasheet Search |
|
PIC16C73A Datasheet(PDF) 2 Page - Microchip Technology |
|
PIC16C73A Datasheet(HTML) 2 Page - Microchip Technology |
2 / 4 page DS30390C/73A/B1E1-page 2 © November, 1996 Microchip Technology Inc. PIC16C73A 4. Module: SSP When the SPI is using Timer2/2 as the clock source, a shorter-than-expected SCK pulse may occur on the first bit of the transmitted/received data. Example: Work Around To avoid producing the short pulse, turn off Timer2 and clear the TMR2 register, load the SSPBUF with the data to transmit, and then turn Timer2 back on. Example Code: BSF STATUS, RP0 ;Bank 1 LOOP BTFSS SSPSTAT, BF ;Data received? ;(Xmit complete?) GOTO LOOP ;No BCF STATUS, RP0 ;Bank 0 MOVF SSPBUF, W ;W = SSPBUF MOVWF RXDATA ;Save in user RAM MOVF TXDATA, W ;W = TXDATA BCF T2CON, TMR2ON ;Timer2 off CLR TMR2 ;Clear Timer2 MOVWF SSPBUF ;Xmit New data BSF T2CON, TMR2ON ;Timer2 on SD0 SCK Write SSPBUF bit0=1 bit1=0 bit2=1 . . . . |
Similar Part No. - PIC16C73A |
|
Similar Description - PIC16C73A |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List 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 |