Author |
Message |
Topic: PIC24FJ128GA010 - UART operation with fast rise PSUs |
tonymcc
Replies: 2
Views: 4789
|
Forum: General CCS C Discussion Posted: Mon Jul 16, 2012 2:27 am Subject: Thanks - a more elegant solution! |
Hi RF,
Thanks for the suggestion and my apologies for not getting back to the forum any sooner. The inclusion of 'errors' in the #use RS232 statement sorted out the start up problem with the on-bo ... |
Topic: PIC24FJ128GA010 - UART operation with fast rise PSUs |
tonymcc
Replies: 2
Views: 4789
|
Forum: General CCS C Discussion Posted: Thu Jul 05, 2012 7:07 am Subject: PIC24FJ128GA010 - UART operation with fast rise PSUs |
I am using a 24FJ128GA010 in an industrial instrument, developing under PCD V4.134, CCSLOAD V4.037. I use UART2 to transfer data between the processor and a standalone OEM HART modem using a private ... |
Topic: PIC24FJ128GA010 UART2 operation |
tonymcc
Replies: 2
Views: 4384
|
Forum: General CCS C Discussion Posted: Thu Aug 04, 2011 2:25 pm Subject: PIC24FJ128GA010 UART2 operation |
Thanks for your contact FvM, every little helps in these remote situations. We shall try some cut-down code today to see if we an isolate the problem.
thanks again
Tonym |
Topic: PIC24FJ128GA010 UART2 operation |
tonymcc
Replies: 2
Views: 4384
|
Forum: General CCS C Discussion Posted: Thu Aug 04, 2011 5:20 am Subject: PIC24FJ128GA010 UART2 operation |
I am using the above processor under IDE V4.119 with ICD-U64 V2.88. Due to problems with CCSLOAD and this chip (I must detail this to CCS when time allows) I am using an ICD3 and MPLAB to program the ... |
Topic: 24FJ128GA010 - UART2 Tx problem |
tonymcc
Replies: 7
Views: 14612
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2011 9:37 am Subject: 24FJ128GA010 - UART2 Tx problem |
Hi Charlie and FvM,
I am sorry about the code fragments and I realise how difficult it is for someone unfamiliar with the code to make a comment. It will not happen again and I shall only include ... |
Topic: 24FJ128GA010 - UART2 Tx problem |
tonymcc
Replies: 7
Views: 14612
|
Forum: General CCS C Discussion Posted: Fri Jul 22, 2011 2:24 am Subject: 24FJ128GA010 - UART2 Tx problem |
Hi Charlie,
Thanks for the response. I am using pins F4=Rx F5=Tx, the designated peripheral pins for UART2. The data sheet, in Section 9 - I/O Ports states A parallel I/O port that shares a pin ... |
Topic: 24FJ128GA010 - UART2 Tx problem |
tonymcc
Replies: 7
Views: 14612
|
Forum: General CCS C Discussion Posted: Thu Jul 21, 2011 9:31 am Subject: 24FJ128GA010 - UART2 Tx problem - response |
Hi Charlie,
No problem. Code follows:
#include <24FJ128GA010.h>
//#device ICD=TRUE
#FUSES NOWDT //No Watch Dog Timer
#FUSES WPOSTS1 //Watch Dog Time ... |
Topic: 24FJ128GA010 - UART2 Tx problem |
tonymcc
Replies: 7
Views: 14612
|
Forum: General CCS C Discussion Posted: Thu Jul 21, 2011 3:38 am Subject: 24FJ128GA010 - UART2 Tx problem |
Hi,
I am using the above processor under IDE V4.119 with ICD-U64 V2.88. I am building a cut-down Modbus interface using UART2 and I am having difficulties in getting the Tx interrupt to operate - R ... |
Topic: Saving and restoring data EEPROM files to PC for production |
tonymcc
Replies: 0
Views: 23890
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu Jan 20, 2011 4:06 pm Subject: Saving and restoring data EEPROM files to PC for production |
Hi
Compiler is PCWHD V4.114, ICD-U64 running under V4.027, V2.87 firmware and Rev 2 hardware.
I used to use an ICD2 under MPLAB and was able to EXPORT and IMPORT data EEPROM files to set up 'sta ... |
Topic: 18F4620 internal eeprom - PCW 4.116 ICD-U64 Clock 8MHz |
tonymcc
Replies: 3
Views: 5866
|
Forum: General CCS C Discussion Posted: Wed Jan 19, 2011 5:08 am Subject: 18F4620 internal eeprom - PCW 4.116 ICD-U64 Clock 8MHz |
Thanks for the response. The second point regarding the timing between writes and reads is really trivial as you would never do this in an application but it is the first test you would do if you su ... |
Topic: 18F4620 internal eeprom - PCW 4.116 ICD-U64 Clock 8MHz |
tonymcc
Replies: 3
Views: 5866
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2011 8:00 am Subject: 18F4620 internal eeprom - PCW 4.116 ICD-U64 Clock 8MHz |
I have spent a morning wrestling with saving and restoring 18 16bit calibration constants in a t/c scanner I am developing. I came across three unexpected requirements.
1) Address has to be decla ... |
Topic: First use of 18F4620 - Internal oscillator and adc |
tonymcc
Replies: 6
Views: 12394
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 9:41 am Subject: First use of 18F4620 - Internal oscillator and adc |
Thanks again. You are, of course, correct. So, my original #fuse INTRC plus the #use_delay(clock=8000000) directive did work, I just misinterpreted the results. I checked with a few other frequenc ... |
Topic: First use of 18F4620 - Internal oscillator and adc |
tonymcc
Replies: 6
Views: 12394
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 9:25 am Subject: Thanks dyeatman |
I must be going blind to have missed this section in the processor header and not associate with OSCCON in the data sheet. I have tried now using setup_oscillator(OSC_INTRC | OSC_8MHZ);
but still g ... |
Topic: First use of 18F4620 - Internal oscillator and adc |
tonymcc
Replies: 6
Views: 12394
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 8:22 am Subject: First use of 18F4620 - Internal oscillator and adc |
Hi Ttelmah,
Many thanks for the quick response. Compiler is PCWHD V4.114 and the 18F4620 seems to select PCH 16 bit version under the PCW editor Project Wizard. I am using a ICD-U64 running under ... |
Topic: First use of 18F4620 - Internal oscillator and adc |
tonymcc
Replies: 6
Views: 12394
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 5:41 am Subject: First use of 18F4620 - Internal oscillator and adc |
I am moving a simple T/C scanner from an obsolete Forth single board computer to a 18F4620 processor. I want to run the processor from the internal oscillator block at 8MHz but I cannot find the Fus ... |
|