请问,版主:
am1808的pru实现的softuart的奇偶校验问题解决了吗?
http://processors.wiki.ti.com/index.php/Soft-UART_Implementation_on_OMAPL_PRU_-_Software_Users_Guide#Location_of_the_Source_Code
这个wiki上说是支持的:
Features
The Soft-UART implementation supports the following features:
-
- 6 – 8 bits per character (configurable)
- LSB-first
- 1 or 2 stop bits
- Receiver oversampling of x8 and x16 (configurable)
- Parity generation and error detection (even, odd, or no parity)
- Configurable FIFO depth from 1 to 16
- Configurable FIFO timeout
- Configurable McASP serializer mapping for each TX & RX signal
- Configurable half or full duplex
- Independent baud rates supported for Soft-UART ports
- Configurable maximum baud rate (up to 115200 baud)
- Dependent baud rate for each Soft-UART based upon software-configurable maximum baud rate divided by 1, 2, 4, 6, 12, 16, 24, 48, 64, 96, 192, & 384
- Two – four full duplex Soft-UARTS per PRU
- NOTE: The number of UARTs supported depends on software configuration options and baud rate of each UART. Refer to the Calculating Number of Supported Soft-UARTs and Soft-UART Configuration Options sections for additional details.
http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/125583.aspx
上面的连接是ti的TI E2E Community 关于pru uart的奇偶检验问题:2. Parity is a planned addition for 4Q.
Tony Tang:
支持。
Haohua Qin:
谢谢,请给点资料吧
Haohua Qin:
自己搞定了,什么事还是靠自己才有谱!
Jockey:
回复 Haohua Qin:
你好
为什么 我移植后的 PRU suart 只能写数据 ,而不能读取数据呢?
joke ness:
回复 Haohua Qin:
你好,直接拷贝那个内核就好了嘛,看ti上说还要firmware和openembed,那两个不需要吗