Showing posts with label Online. Show all posts
Showing posts with label Online. Show all posts

Friday, January 29, 2016

Pic Microcontroller Baud Rate register value calculator online


It is a must to set SPBRG value, when interfacing with UART/USART device with PIC micro controllers. 
The formula to calculate SPBRG is given below
Error can be calculated by

Where Fosc is the frequency of the crystal used in PIC micro eg: 20MHz. And Baud Rate is the desired  required baud rate.
The tool below can be used to calculate the SPBRG and Error %.

Crystal frequency :

Desired  Baud rate :

Is Synchronous


Result: Use calculate button

Friday, June 20, 2014

Pic Microcontroller Interfacing I2C SSPADD online calculator.


It is a must to set SSPADD value, when interfacing with I2C device with PIC micro controllers. 
The formula to calculate SSPADD is given below 
Where Fosc is the frequency of the crystal used in PIC micro eg: 20MHz. And Bit Rate is the desired  frequency for the I2C device.
The tool below can be used to calculate the SSPADD.

Crystal frequency :
Bit Rate for I2C    :

Result: In HEX = 0x31 , In Decimal = 49

Contributors