Author |
Message |
Topic: #DEVICE ICD=TRUE vs IDC =False |
Nevillestone
Replies: 4
Views: 4308
|
Forum: General CCS C Discussion Posted: Fri Aug 16, 2024 4:23 am Subject: #DEVICE ICD=TRUE vs ICD =False |
Thanks will try
Did some futher testing and comms on startup is corrupted until a do a serial port reset.
but will try your solution. |
Topic: #DEVICE ICD=TRUE vs IDC =False |
Nevillestone
Replies: 4
Views: 4308
|
Forum: General CCS C Discussion Posted: Thu Aug 15, 2024 12:53 pm Subject: #DEVICE ICD=TRUE vs IDC =False |
HI Guys
Need some help
I have redesigned a amplifier and remote with RS485 comms, I have it working correctly, both devices use a PIC16F18854. It is based on a previous design and I need the remote ... |
Topic: #DEVICE ICD=TRUE problem |
Nevillestone
Replies: 2
Views: 2823
|
Forum: General CCS C Discussion Posted: Thu Aug 01, 2024 1:56 pm Subject: #DEVICE ICD=TRUE |
HI
I need some help here
Ive written some code and tested it using the ICD .
Had the ICD = True through out development.
Going into production I want to turn this off but finding it affects my co ... |
Topic: RS232 waiting for TBE |
Nevillestone
Replies: 13
Views: 32474
|
Forum: General CCS C Discussion Posted: Mon Sep 28, 2020 6:51 am Subject: RS232 waiting for TBE |
Hi thanks for the comments, have code working now.
Regarding the RS-485 comments:
I have 2 RS-485 drives on the same Tx line each one to a different device hence one enable pin is not enough.
Bu ... |
Topic: RS232 waiting for TBE |
Nevillestone
Replies: 13
Views: 32474
|
Forum: General CCS C Discussion Posted: Sun Sep 27, 2020 12:56 pm Subject: RS232 waiting for TBE |
Sorry only saw the comments in the code now will look at them and implement.
Thanks |
Topic: RS232 waiting for TBE |
Nevillestone
Replies: 13
Views: 32474
|
Forum: General CCS C Discussion Posted: Sun Sep 27, 2020 12:48 pm Subject: RS232 waiting for TBE |
HI thanks for the responce
I was under the impression I was using the HW uart
#USE rs232 (UART1,baud=1200,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,stream=PORT1)
I'm poling the bit as the Communicatio ... |
Topic: RS232 waiting for TBE |
Nevillestone
Replies: 13
Views: 32474
|
Forum: General CCS C Discussion Posted: Sun Sep 27, 2020 5:51 am Subject: RS232 waiting for TBE |
Hi guys got no answers on the previous post but did go and search posts for examples struggling though.
I'm trying to do rs232 transmit without a ISR, trying to read either the INT_TBE as a flag or r ... |
Topic: USE RS232 |
Nevillestone
Replies: 2
Views: 9946
|
Forum: General CCS C Discussion Posted: Fri Jul 26, 2019 1:34 am Subject: USE RS232 |
HI
I'm using a serial port for a 485 bus and using USE RS232 built-in function.
It works however I'm having to control the enable bit manually back to receive mode after transmitting.
Is there a s ... |
Topic: Flash write problem |
Nevillestone
Replies: 8
Views: 19893
|
Forum: General CCS C Discussion Posted: Mon Dec 17, 2018 12:49 pm Subject: Flash write problem |
Thanks
it workes...
However it seems we are going backwards when we have to start coding in assembler after we have paid for a C compiler. |
Topic: Flash write problem |
Nevillestone
Replies: 8
Views: 19893
|
Forum: General CCS C Discussion Posted: Mon Dec 17, 2018 1:59 am Subject: Flash write problem |
Thanks for the detailed reply.
However your code does not fill address 0x380-038F with the message if you simulate the code. (or address 0x200 tried both in the MPLABX simulator and on a chip).
I'm ... |
Topic: Flash write problem |
Nevillestone
Replies: 8
Views: 19893
|
Forum: General CCS C Discussion Posted: Sat Dec 15, 2018 1:36 am Subject: Flash write problem |
HI temtronic
Thank for your suggestion.
Tried them still no luck.
I'm trying to write 1 byte into flash for configuration purposes will do the erase once I have the code working.
My compiler v ... |
Topic: Flash write problem |
Nevillestone
Replies: 8
Views: 19893
|
Forum: General CCS C Discussion Posted: Thu Dec 13, 2018 1:42 pm Subject: Flash write problem |
HI Guys
Maybe someone can point me in the right direction here.
I'm upgrading a Pic 12F675 to 12F1571.
But having problems with the flash write.
I'm using the write_program_memory(i, value, 2) ... |
Topic: Using the 24 bit wizard |
Nevillestone
Replies: 3
Views: 10285
|
Forum: General CCS C Discussion Posted: Tue May 23, 2017 1:37 pm Subject: Using the 24 bit wizard |
Thanks will try |
Topic: Using the 24 bit wizard |
Nevillestone
Replies: 3
Views: 10285
|
Forum: General CCS C Discussion Posted: Tue May 23, 2017 8:38 am Subject: Using the 24 bit wizard |
Hi
Compiler Version PCD 5.071d
Chip 24EP256MC204
I've used the 24 bit wizard to generate the following code to get the PWM on this device working.
There is no output on B14 or B15.
I've distil ... |
Topic: ADC on PIC24HJ128GP204 |
Nevillestone
Replies: 3
Views: 10062
|
Forum: General CCS C Discussion Posted: Wed May 17, 2017 9:27 am Subject: ADC on PIC24HJ128GP204 |
Thanks, that does work. I'll define some names. |
|