l1test without hdlc (sercomm)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Steve Markgraf steve at steve-m.de
Tue Jun 22 00:09:45 UTC 2010


Hi,

At 21.06.2010 23:48 Rust, Marco, wrote:

> Finally the information should be sent to an microcontroller over UART.
> What is the easiest way working for me?

In this case I would suggest swapping the console and the HDLC UART, by 
changing

CONS_UART_NR 0 to 1 in /include/console.h
and
SERCOMM_UART_NR 1 to 0 in /include/comm/sercomm.h

and using the cons_puts() function.

Excerpt from console.h:
/*
This is the direct (IRQ driven) UART console, bypassing the HDLC layer.
You should not need to call those functions unless you've decided to
not use the HLDC layer or have a device with two UARTs
*/

Regards,
Steve




More information about the baseband-devel mailing list