Re: [Flashforth-devel] strange answer from UART
Brought to you by:
oh2aun
From: Thomas B. <bus...@gm...> - 2014-03-18 19:02:48
|
Hallo, sorry for disturbing - but thats are my further test results: Freq - OSC - Baud = Status ------------------------------- 16 MHz - HSPPL - 9600 = working 16 MHz - HSPPL - 38400 = working 8 MHz - INTIO67 - 9600 = working (without oszi) 32 MHz - INTIO67 - 9600 = working (without oszi and PPLEnable) 32 MHz - INTIO67 - 38400 = working (without oszi and PPLEnable) It seems I test the last weekend everytime with a wrong configuration :-) Thank You all Bye Thomas 2014-03-17 19:24 GMT+01:00 Mikael Nordman <mik...@pp...>: > Hello ! > With the 4 MHz external clock the following should work: > > HSPLL , 9600 , constant clock=d'16000000' > HSPLL , 38400 , constant clock=d'16000000' > > > FlashForth always configures the internal clock to run at 8 MHz. > With the internal oscillator the following should work. > INTIO67 , 9600, constant clock=d'8000000' > > The INTIO67 with PLL requires that the PLL is enabled in software. > There is a define missing in the processor configuration file for that. > > The INTIO67 with PLL requires that you define in > p18f2525-2620-4525-4620.cfg > ;;; Activate 4xPLL from SW for INTOSC modes in FlashForth 5.0 > #define PLL ENABLE ; ENABLE or DISABLE > > and then these should also work > > INTIO67 , 9600 , constant clock=d'32000000' > INTIO67 , 38400 , constant clock=d'32000000' > > BR Mike > > On 03/17/2014 06:14 PM, Thomas Buschhardt wrote: > > Hallo now I was able to run it :-) > > > > Here are my tested configs > > OSC - Baud = Status > > ----------------------------------- > > ECIO6 - 9600 = working > > ECIO6 - 14400 = not working > > ECIO6 - 38400 = not working > > INTIO7 - 9600 = not working (without oszi) > > INTIO67 - 9600 = not working (without oszi) > > HSPLL - 9600 = not working > > HSPLL - 38400 = not working > > > > Thank you all very much > > Thomas > > > > > > 2014-03-17 13:03 GMT+01:00 Peter Jacobs <pe...@me... > > <mailto:pe...@me...>>: > > > > Thomas, > > Looking at sections 2.x in the datasheet, it seems to me that the > > PLL is not exclusively for crystals and resonators; it available > > to the 4 and 8MHz internal oscillator. Figure 2.8 shows it > > limited to these options. That figure is (presumably) a > > simplified diagram and I don't know enough to be sure what would > > happen if you set OSC=HSPLL and drive the OSC1 pin with your > > external oscillator. Would you be abusing the silicon? You > > wouldn't be able to use RA6 as an IO pin but that might be OK > > since you don't show it in use on your diagram. > > Peter J. > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > -- www.aloedb.org - database for aloes |