Re: canbus baud
Vic <simranranee-/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Excerpt from jGuru:TINI Faq:- The baud rate is calculated as: baud rate (bits per second) = 18.432 x 10^6 / BRP / (1 + TSEG1 + TSEG2) where 18.432 MHz is the frequency of the clock crystal on the TINI400 and where BRP, TSEG1, and TSEG2 can be set using methods in the com.dalsemi.comm.CanBus class: setBaudRatePrescaler() changes BRP to values between 1 and 256 setTSEG1() changes Timing Segment 1 to values between 2 and 16 setTSEG2() changes Timing Segment 2 to values between 2 and 8 Cheers Jameel --- lgqyxy <[email protected]> wrote: > how to calculate the canbus baud with the > parameters prescaler,tseg1 and tseg2,could you > provide a formula to me? > Thank you very much! > ______________________________________ > > ×¢²áÐÂÀË9Õ×Ãâ·ÑÓÊÏ䣨 > http://mail.sina.com.cn/chooseMode.html £© > > =================================================================== > »ÝÆÕ´ó½±Á¬»·ËÍ£¬¸ßЧ°ì¹«ÀÖȤ¶à! > (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh1.html) > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list > archives: > http://lists.dalsemi.com/mailman/listinfo/tini __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini