Hi Rob,

I didn't test internal osc but blink + serial now works like a charm,
thanks.
Thanks also for your nice fix about baudrate.

How did you program 18F27J53 ? Using Wisp ?

cheers,
Seb

2011/3/25 Rob Hamerling <[email protected]>

>
> Hi Seb,
>
>
> On 2011/03/25 17:35, Sebastien Lelong wrote:
>
>> Thanks ! How could I miss that, I triple-checked particularly these
>> registers... I'll update my code and test asap.
>>
>
> Proves that even you are human!
>
>
> And by the way, my exercise had a side effect.
>
>
>     I've taken the sample 18f2450_serial_hw_int_cts.jal, modified the
>>    PIC of the include to 18f27j53, set the clock to 16 MHz and adapted
>>      config bits settings to what the 18f27j53 supports.
>>    It runs fine (at 115200 bps), both input and output are OK.
>>
>>    I also tested with the internal oscillator at 4 and 8 MHz and with
>>    serial speeds of 2400 and 9600 bps: no problem!
>>
>
> At first I tried to use 115200 bps with the INTOSC at 8 or 4 MHz. But this
> gave an error message: baudrate deviation too large. The easy way out was to
> choose a lower baudrate.  Later I found out that it was something with
> usart_common.jal: see issue #151. With a provisional change I can now use
> 115200 bps with low Fosc values.
>
>
> Regards, Rob.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to