Ruslan (19.10.2010 11:43, просмотров: 164) ответил Evgeny_CD на Диавол таится в деталях. Просто у NXP все выглядит хорошо продуманным.
Ага, вот к например SGPIO: Serial GPIO (SGPIO) = GPIO + Timer/Shift Register:
– Used to create or captures multiple real time serial data streams.
– No more having to write code loops to manipulate GPIO in real time.
– Say goodbye to CPU intensive big banging!
SGPIO = Proprietary Serial Interface
SGPIO can be used to emulate proprietary serial interfaces
• Problem: Lots of peripherals on the market use non-standard serial
interfaces (LCD drivers, audio codec etc).
• Standard Microcontroller Solution (no SGPIO):
• Application designer has to write CPU intensive loops to create required bit
streams – painful bit banging!
• CPU is 100% occupied while waveform(s) are generated.
• LPC4300 based Solution:
• Configure SGPIO to generate desired waveform(s) with just a few register
writes.
• Interrupt generated when data is clocked out – CPU is not blocked.