Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added xtend_rssi module, pwm_meas and pwm_input mcu peripheral for lpc21xx arch #88

Merged
merged 10 commits into from
Nov 14, 2011

Conversation

scdwyer
Copy link
Contributor

@scdwyer scdwyer commented Nov 14, 2011

Cherry-picked previous changes onto paparazzi/dev. Please let me know if other changes needed.

The two module system compiles on microjet_example.xml, but hasn't been tested yet. The original single module method was tested on a TWOG with the radio modem on the ground, not in flight. No changes to the mcu_periph things since the test.

PWM input currently only works on lpc21xx arch, with input channels setup focusing on TWOG/Tiny 2. arch, but relatively easy to add more cases.

pwm_input got moved to a mcu_periph for hw access, got rid of some available channels that seem to conflict with generally in use resources (except perhaps in other arch use cases, like csc or motor bench testing).

pwm_meas is just a wrapper module that initializes the hw so other modules do not initialize the same pwm_input twice

xtend_rssi module reads in the pwm duty cycle from a Digi 9Xtend radio modem and sends a message with the duty %, rssi dB above fade margin and the datalink time, useful in checking range. Depends on the pwm_meas module to initialize.

See also #86

scdwyer and others added 10 commits November 14, 2011 00:14
…ule to compile properly, sources and headers not being included properly
* added pwm_input.c and pwm_input_arch.c to sources
* make pwm_input_isr normal void functions for now
* define PWM_INPUT_ITx to zero if not used
…resources for regular autopilot usage, can be added later if needed for something, cleaned up files a bit, fixed a couple mistakes (forgot a couple vars and changes on chan2)
…wm_input hw access and xtend_rssi module that uses measured pwm input values
flixr added a commit that referenced this pull request Nov 14, 2011
Added xtend_rssi module, pwm_meas and pwm_input mcu peripheral for lpc21xx arch
@flixr flixr merged commit 01c5059 into paparazzi:dev Nov 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants