Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC 18F4580 Problems [solved]
#12
the line i was measuring is the line from the computer to the chip. however i was measuring it before the transceiver chip so not at the PICRX pin. i tried measuring at both places and it seems that when i have data at the input to the transceiver chip (digikey pn ISL4221EIRZ-TTR-ND) i am getting no output to the pic and you can see this in the first attached picture. the top signal is at the PICRX and the bottom is the PCTX line going into the transciever. however, when i load my program directly into the chip and send a 0xC1 via a serial port program i get what is expected on the PICRX line as shown in the second picture.

This tells me that the serial port is not being set up correctly. is there something in the code i am missing specifically in the segment that sets up the serial port? can you guide me to where the uart is set up in the bootloader code?

oh and i am sending at 9600 baud.

Thank a lot in advance

update: i checked the datasheet and confirmed that the uart is set up properly. i have also tried internal and external oscillator settings so i believe it is setup correctly... can anyone think of a way i can check to make sure the internal oscillator is functioning?


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
PIC 18F4580 Problems [solved] - by LMS_EE - 2010-11-23, 22:45:13
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-24, 21:17:07
RE: PIC 18F4580 Problems - by Lotusx - 2010-11-24, 21:18:10
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-24, 22:00:30
RE: PIC 18F4580 Problems - by Lotusx - 2010-11-24, 22:17:36
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-24, 22:49:46
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-29, 15:06:09
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-29, 19:15:36
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-29, 20:42:44
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-29, 21:04:38
RE: PIC 18F4580 Problems - by Lotusx - 2010-11-29, 22:31:46
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-30, 15:30:14
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-30, 21:56:54
RE: PIC 18F4580 Problems - by LMS_EE - 2010-12-01, 14:56:33
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-12-02, 22:16:44
RE: PIC 18F4580 Problems - by LMS_EE - 2010-12-09, 14:55:49
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-12-09, 21:13:53
RE: PIC 18F4580 Problems - by oktayk - 2011-02-15, 13:58:59
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2011-02-15, 16:42:31

Forum Jump:


Users browsing this thread: 1 Guest(s)