planet69
Member level 2
i'm using PIC18F452 and i've got a question about i2c function.
1) is it true that i can set any fixed baud rate (clock) from 0 to 100KHz?
2) if i set SSPSTAT,SMP=1, what value should i put into SSPADD if i'm using crystal 4MHz?
3) if i set SSPSTAT,SMP=0, is the baud rate fixed to 400KHz or i'm free to set any baud rate from 0 to 400KHZ? what value should i put into SSPADD then using a 20MHZ crystal?
Please help. i want to clear some doubts.
Thank you.
1) is it true that i can set any fixed baud rate (clock) from 0 to 100KHz?
2) if i set SSPSTAT,SMP=1, what value should i put into SSPADD if i'm using crystal 4MHz?
3) if i set SSPSTAT,SMP=0, is the baud rate fixed to 400KHz or i'm free to set any baud rate from 0 to 400KHZ? what value should i put into SSPADD then using a 20MHZ crystal?
Please help. i want to clear some doubts.
Thank you.