1 / 11

NET+OS 6.1 Training

NET+OS 6.1 Training. GPIO APIs. 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.

elisa
Download Presentation

NET+OS 6.1 Training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NET+OS 6.1 Training

  2. GPIO APIs

  3. 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

  4. 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.

  5. 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

  6. Multiplexing Serial • Four serial ports A through D, map to “/com/0” through “/com/3” • 2, 4, 6, 8 wire applications • SPI

  7. 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.

  8. Multiplexing IEEE-1284 • IEEE-1284 • Some signals available on primary or alternate pins

  9. Other Multiplexing • USB Over-current • USB Power Relay • Ethernet CAM • 2 DMA channels • 16 Timers • 4 IRQ’s

  10. 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

  11. Review Current gpio.h • Easy and Fast BSP customization. • Remove multiplexing dependencies from the drivers.

More Related