Author |
Message |
Topic: Read from a 16C55A using CCSLOAD? |
gaugeguy
Replies: 10
Views: 869
|
Forum: General CCS C Discussion Posted: Tue Mar 04, 2025 3:29 pm Subject: Read from a 16C55A using CCSLOAD? |
I believe the 16C55 used parallel programming instead of the serial programming so new serial only programmers will not work. |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Wed Feb 05, 2025 7:18 am Subject: manchester decode |
bulut_01,
Where did you get your repeated references to UART and KEELOQ from? |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Feb 04, 2025 3:33 pm Subject: manchester decode |
You have made a lot of statements about what you have for hardware. Many of those don't seem accurate. Only you know what you have, or maybe you are not even sure. |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Thu Jan 30, 2025 9:02 am Subject: manchester decode |
When you read the pin state, toggle a different output pin. Look at both the input pin and output pin on a logic analyzer to see if you are sampling at the correct time in the bit. |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Wed Jan 29, 2025 3:51 pm Subject: manchester decode |
The reason Manchester encoding exists and why it is used is that the clock is imbedded in the data. You don't have to know the exact clock or bit rate you just have to be somewhat close (+/- 20%). T ... |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Wed Jan 29, 2025 3:08 pm Subject: manchester decode |
On your logic capture, remove the UART decoding as it is invalid and is causing confusion. |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Wed Jan 29, 2025 7:59 am Subject: manchester decode |
It is so shocking to see framing errors ("!") in the data when you are trying to read data that is not UART formatted... |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2025 12:36 pm Subject: manchester decode |
0xD5 is a problem. binary 11010101 -> 11 01 01 01
11 and 00 are not valid for Manchester. Only 10 or 01 are allowed.
Each bit is either a high to low transition or low to high transition with t ... |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2025 11:01 am Subject: manchester decode |
A Manchester bit stream cannot be read in through a UART.
Start over and read the bit stream in correctly.
No amount of software can fix permanently corrupted data, which is what you get trying to u ... |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2025 10:51 am Subject: manchester decode |
bulut_01
How are you reading the bit stream into the PIC processor? |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2025 10:37 am Subject: manchester decode |
UART has a start and stop bit for every byte. 10 bits make a byte
Manchester is a continuous stream of bits. The bytes are not separated. |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2025 10:01 am Subject: manchester decode |
Also,
0x66 0xA6 0x55 0x35 0xD3 0x2D 0x6A 0x65 0x59 0xD8
cannot be Manchester encoded as 0xD, 0x3, 0x8, 0x2 are invalid. |
Topic: manchester decode |
gaugeguy
Replies: 294
Views: 54642
|
Forum: General CCS C Discussion Posted: Tue Jan 28, 2025 9:44 am Subject: manchester decode |
In Manchester each bit is either a 01 binary or 10 binary.
0x66 is 01100110 binary so it decodes to either hex A or hex 5 |
Topic: frequency of lc oscillator |
gaugeguy
Replies: 20
Views: 8296
|
Forum: General CCS C Discussion Posted: Fri Jan 03, 2025 10:21 am Subject: frequency of lc oscillator |
sifirzero1,
Have you ever written code for a PIC processor before?
You seem to not have an understanding of the processor operation or programming. |
Topic: frequency of lc oscillator |
gaugeguy
Replies: 20
Views: 8296
|
Forum: General CCS C Discussion Posted: Tue Dec 31, 2024 11:14 am Subject: frequency of lc oscillator |
You can count the number of cycles received in a set amount of time or you can measure the time for one or move cycles to complete.
Since you haven't answered the previous requests for details the ... |
|