Author |
Message |
Topic: PIC12F675 timer |
bal_square
Replies: 4
Views: 12252
|
Forum: General CCS C Discussion Posted: Mon Jan 14, 2019 7:30 am Subject: PIC12F675 timer |
Seriously I also have to ask what you actually want to 'do' with the value
obtained. The 675, is only an 8pin chip. With the supply pins, and a pulse
input to detect speed, you don't have many pins ... |
Topic: PIC12F675 timer |
bal_square
Replies: 4
Views: 12252
|
Forum: General CCS C Discussion Posted: Mon Jan 14, 2019 6:49 am Subject: PIC12F675 timer |
I'm a newbie with PIC. I need to simulate simple speedometer using PIC12F675. I have frequency generator, I know that I should use timer and interrupts, but can't understand how to make it work. (I us ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Sat Dec 08, 2018 11:48 am Subject: Interface AT25F4096 with PIC16F877 |
Yes, but not unless he writes to the memory.
The read instruction on a real chip, will work without WREN.
As I say though people are reporting that you cannot read from the Proteus
chip until ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Fri Dec 07, 2018 2:24 pm Subject: Interface AT25F4096 with PIC16F877 |
I'd try another memory device. Originally you attached it to an 877, a 5 volt PIC, so it could easily now be defective.
Your 'link' didn't work for me, came back '404'
Jay
Sorry, corrected |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Fri Dec 07, 2018 1:01 pm Subject: Interface AT25F4096 with PIC16F877 |
You are still not showing a crystal in the circuit. Also the ENVREG pin needs
to be tied to Vdd.
Also look at Figure 2-1. This shows the minimum connections required for the PIC to work.
You need ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Fri Dec 07, 2018 10:58 am Subject: Interface AT25F4096 with PIC16F877 |
OK, you're using Proteus NOT real parts ???
THAT explains it.. as we all KNOW Proteus is full of bugs, errors and faulty DRCs.
You should be aware that if you used real hardware, connected as shown ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Fri Dec 07, 2018 9:34 am Subject: Interface AT25F4096 with PIC16F877 |
No.
You have to send a read command first.
The read command is 0x03. Then you then have to send a 24bit address
(A19 to 23 are don't care), so 19 bits that matter. Then you send one more
byt ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Thu Dec 06, 2018 8:16 pm Subject: Interface AT25F4096 with PIC16F877 |
https://i1.wampi.ru/2018/12/07/Screenshot_8a156479d5171e485.png
#include <24FJ128GA006.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES NOJTAG //JTAG disab ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Thu Dec 06, 2018 6:57 pm Subject: Interface AT25F4096 with PIC16F877 |
That processor is not better. Minimum voltage for the processor is 4.2V.
Maximum voltage for the memory is 3.6V. They cannot both operate from the same supply voltage and so will not have compatibl ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Thu Dec 06, 2018 2:00 pm Subject: Interface AT25F4096 with PIC16F877 |
You really should get a current PIC as the 877 is obsolete and NOT suggested for use anymore. the 16F18877 is one possible upgrade..less money, more features INCLUDING being able to run at 3 volts. TH ... |
Topic: Interface AT25F4096 with PIC16F877 |
bal_square
Replies: 24
Views: 53921
|
Forum: General CCS C Discussion Posted: Wed Dec 05, 2018 11:58 am Subject: Interface AT25F4096 with PIC16F877 |
I'm trying to connect PIC controller with AT25F4096 for reading information, but I'm a beginner in this theme and I don't know how to connect it right and how to make a program using CCS, I couldn't f ... |
|