3文章/ 0
Last post
pbfn46
Offline
Last seen:6 years 2 months ago
加入:2014-09-02 09:51
UART2on the BASIC EVB

I cannot handle debug prints via UART2. Application "peripheral_examples" works perfectly. As far as I understood the following difference with app_console exists:
1. "peripheral_examples" uses UART. "app_console" uses UART2.
2. "peripheral_examples" works directly with registers and waits until byte is not transmitted (i.e. print-function is blocked during each byte transmission). "app_console" uses FIFO buffers which are processes in separate task.

I have configured timer to start transmission (I send simple dots ('.')) each second. Timer works, debugger stops inside, but terminal window is empty. May be some jumpers should be replaced to work with UART2 instead of UART?

pbfn46
Offline
Last seen:6 years 2 months ago
加入:2014-09-02 09:51
The solution: ports P04_MODE

The solution: ports P04_MODE_REG and P05_MODE_REG should be configured to map UART2 to the pins.

JE_Dialog
Offline
Last seen:1 month 1 week ago
Staff
加入:2013-12-05 14:02
thanks for letting us know

thanks for letting us know you solved the problem. BR JE_Dialog

Topic locked