paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] using USB virtual serial for telemetry


From: Martin Mueller
Subject: [Paparazzi-devel] using USB virtual serial for telemetry
Date: Wed, 04 Feb 2009 20:04:41 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Hi,

there is a new feature that allows to use the USB port of the autopilot for telemetry transfer (instead of the serial link).

http://paparazzi.enac.fr/wiki/DevGuide/USB-Serial

It was needed to change the peripheral clock (PCLK) in the LPC2148 to make this possible. Changing this "master" clock affects almost all hardware modules on the chip. The drivers (uart, spi, adc, ...) need to be aware of that changed clock. They have been adapted and are now able to run with different PCLKs.

Please check with caution before you fly with the new cvs code next time. If you want to review the code, please take a look at these registers/functions:

S0SPCCR
 pt_ant_sensors.c

SSPCPSR
 baro_scp.c
 arm7/ADS8344.c
 arm7/booz_test_scp.c
 arm7/spi_hw.c
 coaxial/tl_imu.c
 coaxial/tl_test_mm_main.c

T0PR
 arm7/sys_time_hw.h

T1PR
 arm7/modem_hw.h

AD0CR
AD1CR
 arm7/adc_hw.c
 vor/lpc_vor_convertions.c

U0DLL
U0DLM
U1DLL
U1DLM
 (uart_hw.c)
 (uart_hw.h)

PWMPR
 arm7/baro_MS5534A.c
 arm7/servos_4015_hw.h
 (arm7/servos_4015_hw.c)
 (arm7/servos_4015_hw_new.c)
 coaxial/tl_baro.c

I2C0SCLL
I2C0SCLH
I2C1SCLL
I2C1SCLH
 arm7/i2c_hw.c

Some of the code is not needed for fixed wing or not used any more.

Thanks!
Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]