Author |
Message |
Topic: PIC18F87K90 and TCP IP ENC28J60 not working |
ercarlitosg
Replies: 4
Views: 9055
|
Forum: General CCS C Discussion Posted: Fri Aug 28, 2015 8:04 am Subject: PIC18F87K90 and TCP IP ENC28J60 not working |
The #use delay gets pointed to, when you are in anything using a delay.
The function uses the ADC to generate values to seed the random number generator. There is a note that there will be problem ... |
Topic: PIC18F87K90 and TCP IP ENC28J60 not working |
ercarlitosg
Replies: 4
Views: 9055
|
Forum: General CCS C Discussion Posted: Fri Aug 28, 2015 4:18 am Subject: PIC18F87K90 and TCP IP ENC28J60 not working |
Debug inside this function, in the Helpers.c file:
GenerateRandomDWORD()
There are a couple places in there where it could possibly get stuck.
It's enters in a while loop, that presumably ... |
Topic: PIC18F87K90 and TCP IP ENC28J60 not working |
ercarlitosg
Replies: 4
Views: 9055
|
Forum: General CCS C Discussion Posted: Thu Aug 27, 2015 12:28 pm Subject: PIC18F87K90 and TCP IP ENC28J60 not working |
Hello,
I have tried to make the pic18f87k90 to talk with the enc28j60 and it doesn't works.
I am using the ccs c tcp/ip stack and debugging with mplab x I find that gets stuck on StackInit in li ... |
Topic: Problem with wrapping lcd_putc |
ercarlitosg
Replies: 6
Views: 11392
|
Forum: General CCS C Discussion Posted: Thu Aug 27, 2015 11:58 am Subject: Problem with wrapping lcd_putc |
Sorry for my bad response. I don't know why I put that.
I refer that the code didn't worked with a constant string, but with the last response of PCM programmer It worked.
Many thanks for your h ... |
Topic: Problem with wrapping lcd_putc |
ercarlitosg
Replies: 6
Views: 11392
|
Forum: General CCS C Discussion Posted: Sat Aug 22, 2015 4:59 am Subject: Problem with wrapping lcd_putc |
Thanks for your answers.
Here is some examples of how I call that function:
muestra_mensaje("HI");
muestra_mensaje("\nHI");
So that code doesn't work if ... |
Topic: Problem with wrapping lcd_putc |
ercarlitosg
Replies: 6
Views: 11392
|
Forum: General CCS C Discussion Posted: Wed Jul 29, 2015 4:51 am Subject: Problem with wrapping lcd_putc |
Hello,
I am using now a PIC16F877A and the flex_lcd driver. I am using the lcd to display a text when received one of the 14 commands that I receive from the serial port. Parsing and receiving the ... |
Topic: Creating software uart at runtime |
ercarlitosg
Replies: 11
Views: 18423
|
Forum: General CCS C Discussion Posted: Wed Jul 29, 2015 4:39 am Subject: Creating software uart at runtime |
Thanks for your answers. I finally decided to re-think the project and I will use an enc28j60 and ethernet switches. This will make the installation cost of the network cheaper than installing a new p ... |
Topic: Creating software uart at runtime |
ercarlitosg
Replies: 11
Views: 18423
|
Forum: General CCS C Discussion Posted: Sun Jul 05, 2015 3:04 pm Subject: Creating software uart at runtime |
Thanks for all your answers. Sorry, I didn't mention that I was going to use rs232 to rs485 converter (which I actually don't remember the model, I will update when I have it). But also, I talked to a ... |
Topic: Creating software uart at runtime |
ercarlitosg
Replies: 11
Views: 18423
|
Forum: General CCS C Discussion Posted: Fri Jul 03, 2015 6:08 am Subject: Creating software uart at runtime |
24 serial ports ? That's 48 pins...OK, it _can_ be done using that PIC BUT what speed are the serial ports? Do you need both TX and RX for every port?
All the software' ports must be 'polled', and th ... |
Topic: Creating software uart at runtime |
ercarlitosg
Replies: 11
Views: 18423
|
Forum: General CCS C Discussion Posted: Fri Jul 03, 2015 5:27 am Subject: Creating software uart at runtime |
Hello,
I need to manage a lot of serial port with a 18F87K22. I know that it has 2 hardware uart and up to four software uarts. But I need about 24 serial port. I haven't found how to change the u ... |
Topic: Problem with 3x4 keypad |
ercarlitosg
Replies: 8
Views: 11644
|
Forum: General CCS C Discussion Posted: Tue Jun 30, 2015 7:16 am Subject: Problem with 3x4 keypad |
The problem is that your 'premise' is wrong.
You are starting from the flexible driver, so (say):
short int ALL_ROWS (void)
{
if (input (row0) & input (row1 ... |
Topic: Problem with 3x4 keypad |
ercarlitosg
Replies: 8
Views: 11644
|
Forum: General CCS C Discussion Posted: Tue Jun 30, 2015 6:48 am Subject: Problem with 3x4 keypad |
re: ...It's a standard black keypad..
Hopefully you've 'rung out' AKA decoded which pins do what function. There is NO 'standard' for keyboards. I have 4 'standard black keyboards' in a drawer here ... |
Topic: Problem with 3x4 keypad |
ercarlitosg
Replies: 8
Views: 11644
|
Forum: General CCS C Discussion Posted: Sun Jun 28, 2015 3:30 am Subject: Problem with 3x4 keypad |
Please post a 'link' to the KPD schematic or mfr/make/model....
Jay
It's a standard black keypad. I don't have the model |
Topic: Problem with 3x4 keypad |
ercarlitosg
Replies: 8
Views: 11644
|
Forum: General CCS C Discussion Posted: Sat Jun 27, 2015 4:31 am Subject: Problem with 3x4 keypad |
Put 10K pullup resistors on all the row pins.
This circuit is what you need on each of the row pins:
+5v
|
<
> 10K ... |
Topic: Problem with 3x4 keypad |
ercarlitosg
Replies: 8
Views: 11644
|
Forum: General CCS C Discussion Posted: Fri Jun 26, 2015 7:48 pm Subject: Problem with 3x4 keypad |
Hello,
I am having trouble with a 3x4 keypad. I am using the flex_kbd driver inverted by me, because I am using pull down resistors instead of pull ups.
Here is the code of flex_kbd:
////// ... |
|