Author |
Message |
Topic: spi help |
davidroux
Replies: 9
Views: 9358
|
Forum: General CCS C Discussion Posted: Fri Nov 13, 2009 7:17 am Subject: spi help |
ok guys really need help... i can get reply perfect from slave to master... still send 0x00 from master :( so never flashes LED (on D1)
LCD writes replies... which shows working from slave to maste ... |
Topic: spi help |
davidroux
Replies: 9
Views: 9358
|
Forum: General CCS C Discussion Posted: Thu Nov 12, 2009 7:07 am Subject: spi help |
hardware...-> running as stated... internal OSC
another thing.. if i go SSPBUF = 10; on slave.. it rights perfectly.. if i do the same on master... it stays at 0??? maybe the master is never wri ... |
Topic: spi help |
davidroux
Replies: 9
Views: 9358
|
Forum: General CCS C Discussion Posted: Thu Nov 12, 2009 6:54 am Subject: spi help |
ok so here is my little test app... i run both off debuggers so can see what packets sending... pickit 2 running the slave (PIC18F462) and master running on icd2(PIC16F727)..
i get an interrupt whe ... |
Topic: spi help |
davidroux
Replies: 9
Views: 9358
|
Forum: General CCS C Discussion Posted: Wed Nov 11, 2009 11:38 pm Subject: thnanks |
thanks guys.. yeah i really hacked my code hahah trying different modes (when my ICD 2 decided to fall apart hehe)... and left out while(1) trying to add as little code as possible.. gonna sort it out ... |
Topic: spi help |
davidroux
Replies: 9
Views: 9358
|
Forum: General CCS C Discussion Posted: Wed Nov 11, 2009 3:57 pm Subject: spi help |
and yes there is a good chance this wont compile.. my main code is 2500 lines... and yes i was modding it like mad since this morning... tried to base from this -> http://www.ccsinfo.com/forum/view ... |
Topic: spi help |
davidroux
Replies: 9
Views: 9358
|
Forum: General CCS C Discussion Posted: Wed Nov 11, 2009 3:55 pm Subject: spi help |
Ok so what I have done in my project is a wireless intercom using GSM. Its interfaced with a LCD and a touchpad (capacitive touch 16F727)... GSM part working sweet. Now wanna prompt the modem from use ... |
Topic: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
davidroux
Replies: 7
Views: 7180
|
Forum: General CCS C Discussion Posted: Sun Nov 01, 2009 11:42 pm Subject: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
Yeah I tried isr.. as u can see but it was wrong, well at least s/w is sorted just gotta clean that up, but now h/w problem which is worst.
Yeah I looked at it thanks gave me the idea. Now gonna ... |
Topic: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
davidroux
Replies: 7
Views: 7180
|
Forum: General CCS C Discussion Posted: Sun Nov 01, 2009 11:26 am Subject: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
latest is its replying now!!! but replying siff things.. like SIM failure and sim blocked.. but working when put in phone... so must be h/w... this is code if anyone wants... this sends and listens sa ... |
Topic: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
davidroux
Replies: 7
Views: 7180
|
Forum: General CCS C Discussion Posted: Sat Oct 31, 2009 8:55 am Subject: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
update : ok so problem is that the SIM is powering off!!! I added while (1); at end of main so not go into sleep mode. I saw it replied with sim id (SCID) but then I quickly tried to phone it (should ... |
Topic: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
davidroux
Replies: 7
Views: 7180
|
Forum: General CCS C Discussion Posted: Fri Oct 30, 2009 9:13 am Subject: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
Hey thanks for the reply
D5 is connected the modem which is required to be driven low for like 2 secs or something. I add some more to be safe. D7 is an i/p to the micro from the tc35i modem to ... |
Topic: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
davidroux
Replies: 7
Views: 7180
|
Forum: General CCS C Discussion Posted: Fri Oct 30, 2009 1:38 am Subject: [Urgent] GSM Project - SIM Resetting (GSM.Vcc to GSM.GND) |
Hey guys, I would really like your help on this. I have tried many many different things and in some cases has worked but for only a short time. The following code demonstrates just simply sending AT ... |
|