Menu

#230 PIC12F1822: RS232 Tx doesn't work unless Rx also enabled

None
closed-fixed
None
5
2017-09-16
2017-09-15
Remy Horton
No

With the PIC12F1822 chip, RS232 transmission (TXEN=1) does not work unless reception (CREN=1) is also enabled. With the attached source code, output on gpsim's UART only appears if CREN=1 is uncommented.

Tested using revision 2422 from Subversion.

I have also tested the compiled firmware (with and without CREN=1) on a physical PIC12F1822 chip, and in both these cases RS232 output is seen, unlike with gpsim.

1 Attachments

Discussion

  • Roy Rankin

    Roy Rankin - 2017-09-16
    • status: open --> closed-fixed
    • assigned_to: Roy Rankin
    • Group: -->
     
  • Roy Rankin

    Roy Rankin - 2017-09-16

    Fixed SVN 2423. Start baud rate generator even if only tx enables.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB