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...
Hi all,
Having issues transmitting numeric data out from the 18F26K83 using hserout. No problems with the software serout2, but for some reason all my numerical data is corrupted for hserout ie....
Hi all,
Few times ago i did this little utility to help in Timer, Usart, Eusart and PWM calc. It have been tested by some user here and there. Thanks to them
'till now, it's seems to be bug free. It assume a minimum of knowledge on your side so far.
I plan to do another version wich will be more complete. It will include more code generation tool. It's still a work in progress but once i'm fixed on the whole idea, i'll post a Trial version.
It will create code for PBP, Swordfish and probably some other compiler.
You have to know it's a tedious job to read all datasheet and be sure everything is correct. For this reason, there's no release date.
Re: hserout issues on the 18F26K83
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...
rocket_troy Today, 05:25