Dear all,
I am having problems in sending serial data from my computer to PIC. Previously my program has no problem in sending the serial data via RS232 comm port. I used 18F1320 before this.
But lately, by using the same program and interface (swordfish) on a 18F2525, the serial data transmission stream ran into errors. I am lost in troubleshooting this. But as I look closer into the USART module, I noticed there are two options which I did not set, ie taking the default values set by the compiler.
There is this option for BRGH16 which I didn't set. I know that the 18F2525 has EUSART module. I let the option as it be, which is false. What does this option do? Can anyone explain.
Thanks
Regards,
Liak
USART module options
Moderators: David Barker, Jerry Messina
liak you will find this post very usefull, look at post number 6, it has a link to Mister E picmulticalc program, it is a real must have tool and will help with many of the modules in a PIC.
http://www.sfcompiler.co.uk/forum/viewt ... cmulticalc
http://www.sfcompiler.co.uk/forum/viewt ... cmulticalc
Dear Doj,
Thanks for the info and link. Shame on me. Should have found the thread by the search. But I find php search very broad and not specific.
Anyway thanks. I have sort of found the root of the problem. I will put it in another thread. It's totally unrelated however to the USART transfer.
The module works again now. I am glad it does again. I nearly lost confidence in myself to program PIC and SF(nearly!!).
Regards,
Liak
Thanks for the info and link. Shame on me. Should have found the thread by the search. But I find php search very broad and not specific.
Anyway thanks. I have sort of found the root of the problem. I will put it in another thread. It's totally unrelated however to the USART transfer.
The module works again now. I am glad it does again. I nearly lost confidence in myself to program PIC and SF(nearly!!).
Regards,
Liak