Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
thanks for your replay Mr.Brain
#include <xc.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "configbits.h"
#include "i2c.h" // This header file includes I2C.c file which is used to interface the I2C
#include "uart.h"...
Hello all,
I am currently working with developing Digital clock. I'm using PIC18F4550, DS1307 RTC, 6 seven segment display for displaying clock in HH.MM.SS format.
While reading the clock, I'm getting approximately 10 sec of delay for each second. I don't know where I'm going wrong. Below are...
Hiee members,
i'm working on a project which is send binary file to EEPROM, read it back and display it on uart terminal.
i'm using PIC16F877A micro controller, xc8 compiler and 93lc46a eeprom.
i'm able to sending/reading the file to/from eeprom properly.
for(j=0; j < 64 ;j++)
{...
susan sir, in microchip website there are some example applications based on 93lc66 series, in that they used microwire compatible eepprom with MSSP module,(pic16f877a has MSSP module) this is the following link https://www.microchip.com/wwwproducts/en/93LC46A
EWEN 1(S.B) 00(OP) 1 1 XXXX (A6-A0) for this
SPI_Write(0x04); //EWEN Command
SPI_Write(0xC0);
im little confused how to handle this 10bits
SPI_Write(0x04); //EWDS Command to disable write/erase...
i'm in confusion, in eeprom datasheet they mention like this s.b(startbit),opcode,address(A6-A0) , this total comes to 10bits
but you are saying 9th bit, can you explain it little clear
- - - Updated - - -
one more thing my eeprom size is 1kb
Thanks for your reply ,
klausST "SCL/SCK" is the clock pin for both SPI & I2C according to pic16f877a datasheet.
- - - Updated - - -
i made a mistake in setting bit to CKE pin, i made this pin high now i can see the clock from master. now the problem im facing is whatever the data i'm...
Hi members,
i'm working on pic16f877a micro controller, i want to interface 96LC46A-I/OT EEPROM with pic controller using spi module.
my pic oscillator is about 20MHz, and eeprom Fclk is max 2MHz.
now im unable to generate clock at SCL pin , i don't know why. i checked spi separately, it is...
hiee members,
i'm working on a project that, transferring files to web server using sim800 module, i'm able to transfer the file to web (drivehq) using sim800 module but the problem it is showing empty files, if I upload the file using FileZilla client it showing data in the file, I followed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.