Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— 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.


Download ppt "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."

Similar presentations


Ads by Google