完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛
sunllordong 发表于 2019-2-25 07:14 还是没有得到解决啊。但是找到如下描述。原文链接:www.keil.com/.../1517.htm 但是这一段我不理解 “ BaudRate SMOD1 (Double Baudrate) is set to double the baudrate in mode 2. RCLK (Receive Clock Enable) is set to use Timer 2 overflows for the receive clock. If reset, Timer 1 overflows are used. TCLK (Transmit Clock Enable) is set to use Timer 2 overflows for the transmit clock. If reset, Timer 1 overflows are used. Transmit & Receive Baudrate is the actual baudrate for the serial channel. It can be derived from the oscillator frequency, or generated by Timer 1. ” 哪位可以帮帮我啊。 ----------------------------------------------------------------------------------------- Peripheral Simulation For Texas Instruments TUSB3200 — Serial UART (Enhanced Interface) Simulation support for this peripheral or feature is comprised of: Dialog boxes which display and allow you to change peripheral configuration. VTREGs (Virtual Target Registers) which support I/O with the peripheral. These simulation capabilities are described below. Serial Channel Dialog Serial Channel The Serial Channel dialog displays and allows you to edit the configuration of the Serial Interface. Mode displays and allows you to change the serial interface mode of operation (data bit length and baud rate). SCON (Serial Control Register) holds the control and setup information for programming the serial port. SBUF (Serial Interface Buffer Register) contains the transmit data to be sent or received data. SADDR (Slave Address) when the MCU is a master, this selects a slave device for communication with another serial device. SADEN (Slave Address Mask) determines which bits of the slave address are used for communication with another serial device. SM2 (Enable Serial Port Multiprocessor Communication In Modes 2 and 3) is set to suppress a receiver interrupt (RI) if the received 9th data bit is 0. TB8 (Serial Port Transmitter Bit 9) is the 9th data bit to be transmitted for serial modes 2 and 3. RB8 (Serial Port Receiver Bit 9) is set for serial modes 2 and 3 when a 9th bit is received. In serial mode 1, this is the stop bit. SMOD0 (Framing Error Mode) is set to enable framing error detection. FE (Framing Error Detected) is set when an invalid stop bit (framing error) is detected. This bit must be reset by software. REN (Receiver Enable) is set to enable serial data input. BaudRate SMOD1 (Double Baudrate) is set to double the baudrate in mode 2. RCLK (Receive Clock Enable) is set to use Timer 2 overflows for the receive clock. If reset, Timer 1 overflows are used. TCLK (Transmit Clock Enable) is set to use Timer 2 overflows for the transmit clock. If reset, Timer 1 overflows are used. Transmit & Receive Baudrate is the actual baudrate for the serial channel. It can be derived from the oscillator frequency, or generated by Timer 1. IRQ TI (Transmitter Interrupt Flag) is set by hardware for each character frame transmitted. TI is cleared by software. RI (Receiver Interrupt Flag) is set by hardware for each character frame received. RI is cleared by software. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
590 浏览 0 评论
1645 浏览 0 评论
2084 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1537 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1376 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1788浏览 29评论
2817浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1746浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1662浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1676浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-12 07:06 , Processed in 0.737915 second(s), Total 59, Slave 47 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
848