【问题】 k60 uart0—uart5 FIFO深度设置

2020-02-20 20:53发布

K60 UART0——UART5  FIFO深度可以根据用户自己配置吗?? 这个寄存器 好像只读啊 UARTx_PFIFO --  TXFIFOSIZE RXFIFOSIZE
一般片子都是可以设置的啊,但是这几天对K60测试结果是不能设置!

这是我们测试结果
UART0  FIFO深度  8个字节
UART1  FIFO          8个字节
UART2  FIFO          1个字节
UART3  FIFO          1个字节
UART4  FIFO          1个字节
UART5  FIFO          1个字节

有没有谁亲自 实际测试过??  

数据比较多,不用FIFO效率很低啊

如果真是这样,飞思卡尔K60 太坑了吧
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
13条回答
FSL_TICS_Robin
2020-02-21 02:02
楼主你好

UART5的FIFO只有1层深度。
在“52.3.16 UART FIFO Parameters (UARTx_PFIFO)”的Note里有这么一段话(如下文)意思就是让你去看“Chapter 3 Chip Configuration”章节里uart模块具体描述。
* Notes:
TXFIFOSIZE field: The reset value depends on whether the specific UART instance supports the FIFO and on the size of
that FIFO. See the Chip Configuration details for more information on the FIFO size supported for each
UART instance.

RXFIFOSIZE field: The reset value depends on whether the specific UART instance supports the FIFO and on the size of
that FIFO. See the Chip Configuration details for more information on the FIFO size supported for each
UART instance.


从第三章的“3.9.6.1 UART configuration information”里就能够看到除了UART0和UART1有8层fifo,其他uart模块只有1层fifo。(如图)

uart5 fifo.jpg (109.81 KB, 下载次数: 0)

下载附件

2014-10-23 15:42 上传

一周热门 更多>