Uart2 on m52235evb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uart2 on m52235evb

1,269 Views
ralu
Contributor III

I am working whit m52235evb, whit internitche OS.

 

I am trying to extend 2 uarts to support 3rd uart (uart2).

I allredy:

 

1. extended uart_desc uarts[]

2. uart_init

3. extended processor_UART_ICR_init

4. added vectors and defines in vectors.s

5. added __interrupt__ uart2_isr

 

 

Interrupts on sending are working, but i dont get anything back, when making hardware loopback.

Does anybody have at least a stupid idea what am i missing?

Labels (1)
0 Kudos
2 Replies

254 Views
MrBean
Contributor I

Did you place the jumpers correctly ? (UART2_EN and COM_SEL)

Do your init routines take in account that PUCPAR is a DUAL function register on a 52235 ? (in contrast to PUAPAR and PUBPAR, those are QUAD function)

0 Kudos

254 Views
GianlucaRottano
Contributor I

Hello, I have noted with MCF52235EVB and FNET 0.8.1 and setting:

FNET_CFG_MCF_SERIAL_PORT_DEFAULT    (2)

a problem related to PUCPAR that is DUAL and not QUAD.

In particular using boot demo examples.

 

Thanks to highlight the difference.

 

Best regards

Gianluca

0 Kudos