Author |
Message |
Topic: How to set the pulse width of less than 500us of the 12f617 |
longmenok
Replies: 2
Views: 13375
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2018 11:45 pm Subject: How to set the pulse width of less than 500us of the 12f617 |
Thank you very much! Ttelmah.
It can work normally. |
Topic: How to set the pulse width of less than 500us of the 12f617 |
longmenok
Replies: 2
Views: 13375
|
Forum: General CCS C Discussion Posted: Mon Jan 22, 2018 6:32 am Subject: How to set the pulse width of less than 500us of the 12f617 |
There is a problem in my program.
If external oscillator 32768 is used, I can't get a pulse less than 500us.
I set pulse width to be 250us, but the output pulse width is 500us. No matter how I modi ... |
Topic: CAN Problem? How to work 18F2431 +mcp2515 |
longmenok
Replies: 8
Views: 13435
|
Forum: General CCS C Discussion Posted: Thu Jul 12, 2007 2:01 am Subject: CAN Problem? How to work 18F2431 +mcp2515 |
I test it, can_init() can't good work.
In can_mcp2510.c
void can_set_mode(CAN_OP_MODE mode) {
struct struct_CANCTRL old_CANCTRL;
old_CANCTRL=MCP2515_read(CANCTRL) ... |
Topic: CAN Problem? How to work 18F2431 +mcp2515 |
longmenok
Replies: 8
Views: 13435
|
Forum: General CCS C Discussion Posted: Thu Jul 12, 2007 1:10 am Subject: CAN Problem? How to work 18F2431 +mcp2515 |
I use 18F2431+mcp2515 to transmit motor QEI data, and use 18F458 to receive data. when I use 16F877A+mcp2515, CAN Communication can good work. However I use 18F2431+mcp2515 , 18F458 can't receive any ... |
Topic: CAN Problem? How to work 18F2431 +mcp2515 |
longmenok
Replies: 8
Views: 13435
|
Forum: General CCS C Discussion Posted: Tue Jul 10, 2007 7:38 pm Subject: CAN Problem? How to work 18F2431 +mcp2515 |
Can you help me! Thanks! |
Topic: CAN Problem? How to work 18F2431 +mcp2515 |
longmenok
Replies: 8
Views: 13435
|
Forum: General CCS C Discussion Posted: Sun Jul 08, 2007 9:53 pm Subject: CAN Problem? How to work 18F2431 +mcp2515 |
MCP2515 is used. can-mcp2510.c is modified as following.
MCP2515 have a 20 MHz crystal in each case
can-mcp2510.c connect with 16F877A is following
//877A IO pins connected to MCP2515
#ifn ... |
Topic: CAN Problem? How to work 18F2431 +mcp2515 |
longmenok
Replies: 8
Views: 13435
|
Forum: General CCS C Discussion Posted: Mon Jun 25, 2007 9:30 am Subject: CAN Problem? How to work 18F2431 +mcp2515 |
help |
Topic: CAN Problem? How to work 18F2431 +mcp2515 |
longmenok
Replies: 8
Views: 13435
|
Forum: General CCS C Discussion Posted: Tue Jun 19, 2007 10:36 am Subject: CAN Problem? How to work 18F2431 +mcp2515 |
Hello! I have a work about CAN communication.
The following is my code. If it were used for 16F877A, it are good!
But it arenot work for 18F2431
I want to know how to correct it.
Thanks ,say ... |
Topic: Function to generate square waves at desired frequencies |
longmenok
Replies: 3
Views: 47066
|
Forum: Code Library Posted: Wed Apr 18, 2007 4:57 am Subject: Function to generate square waves at desired frequencies |
Thanks !!! |
Topic: What can't work of my 18F4431 in I2c |
longmenok
Replies: 1
Views: 4287
|
Forum: General CCS C Discussion Posted: Thu Mar 01, 2007 7:41 pm Subject: What can't work of my 18F4431 in I2c |
hello everyone, I have some question wish to solve in there.
I have getting 2 pics to communicate via I2C. master is 16F877A,slave is 18f4431.I've modified two examples and now have working code whe ... |
Topic: what different 18F4431 and 16F877A in I2c |
longmenok
Replies: 3
Views: 9549
|
Forum: General CCS C Discussion Posted: Thu Mar 01, 2007 5:42 am Subject: what different 18F4431 and 16F877A in I2c |
sorry ,there are a lots of waste lines ,
This is pasted straight from my sample working programs
Thanks!!!
slave code
#include <18F4431.h>
#fuses HS,PROTECT,NOLVP,NOPUT,BROWNOU ... |
Topic: what different 18F4431 and 16F877A in I2c |
longmenok
Replies: 3
Views: 9549
|
Forum: General CCS C Discussion Posted: Wed Feb 28, 2007 9:49 am Subject: what different 18F4431 and 16F877A in I2c |
hello everyone, I have some question wish to solve in there.
I have getting 2 pics to communicate via I2C. master is 16F877A,slave is 18f4431.I've modified two examples and now have working code whe ... |
|