Comprehensive GPIO and Signal Multiplexing Training for .NET+OS 6.1
110 likes | 228 Vues
Enhance your understanding of GPIO APIs and signal multiplexing in .NET+OS 6.1 through this focused training program. Learn how design-time trade-offs affect pin counts, and how to effectively manage function multiplexing based on system requirements. This training also covers legacy support for GPIO, the implications of compile-time API checks, and optimization techniques for reducing unit costs. Get hands-on experience with configuring serial ports, LCD setups, and efficient use of timers, DMA channels, and interrupts. Master GPIO customization and the management of input and output states.
Comprehensive GPIO and Signal Multiplexing Training for .NET+OS 6.1
E N D
Presentation Transcript
NET+OS 6.1 Signal Multiplexing • System tradeoffs affecting pin count at design-time. • NS9750 unit cost reduced by conserving pins. • Applications select their function multiplexing based on system requirements. See HW Ref Manual. • NS9750 multiplexing includes: • Serial • IEEE-1284 • LCD • Timers, DMA, Interrupts • GPIO
NET+OS Legacy Support • Signal Multiplexing not addressed in legacy product. • Drivers would configure as needed. • Last come / Last served • It’s always good to be the last thread spawned.
NET+OS 6.1 Compile Time API • One header file contains all the multiplexing settings. • Multiplexing errors are caught at compile time. • System verification tool. • Located in Platform directory: gpio.h • Either assign a group or leave it internal. • Pins with all functions internal are GPIO enabled
Multiplexing Serial • Four serial ports A through D, map to “/com/0” through “/com/3” • 2, 4, 6, 8 wire applications • SPI
Multiplexing LCD • The LCD can be configured: • 4, 8, 18, 24 bit • Dual 4 or 8 bit applications • LCD Line End signal can be routed separate. • Not required in all LCD applications.
Multiplexing IEEE-1284 • IEEE-1284 • Some signals available on primary or alternate pins
Other Multiplexing • USB Over-current • USB Power Relay • Ethernet CAM • 2 DMA channels • 16 Timers • 4 IRQ’s
GPIO Pins • All unassigned pins are available for GPIO • Defaults to inputs • Can be set to output, initial value 0 or 1. • Two convenience functions • MCgetGPIOpin • MCsetGPIOpin
Review Current gpio.h • Easy and Fast BSP customization. • Remove multiplexing dependencies from the drivers.