If you connect a logical analyzer to the serial lines, you know for sure if data is being transmitted or not. That would have saved you a lot of time. I always put in my PCB designs a testing point...
Okay, I think I might have solved this one. I didn't have the TRIS of the transmit pin configured as an output. I was under the erroneous impression the UART controller trumped control of any port...
I was originally planning on making 2 sets of MCP23017 circuits; 1 for input with debounce, 1 for output. But even with JLCPCB it comes out to $1 / PCB. I'd like to lower my cost more, and not have...
Use a logical analyzer to see what's coming out of the chip. Compare the output of the SEROUT2 to the output of the HSEROUT2 using the logical analyzer. You might think that your output is 115200,...
I've set the hardware config totally manually from the datasheet and via PBP defines (suggested in the supplementary document PIC18FxxK42_notes) and many hybrids of the 2 methods.
You might want to double check that you are setting the hardware communication correctly. I have used the code below to set the HSEROUT/HSERIN for the 18F4550. You might want to check the correct...
Published on - 23rd April 2010 19:39
Number of Views: 6191
1. How can I reference a BIT in a BYTE?
2. How can I reference a BIT in a WORD?
3. How can I reference a BIT in a BYTE ARRAY?
4. How can I reference a BIT in a WORD ARRAY?
5. How can I reference a BYTE in a WORD ARRAY?
...
Re: hserout issues on the 18F26K83
If you connect a logical analyzer to the serial lines, you know for sure if data is being transmitted or not. That would have saved you a lot of time. I always put in my PCB designs a testing point...
rsocor01 Yesterday, 17:53