AnsweredAssumed Answered

How to configure Vybrid SCI0 as serial terminal

Question asked by Abdul Nihad on Feb 20, 2014
Latest reply on Feb 27, 2014 by Juan Antonio Gutierrez Rosas

Hi,

 

JTAG:  DSTREAM

IDE: DS-5

 

We are facing some issue on configuring vybrid SCI0 (PTB10 and PTB11) as serial terminal both on vybrid tower and our custom platform.

 

By default MQX uses SCI1(PTB4 and PTB5) as serial port in vybrid tower system. How to enable SCI0 as serial RS232 port in vybrid tower system?. Our custom board uses SCI0 as serial terminal.  So I tried to validate the SCI0 on vybrid tower system

 

In vybrid tower system We need to configure SCI0 as a serial port. The pin used is

B15 ----- SCI0_TX (I have connected RS232 to USB TTL convertor probe on TP12 )

D14 ----- SCI0_RX (I have connected RS232 to USB TTL convertor probe on TP14 )

 

When I run hello world sample application, it is not printing anything on console.

 

Modification I have done in MQX to configure SCI0 as serial port as below. Also let me know if I miss some thing on configuration

 

twrvf65gs10_a5.h

------------------------------------------------------

#define BSP_DEFAULT_IO_CHANNEL                        "ttya:"
#define BSP_DEFAULT_IO_CHANNEL_DEFINED

 

 

user_config.h
----------------------
#define BSPCFG_ENABLE_TTYA       1
  #define BSPCFG_ENABLE_ITTYA      1
#define BSPCFG_ENABLE_TTYB       0
#define BSPCFG_ENABLE_ITTYB      0

 

Thanks

Nihad

Outcomes