(2011-02-24, 22:21:24)Mikael Gustafsson Wrote: 9600 is good to start with. You can read about brg16 in the uart section in the data sheet.
If you use a 20MHz crystal you should set the oscillator config to HS and not Ext rc, see section 2 in the data sheet.
Hi Mikael
I have tried everything I can think of ! Please have a look at the various attached snapshots to see if I have made a mistake somewhere.
I see that there are advanced settings in the DS30 Gui should anything be set there? I did have a good look at the data sheet for this chip and I tested my UART on my board by putting a 16F887_20Mhz chip in the place of the 18F4620_20Mhz and it works with the boot loader so I know that my RS232 is working. ( In all the applications I am using an External 20Mhz Xtal)
There must be a setting or something that I have missed, Please have a look at the data and see what you think.
Regards
Craig
(2011-02-25, 18:21:40)craig Wrote:(2011-02-24, 22:21:24)Mikael Gustafsson Wrote: 9600 is good to start with. You can read about brg16 in the uart section in the data sheet.
If you use a 20MHz crystal you should set the oscillator config to HS and not Ext rc, see section 2 in the data sheet.
Hi Mikael
I have tried everything I can think of ! Please have a look at the various attached snapshots to see if I have made a mistake somewhere.
I see that there are advanced settings in the DS30 Gui should anything be set there? I did have a good look at the data sheet for this chip and I tested my UART on my board by putting a 16F887_20Mhz chip in the place of the 18F4620_20Mhz and it works with the boot loader so I know that my RS232 is working. ( In all the applications I am using an External 20Mhz Xtal)
There must be a setting or something that I have missed, Please have a look at the data and see what you think.
Regards
Craig
Hi Mikael
Please see the next two attachments they follow the previous five sent they would not fit on the same post.
PS. I have tried various board rates when using the DS30 Gui from 9600- 115200 but the results are all as per the attached Snapshots.[b]
Regards
Craig