Author |
Message |
Topic: dspic interrupt uart |
dnatechnical
Replies: 7
Views: 13760
|
Forum: General CCS C Discussion Posted: Wed Jan 13, 2010 10:40 am Subject: dspic interrupt uart |
Right. There is no data receive from uart.
Even if I check data through serial port monitor at end of dspic rx pin
I receive some data but interrupt is not generated.
Anyone have idea ?
thanks |
Topic: dspic interrupt uart |
dnatechnical
Replies: 7
Views: 13760
|
Forum: General CCS C Discussion Posted: Tue Jan 12, 2010 12:35 pm Subject: dspic interrupt uart |
I'm using debugger(pickit 3) to check it.
I set break point at clear interrupt, so I can check data.
I'm sending data through com port via max232.
There no change in flag bit or U1RXREG.
Yes I ... |
Topic: max value eeprom |
dnatechnical
Replies: 14
Views: 10893
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 9:20 pm Subject: max value eeprom |
"internal eeprom.c " file support to all devices which has internal eeprom.
Other devices has 256 or 512 or 1024 eeprom space. So address will be 16bit for higher than 256 bytes, but your ... |
Topic: dspic30f6010a uart problem |
dnatechnical
Replies: 1
Views: 3264
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 9:10 pm Subject: dspic30f6010a uart problem |
I'm using dspic30f6010a, I'm trying to use uart with interrupt.
Here is my code, I'm not getting receive interrupt. Please any one can help me? Thanks.
#include <30F6010A.h>
#FUSES NOWD ... |
Topic: max value eeprom |
dnatechnical
Replies: 14
Views: 10893
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 5:31 am Subject: max value eeprom |
if you are using 18f252 then it has only 256 bytes eeprom
which addresss are 0 to 256 with data bit8
it can't save your data more then 256 bytes
if you r using external serial eeprom then its dep ... |
Topic: dspic interrupt uart |
dnatechnical
Replies: 7
Views: 13760
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 5:23 am Subject: dspic interrupt uart |
#include <30F6010A.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
#FUSE ... |
Topic: dspic interrupt uart |
dnatechnical
Replies: 7
Views: 13760
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 5:20 am Subject: dspic interrupt uart |
need help please |
Topic: dspic interrupt uart |
dnatechnical
Replies: 7
Views: 13760
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2010 2:31 am Subject: dspic interrupt uart |
any one have c code for dspic uart interrupt? |
Topic: how to solve Trap due to unimplemented FLASH memory access, |
dnatechnical
Replies: 3
Views: 6628
|
Forum: General CCS C Discussion Posted: Sat Jan 09, 2010 9:45 pm Subject: how to solve Trap due to unimplemented FLASH memory access, |
I'm using modbus, I'm using dspic30f6010a.
float m_decp[0];
(modbus_write_multiple_registers(MODBUS_ADDRESS,0x201,2,m_decl[0]));
For this I get error:
CORE- ... |
Topic: help for simulation warning |
dnatechnical
Replies: 2
Views: 4571
|
Forum: General CCS C Discussion Posted: Wed Dec 09, 2009 1:01 am Subject: help for simulation warning |
I already search on Microchip forum. They advise to use LATx.
How to use in ccs c compiler? I'm new for ccs c.
Initial I was work on 18f8720. Due to require more program memory I have to switch ... |
Topic: how to solve Trap due to unimplemented FLASH memory access, |
dnatechnical
Replies: 3
Views: 6628
|
Forum: General CCS C Discussion Posted: Tue Dec 08, 2009 9:09 am Subject: how to solve Trap due to unimplemented FLASH memory access, |
During simulation I find following message.
Anyone help me?
Trap due to unimplemented FLASH memory access, occurred from instruction at 0x00370e |
Topic: mplab and ccs |
dnatechnical
Replies: 2
Views: 3944
|
Forum: General CCS C Discussion Posted: Tue Dec 08, 2009 8:23 am Subject: mplab and ccs |
you can include in your c or header file |
Topic: help for simulation warning |
dnatechnical
Replies: 2
Views: 4571
|
Forum: General CCS C Discussion Posted: Tue Dec 08, 2009 12:19 am Subject: help for simulation warning |
When I simulate my code I find following warning.
iOPORT-W0002: Reading a port immediately after writing to it might be affected by any impedance loading the pin.
For this instruction
delay_cyc ... |
Topic: need help for dspic 30f6010A data eeprom |
dnatechnical
Replies: 7
Views: 9935
|
Forum: General CCS C Discussion Posted: Fri Dec 04, 2009 1:20 am Subject: need help for dspic 30f6010A data eeprom |
Thank you.
Its working now.
Its my fault to understand it.
Thank you |
Topic: need help for dspic 30f6010A data eeprom |
dnatechnical
Replies: 7
Views: 9935
|
Forum: General CCS C Discussion Posted: Thu Dec 03, 2009 12:49 am Subject: need help for dspic 30f6010A data eeprom |
write _eeprom (address, value );
where address is 16bit data
dspic 30f6010 data eeprom start from 0x007ff000 , it 24 or 32 bit
now which instruction is suitable for this device.
anyone can h ... |
|