This is my first post here, and I am eager to jump in. Unfortunately, my first post isn't to help, but to gain assistance. Therefore, I owe one to the universe.
I'm working with a pretty old chip right now, PIC16F876A. It's the only thing I have around until I can get some money to buy a new chip. I'm eyeing the enhanced mid range PIC16F1719. In the meantime, since I started on this journey I would like to solve some problems I have with the PIC16F876A. Is there a place in this forum where I can get access to some working code along with schematics related to that code? My current interest is communication. Working example of:
** the more comments in the code, the better for me.
So that I don't have to convert to much, because I am surely capable of making several errors (on my own - lol), I'll share with you the IDE and compiler I am using. I'm programing in C using MPLAB X IDE v5.15 (XC8-CC v2.05 @ C Standard C 90). I'm running several different projects from this one chip, so learning these communication systems and getting a working library is crucial.
I saw a post from Picbuster from 2017 and was going to ask him directly but unfortunately that conversation is too old. I don't see anywhere on this forum where you can DM a member. Here is the link and what I wanted to ask him directly, since he had the SPI component portion of my query already worked out...
https://forum.allaboutcircuits.com/threads/software-i2c-using-xc8-mplab-x.138847/
If you've ever found that I2C, that would be a bonus.
I have been working on both for the past weeks, trying to do something simple. Like get a text to speech module to talk; and I've only managed to lose hair and sleep (to say the least). I assure you, I am not just bumming code, I have put in substantial work and research and I'm coming up with ZERO success, any help would be appreciated. Thanks in advance.
Any help would be highly appreciated. Thanks in advance.
I'm working with a pretty old chip right now, PIC16F876A. It's the only thing I have around until I can get some money to buy a new chip. I'm eyeing the enhanced mid range PIC16F1719. In the meantime, since I started on this journey I would like to solve some problems I have with the PIC16F876A. Is there a place in this forum where I can get access to some working code along with schematics related to that code? My current interest is communication. Working example of:
** the more comments in the code, the better for me.
- USART or UART
- SPI
- I2C
So that I don't have to convert to much, because I am surely capable of making several errors (on my own - lol), I'll share with you the IDE and compiler I am using. I'm programing in C using MPLAB X IDE v5.15 (XC8-CC v2.05 @ C Standard C 90). I'm running several different projects from this one chip, so learning these communication systems and getting a working library is crucial.
I saw a post from Picbuster from 2017 and was going to ask him directly but unfortunately that conversation is too old. I don't see anywhere on this forum where you can DM a member. Here is the link and what I wanted to ask him directly, since he had the SPI component portion of my query already worked out...
https://forum.allaboutcircuits.com/threads/software-i2c-using-xc8-mplab-x.138847/
I am currently working on SPI communication with an older chip, PIC16F876A. If you don't mind sharing your SPI library, for the PIC16, that would be great.Difficult to identify problem.
This was written for old xc8 compiler changes did take place especially in the usart and eusart libs.
If you are using above 1.34 you could face that problem.
I will dive into my own libs and try to find a working program for the pic16.
SPI I do have for Pic16 that's for sure but uncertain about I2c.
Picbuster
If you've ever found that I2C, that would be a bonus.
I have been working on both for the past weeks, trying to do something simple. Like get a text to speech module to talk; and I've only managed to lose hair and sleep (to say the least). I assure you, I am not just bumming code, I have put in substantial work and research and I'm coming up with ZERO success, any help would be appreciated. Thanks in advance.
Any help would be highly appreciated. Thanks in advance.