Author |
Message |
Topic: Stepper Motor with 16F877A |
ntc
Replies: 7
Views: 23377
|
Forum: General CCS C Discussion Posted: Sun Feb 21, 2016 9:13 pm Subject: Controlling step motor |
Hi everybody!
Today I buy 2 motor 48BYJ-5V and driver with ULN280c IC, like as a link to make a clock ( 1 motor drive a second, and another drive a minutues with a mechanics structural have before, ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
ntc
Replies: 22
Views: 49283
|
Forum: General CCS C Discussion Posted: Mon Jan 11, 2016 7:20 pm Subject: Slew rate control |
Hi.
I tried to write a program to test with your instructions.
Also I used 23S17 driver of CCSC compiler to control. Everthing is OK.
But I have an amazing with slew rate control of this IC. Is it ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
ntc
Replies: 22
Views: 49283
|
Forum: General CCS C Discussion Posted: Fri Jan 08, 2016 8:55 pm Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
OK. That makes sense. No need for 'at the same time', and good reason to want to be able to read the signal.
One question though. Could you limit the current involved?.
Add a series resistor to th ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
ntc
Replies: 22
Views: 49283
|
Forum: General CCS C Discussion Posted: Thu Jan 07, 2016 7:12 pm Subject: Output Connection of 23S17 |
Thanks for your advice!
In my project, I want to check the connection of wire bus ( check short of copper wires) so that I want to use any pins of 23S17 to control input or output.
I get an example, ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
ntc
Replies: 22
Views: 49283
|
Forum: General CCS C Discussion Posted: Sun Jan 03, 2016 8:31 pm Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
Hi everybody
I've a problem when connect with MCP23S17.
Can I configure a MCP23S17 output and input at the same time?
Example, I make an output on GPA0 and read the input on GPA1 (GPA0 and GPA1 con ... |
Topic: Save eeprom before WDT restart |
ntc
Replies: 8
Views: 13444
|
Forum: General CCS C Discussion Posted: Fri Mar 20, 2015 12:42 am Subject: Save eeprom before WDT restart |
But, I then have to ask 'why bother'. When the chip restarts with a watchdog, the registers are saved (not lost), so you can test the 'restart_cause', and then write the EEPROM.
Thanks you, serious ... |
Topic: Save eeprom before WDT restart |
ntc
Replies: 8
Views: 13444
|
Forum: General CCS C Discussion Posted: Thu Mar 19, 2015 11:42 pm Subject: Save eeprom before WDT restart |
Thanks all.
In my program, i'm using WDT to reset the chip when it hanging. So, I think can't using an WDT ISR to save data to EEPPROM.
I'm using PIC18F4680, and wanted to save about <20 byte. In ... |
Topic: Save eeprom before WDT restart |
ntc
Replies: 8
Views: 13444
|
Forum: General CCS C Discussion Posted: Wed Mar 18, 2015 10:31 pm Subject: Save eeprom before WDT restart |
If I want to save a data to EEPROM before WDT restart, can I have do ?
I think have an wdt interrupt to process this work ?
Thanks |
|