Search found 9 matches

by craven
Tue Nov 23, 2004 10:32 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

I apreciate your analysis and help. I will implement what I can for testing. Ther eis one thing that confuses me however, point 3 and the manual suplied by matrix orbital conflict I beleive. According to the manual from MO, their units do not ACK so why bother checking for it?
by craven
Wed Nov 10, 2004 10:11 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

Code used to test all addresses. Failed to produce any results.


#include <pic.h>
#include "delay.h"

static volatile bit SDA_TRI @ (unsigned)&TRISA*8+0;
static volatile bit SCL_TRI @ (unsigned)&TRISA*8+1;
static volatile bit SDA @ (unsigned)&PORTA*8+0;
static volatile bit SCL @ (unsigned)&PORTA*8 ...
by craven
Tue Nov 09, 2004 2:55 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

Tried 1k and 10k
by craven
Tue Nov 09, 2004 2:45 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

This is the latest code. Still no results.

#include <pic.h>
#include "delay.h"

static volatile bit SDA_TRI @ (unsigned)&TRISA*8+0;
static volatile bit SCL_TRI @ (unsigned)&TRISA*8+1;
static volatile bit SDA @ (unsigned)&PORTA*8+0;
static volatile bit SCL @ (unsigned)&PORTA*8+1;
static volatile bit ...
by craven
Tue Nov 09, 2004 2:19 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

Let's boil this down to the basics. Even this doesnt work. Any ideas?


#include <pic.h>
#include "delay.h"

static volatile bit SDA_TRI @ (unsigned)&TRISA*8+0;
static volatile bit SCL_TRI @ (unsigned)&TRISA*8+1;
static volatile bit SDA @ (unsigned)&PORTA*8+0;
static volatile bit SCL @ (unsigned ...
by craven
Tue Nov 09, 2004 1:04 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

Using default jumper settings this produces absolutely no results. Clear screen failed, sending text failed. The only difference I found between your code's process and my current one is the lack of delays used. I tried removing my delays as well and it failed to produce any results.

I need a ...
by craven
Mon Nov 08, 2004 9:08 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

Be aware this code isnt doing a *darn* thing tho...still trying to get it to produce some results. My old code was at least putting junk on the screen per each button press (using a 1 ms interrupt and some buttons interface on that one).
by craven
Mon Nov 08, 2004 9:06 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

Current cut... been goofing around with various techniques. This is actually the code from MO that was slightly modified--they wrote it in C so it needed some tweaking to compile in PICC.



bit DataOutBit;
bit DI;

static volatile bit SDAEn @ (unsigned)&TRISA*8+0;
static volatile bit SCLEn ...
by craven
Mon Nov 08, 2004 8:31 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C and PICC ... not working?
Replies: 19
Views: 26213

I2C and PICC ... not working?

I have exchanged countless emails with Matrix Orbital (and in their defense they have responded many times and tried to help me). Thus far I can not get I2C to work with the following situation:

Using a LK/VK162-12
PICC (HI-TECH) 'C' compiler for microcontroller programming
Using a 16F84a ...