PIC-PIC-PC with USART and USB

Status
Not open for further replies.

zin3171

New Member
Hello. I have a traouble, please give me a someone idea.

I use two PICs and PC. Two PICs are 18F4550. In this thread, I call them PICa and PICb.
I would like to process the data from PIC18F4550 (PICb which sends data with USART) to PC through PIC18F4550 (PICa which uses USB to send PC and USART to recieved from PICb). Many things were investigated and it turned out in PIC-PIC that communication is possible using USART.

Although I would like to recieve text by PIC, the PC window does not output any words.

I use MPLAB C18 compiler and a CDC class of MicroSlotion. I connect with jumper wire PICa RC7/RX - PICb RC6/TX and PICa RC6/TX - PICb RC7/RX.
PICa use 20MHz Extornal Ceramic Osccirate and PICb use 8MHz Internal Osccirate.
baud rate is 9600.

PICb connects to toggle switch with RA1.
 

Attachments

  • PICa.txt
    13.3 KB · Views: 291
  • PICb.txt
    1.1 KB · Views: 178
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…