Author |
Message |
Topic: RS232 putc and putc_send |
PICAlison
Replies: 5
Views: 20043
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2021 8:24 am Subject: RS232 putc and putc_send |
Update: I need a TXISR in the setup to enable to us "TBE interrupt for transmitting data".
Default is NOTXISR ... |
Topic: RS232 putc and putc_send |
PICAlison
Replies: 5
Views: 20043
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2021 8:18 am Subject: RS232 putc and putc_send |
Here's my setup directive for the uart:
// with flow control
#use rs232(stream=BLUETOOTH, UART1, baud=115200, RTS=PIN_B5, CTS=PIN_B4, RECEIVE_BUFFER=20, TRANSMIT_BUFFER=20, stream=UART_PORT1, xm ... |
Topic: RS232 putc and putc_send |
PICAlison
Replies: 5
Views: 20043
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2021 6:46 am Subject: RS232 putc and putc_send |
I've setup my uart and if I don't use flow control I can send out data using 'putc'. But when I turn the flow control on (RTS/CTS) I have to follow each putc with a putc_send.
It appears that putc ... |
Topic: RS232 handshaking problem (CTS not going low) |
PICAlison
Replies: 4
Views: 17323
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2021 6:43 am Subject: RS232 handshaking problem (CTS not going low) |
Thanks everyone, my fault, RTS & CTS not wired up right! |
Topic: RS232 handshaking problem (CTS not going low) |
PICAlison
Replies: 4
Views: 17323
|
Forum: General CCS C Discussion Posted: Thu Jul 22, 2021 9:12 am Subject: RS232 handshaking problem (CTS not going low) |
I can't seem to get the handshaking working on my PIC24FJ1024GB610.
I need hardware handshaking, RTS & CTS. The CTS line never goes low.
Must be doing something silly wrong. Any ideas anyone? ... |
Topic: IDE Help |
PICAlison
Replies: 4
Views: 17138
|
Forum: General CCS C Discussion Posted: Mon Jul 19, 2021 6:27 am Subject: IDE Help |
I have included all the files, it wouldn't have compiled otherwise.
I had some files in sub directories and some in with the main c file. No idea why they didn't show up.
I created a new proj ... |
Topic: IDE Help |
PICAlison
Replies: 4
Views: 17138
|
Forum: General CCS C Discussion Posted: Fri Jul 16, 2021 7:06 am Subject: IDE Help |
I've started a project in the CCS Compiler IDE, but not all of my source files appear in the 'Files' Window.
What is the best method of adding source files / creating a project, so that the IDE is ... |
Topic: USB Descriptor bigger than Endpoint size! |
PICAlison
Replies: 1
Views: 11031
|
Forum: General CCS C Discussion Posted: Wed Jun 16, 2021 9:39 am Subject: USB Descriptor bigger than Endpoint size! |
Anyone know how to send a descriptor that's bigger than the endpoint packet size? |
Topic: oscope.exe |
PICAlison
Replies: 4
Views: 17291
|
Forum: General CCS C Discussion Posted: Mon Jun 14, 2021 1:30 am Subject: oscope.exe |
Thanks for the replies.
I thought it was a program written by CCS? It is referenced in their example ex_usb_scope.c.
Surely there is a copy in the installation somewhere or on CCS's site?
I'm ... |
Topic: oscope.exe |
PICAlison
Replies: 4
Views: 17291
|
Forum: General CCS C Discussion Posted: Fri Jun 11, 2021 7:14 am Subject: oscope.exe |
Does anyone know where to find oscope.exe?
(For the USB bulk transfer example)
Thanks |
|