Author |
Message |
Topic: Command line for ICD interface - factory programming |
robleso7473
Replies: 4
Views: 6055
|
Forum: General CCS C Discussion Posted: Tue Feb 06, 2024 7:13 pm Subject: Command line for ICD interface - factory programming |
Thanks temtronic. |
Topic: Command line for ICD interface - factory programming |
robleso7473
Replies: 4
Views: 6055
|
Forum: General CCS C Discussion Posted: Tue Feb 06, 2024 5:26 pm Subject: Command line for ICD interface - factory programming |
Maybe I'm going to answer my own question but is ccsloader the command line version of the GUI ccsload? Was not easy to find this information if that's the case.
O. |
Topic: Command line for ICD interface - factory programming |
robleso7473
Replies: 4
Views: 6055
|
Forum: General CCS C Discussion Posted: Tue Feb 06, 2024 2:51 pm Subject: Command line for ICD interface - factory programming |
Hello once again,
I thought my yearly CCS forum visit was satisfied last month but here I am again!
So, I am close to launching my first product and I'm still working out the factory testing det ... |
Topic: PIC24FJ32GU205 2nd UART will not receive |
robleso7473
Replies: 14
Views: 11202
|
Forum: General CCS C Discussion Posted: Tue Feb 06, 2024 2:43 pm Subject: PIC24FJ32GU205 2nd UART will not receive |
I remember those days where you had to whip out the UV eraser.... How far we've come yet we still want it faster and are never really satisfied. |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 2:27 pm Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
Hi Jeremiah,
Thanks for this information.
If I follow you single #use i2c definition where do I assign the I2C pins for both ports? I tried entering them all on a single line but it wouldn't comp ... |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 1:27 pm Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
I am using the two HW I2C buses. Do you know if i2c_speed() function sets clock speed on both I2C ports? I tried changing speed on I2C_PORT1 but it doesn't change while on I2C_PORT2 it does change.
... |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 12:11 pm Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
Hi Ttelmah,
Ok I understand. I'm just now discovering that the TCA9517A level shifter is designed for tandard and fast mode I2C :(
I am getting FM+ devices to respond at 1MHz but I have to cr ... |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 12:01 pm Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
Forgot to ask this.
Is there a way for me to post a .bmp or .jpg image on these replies? I would like to upload the scope waveform i'm seeing. |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 11:58 am Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
Hi Ttelmah,
Well, I am using a TCA9517A I2C level shifter which has an odd vih requirement. It's definitely affecting the timing (basically it's holding the MCU I2C_CLK low for approximately 200ns ... |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 11:07 am Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
Hi Temtronic,
Thanks for your response.
There's no silly questions, only stupid responses.
Yes, this part is specified for 1MHz I2C bus. Page 458 of Microchip DS30010221D spec.
I am using ... |
Topic: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
robleso7473
Replies: 13
Views: 10789
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2024 10:18 am Subject: How do you set FM+ (1MHz) I2C for PIC24FJ32GU205?? |
Hello all,
I have been using my HW I2C port on my PIC24FJ32GU205 without issues up to fast mode (400kHz) but as soon as I switch speed to 1MHz, it tops out at about 570.342kHz. I am using the &quo ... |
Topic: PIC24FJ32GU205 2nd UART will not receive |
robleso7473
Replies: 14
Views: 11202
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2024 2:01 pm Subject: PIC24FJ32GU205 2nd UART will not receive |
I try to get away without reading the spec as much as possible but it's always those mundane details like PPS assignments that get me.
One of these days when I can't go to sleep I'm going to read ... |
Topic: PIC24FJ32GU205 2nd UART will not receive |
robleso7473
Replies: 14
Views: 11202
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2024 1:41 pm Subject: PIC24FJ32GU205 2nd UART will not receive |
Problem Resolved!!
RB8 was not a mappable PPS pin so I couldn't route UART2 RX internally to that pin.
I just swapped pins with RB7 and now I see characters rolling up into UART2.
You can clo ... |
Topic: PIC24FJ32GU205 2nd UART will not receive |
robleso7473
Replies: 14
Views: 11202
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2024 1:10 pm Subject: PIC24FJ32GU205 2nd UART will not receive |
I tried posting this twice and it's not appearing on the forum. Wonder if server's down or I had something on my post that was flagged.
Lets try it one more time.
Temtronic:
I noticed on pin ... |
Topic: PIC24FJ32GU205 2nd UART will not receive |
robleso7473
Replies: 14
Views: 11202
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2024 12:55 pm Subject: PIC24FJ32GU205 2nd UART will not receive |
Hi gaugeguy,
I've used fixedio for years without issues. I don't think that is contributing to this issue as I have tested it out on UART1 and it's working fine. The issue is with UART2 RX pin B8 ... |
|