Author |
Message |
Topic: Low voltage detection in dspic30f4011 |
hoangkhuong
Replies: 3
Views: 4608
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 9:44 am Subject: Low voltage detection in dspic30f4011 |
Hi Ttelmah,
Could you please suggest me is there any way that I can code my program in such a way that if there is a sudden reset, the program can still continue with its previous work ?
For examp ... |
Topic: Low voltage detection in dspic30f4011 |
hoangkhuong
Replies: 3
Views: 4608
|
Forum: General CCS C Discussion Posted: Mon May 28, 2012 7:29 am Subject: Low voltage detection in dspic30f4011 |
My application need to store some value to eeprom before reset. I need to have some interrupts like #INT_LVD or #INT_LOWVOLT but it seems they don't have those in dsPic30f4011. My compiler version is ... |
Topic: External Interrupt Problem |
hoangkhuong
Replies: 12
Views: 16293
|
Forum: General CCS C Discussion Posted: Wed May 23, 2012 7:36 pm Subject: External Interrupt Problem |
Did you set the pin connect to the button as input ? |
Topic: Problem in sending sms with sim300 |
hoangkhuong
Replies: 7
Views: 13000
|
Forum: General CCS C Discussion Posted: Tue May 22, 2012 10:41 am Subject: Problem in sending sms with sim300 |
Yes, I've solved my problem by increasing the delay time after AT+CMGS command to 3 seconds.
Thanks very much. |
Topic: Problem in sending sms with sim300 |
hoangkhuong
Replies: 7
Views: 13000
|
Forum: General CCS C Discussion Posted: Mon May 21, 2012 11:02 am Subject: Problem in sending sms with sim300 |
Thanks for your response. First of all, I did sent a CTRL+Z character at the end of the sending message command, it is 0x1A which is in decimal is 26 as you suggest. Secondly, I did used PC to check t ... |
Topic: Problem in sending sms with sim300 |
hoangkhuong
Replies: 7
Views: 13000
|
Forum: General CCS C Discussion Posted: Mon May 21, 2012 10:06 am Subject: Problem in sending sms with sim300 |
Hello everyone, I am trying to send sms using SIM300. Here is my code:
#include <30F4011.h>
#DEVICE ADC=10
#FUSES NOWDT, NOPUT, NOPROTECT, NODEBUG, BROWNOUT, NOWRT
#FUSES XT_PLL4
#use delay ... |
Topic: send integer between two pic rs232! |
hoangkhuong
Replies: 22
Views: 32697
|
Forum: General CCS C Discussion Posted: Tue May 15, 2012 8:23 am Subject: send integer between two pic rs232! |
There is a list of button such as: Quote, Code, List, List==, Img under the subject bar when you make a post.
In my opinion, first you should try to communicate with PC, to check whether your pic rea ... |
Topic: Push Button Help |
hoangkhuong
Replies: 4
Views: 7109
|
Forum: General CCS C Discussion Posted: Tue May 15, 2012 8:13 am Subject: Push Button Help |
As far as I know, you can do that by configuring pin E0 and E1 as input pin. Then use function like input(PIN_E0) to check whether it is pushed or not. |
Topic: CAN bus error with dsPic30f4011 |
hoangkhuong
Replies: 3
Views: 6903
|
Forum: General CCS C Discussion Posted: Tue May 15, 2012 1:39 am Subject: CAN bus error with dsPic30f4011 |
Thanks for your reply. I did not connect directly but use a transceiver mcp2551. I did communicate successfully between two dsPic. Now what I do is changing one dsPic with CANalyzer so basically, my c ... |
Topic: CAN bus error with dsPic30f4011 |
hoangkhuong
Replies: 3
Views: 6903
|
Forum: General CCS C Discussion Posted: Tue May 15, 2012 1:06 am Subject: CAN bus error with dsPic30f4011 |
Can somebody help me, please ? |
Topic: CAN bus error with dsPic30f4011 |
hoangkhuong
Replies: 3
Views: 6903
|
Forum: General CCS C Discussion Posted: Mon May 07, 2012 2:40 am Subject: CAN bus error with dsPic30f4011 |
Hello everyone,
My previous post didn't ask the right question, therefore it has not been replied. Sorry for posting in a clumsy way.
I am trying to make a CAN communication between dsPic30f4011 ... |
Topic: GLCD_TESTING |
hoangkhuong
Replies: 10
Views: 10093
|
Forum: General CCS C Discussion Posted: Thu Apr 19, 2012 3:28 am Subject: GLCD_TESTING |
It does not work but can you tell us why ? What does it display ? |
Topic: dsPic30 Trouble with RS232 |
hoangkhuong
Replies: 18
Views: 20085
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2012 7:32 am Subject: dsPic30 Trouble with RS232 |
Oh, when I said "changing", I mean I changed both the hardware and software. Previously, I use 4 or 8 Mhz (also in the code) but things are not working as expected. But when I change to 7.37 ... |
Topic: dsPic30 Trouble with RS232 |
hoangkhuong
Replies: 18
Views: 20085
|
Forum: General CCS C Discussion Posted: Mon Apr 16, 2012 7:06 am Subject: dsPic30 Trouble with RS232 |
I fixed the problem by changing oscillator to 7.3728Mhz and baudrate 9600. Can someone please explain why I can't use oscillator with other frequency like 4 or 8Mhz ? If I use those types, the value r ... |
Topic: can bus help me plz |
hoangkhuong
Replies: 17
Views: 19729
|
Forum: General CCS C Discussion Posted: Sat Apr 14, 2012 11:06 am Subject: can bus help me plz |
Here is my code for dsPic30f4011 in the loopback mode. See if you can try it out
#include <30F4011.h>
#DEVICE ADC=10
#include <stdlib.h>
#include <can-dsPIC30.h>
#include < ... |
|