Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 06:39 04 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Max Com1 Data Rate

Author Message
VK2MCT
Senior Member

Joined: 30/03/2012
Location: Australia
Posts: 120
Posted: 04:08pm 19 May 2014
Copy link to clipboard 
Print this post

Hello Gents,

I wanting to use the uMite to read a 250Kbps serial port, but the manual says that Com1 max is 230.4Kbps (tantalizing close).
If the CPU speed is increased to 48MHz (from 40MHz default), Com1 max is still 230.4Kbps according to the manual.
Can anyone suggest a way of achieving 250Kbps ?

Thanks

John Berry.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 07:06pm 19 May 2014
Copy link to clipboard 
Print this post

The firmware will actually let you go to 2823529 baud at 48MHz.

Geoff
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9066
Posted: 07:09pm 19 May 2014
Copy link to clipboard 
Print this post

Something extra for the next release of the manual then?
Smoke makes things work. When the smoke gets out, it stops!
 
VK2MCT
Senior Member

Joined: 30/03/2012
Location: Australia
Posts: 120
Posted: 02:54am 21 May 2014
Copy link to clipboard 
Print this post

Thanx Geoff.

On Uarts, are the Uart registers available via peek or poke ?
At the moment I'm pretty confused about memory mapping in the umite.

John Berry
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 03:15am 21 May 2014
Copy link to clipboard 
Print this post

Yes they are, although you will have to decode the data sheet to find their address and functions. For example the addresses of the registers controlling UARTS 1 and 2 are listed in page 49 of the PIC32MX1XX/2XX data sheets.

GeoffEdited by Geoffg 2014-05-22
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024