Uncommon Baud rate
turbo
Posts: 24
Is it possible to send out serial data at 7812 baud with the SX28? I have read through all the manuals and i cant seem to find any info on sending out serial data at uncommon baud rates . If it is not possible what extra component would i need to be able to do this?
Comments
If you are sticking to a standard format without parity checking and without hardware handshaking signal, you might be able to tweak the RTCC configuration generated by a standard SX/B program and reassemble it. But nothing gets done with the the clock being a binary multiple of 7812 within less than one percent or better.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Post Edited (Kramer) : 2/19/2008 2:47:04 PM GMT
I may be able to fudge a little on the baud rate as i dont think the device is super picky on the rate at witch it come in at but 7812 is what the factory ECU used to communicate at.
7812 baud with a 4MHz xtal should not be a problem.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.iElectronicDesigns.com
·
It is obvious that I'm not up to speed on SX/B.
Of course I wonder a bit what a .5 baud is. Is that something like half a person or a one and a half bathroom home?
In truth, the device that does the reception has a bit of tolerance for frequency drift. They poll the pin mutiple times. As I recall, the minimum is 4 times for a good reading, but some do 16 times for each baud. So 7812 baud [noparse][[/noparse]or 7813] for coding purposes is fine.
That comment about having to be a binary multiple is not exactly correct.· The RTCC has some room to make things fit.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
Post Edited (Kramer) : 2/19/2008 2:49:02 PM GMT
Your baud, 7812, is downright tame. Have a look at the first program attached, it should get you going in the right direction with SX/B. If you need to send and receive at the same time I've attached a slightly more sophisticated program that uses interrupt-driven serial; you can in fact send and receive simultaneously at your peculiar baud rate.
Post Edited (JonnyMac) : 2/19/2008 5:48:03 PM GMT
The truth is that I couldn't key up with the fast pace of its development. Now that things have slowed down and been well documented, it is time to take another look. Apparently, you only have to know your target baud and your clock rate to get the results. In SXAsm, you need to work though about 5 times as much.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······