Author Topic: First PIC16F with Peripheral Pin Select, DAC, 2 opamps, Logic Cell, COG, NCO  (Read 3713 times)

0 Members and 1 Guest are viewing this topic.

Offline mariushTopic starter

  • Super Contributor
  • ***
  • Posts: 5021
  • Country: ro
  • .
Just found this and I thought maybe you should guys should know... I think it's quite cool.. for $1.2 in quantity it looks like it packs a lot of stuff:

http://issuu.com/eeweb/docs/05_2014_embedded_developer/8?e=7607911/7799579

PIC16F(L)170X/171X microcontrollers combine Intelligent Analog integration with low cost and extreme low power (XLP) to suit a variety of general purpose applications. These 14 to 44-pin devices deliver on-chip Op Amps, Core Independent Peripherals (CLC, NCO and COG), Peripheral Pin Select and Zero-Cross Detect, providing for increased design flexibility.

Digital Peripherals:

• Configurable Logic Cell (CLC):
- Integrated combinational and sequential logic

• Complementary Output Generator (COG):
- Rising/falling edge dead-band control/blanking

• Numerically Controlled Oscillator (NCO):
- Generates true linear frequency control and increased frequency resolution
- Input Clock: 0Hz < FNCO < 32 MHz
- Resolution: FNCO/220

• Capture/Compare/PWM (CCP) module
• PWM: Two 10-bit Pulse-Width Modulators
• Serial Communications:
- SPI, I2C™, RS-232, RS-485, LIN compatible
- Auto-Baud Detect, auto-wake-up on start

• Up to 35 I/O Pins and One Input Pin:
- Individually programmable pull-ups
- Slew rate control
- Interrupt-on-change with edge-select
• Peripheral Pin Select (PPS):
- Enables pin mapping of digital I/O

Intelligent Analog Peripherals:

• Operational Amplifiers:
- Two configurable rail-to-rail op amps
- Selectable internal and external channels
- 2 MHz gain bandwidth product

• High-Speed Comparators:
- Up to two comparators
- 50 ns response time
- Rail-to-rail inputs

• 10-Bit Analog-to-Digital Converter (ADC):
- Up to 28 external channels
- Conversion available during Sleep
- Temperature indicator

• Zero-Cross Detector (ZCD):
- Detect when AC signal on pin crosses ground

• 8-Bit Digital-to-Analog Converter (DAC):
- Output available externally
- Internal connections to comparators, op amps,

Fixed Voltage Reference (FVR) and ADC
• Internal Voltage Reference module
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 6359
  • Country: ca
  • Non-expert
Nice. The ZCD only requires one external resistor for operation.

16F1703 datasheet:
http://ww1.microchip.com/downloads/en/DeviceDoc/40001722A.pdf
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
It's hard to believe that they're putting all those neat peripherals on a chip with only 2k of program memory...  (yeah, yeah, it's like a configurable hardware block and sometimes only needs enough memory to hold the HW configuration, but still...)
 

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2254
  • Country: ca
It's hard to believe that they're putting all those neat peripherals on a chip with only 2k of program memory...  (yeah, yeah, it's like a configurable hardware block and sometimes only needs enough memory to hold the HW configuration, but still...)
Actually if you look at the 170x line specs, the 2k devices lack many of the peripherals. The 4k (.5k RAM) and 8k (1k RAM) devices have the full set of peripherals. I find that powerful peripherals can reduce the amount of code needed, sometimes significantly.
 

Offline madshaman

  • Frequent Contributor
  • **
  • Posts: 698
  • Country: ca
  • ego trans insani

It's hard to believe that they're putting all those neat peripherals on a chip with only 2k of program memory...  (yeah, yeah, it's like a configurable hardware block and sometimes only needs enough memory to hold the HW configuration, but still...)
Actually if you look at the 170x line specs, the 2k devices lack many of the peripherals. The 4k (.5k RAM) and 8k (1k RAM) devices have the full set of peripherals. I find that powerful peripherals can reduce the amount of code needed, sometimes significantly.

Yeah, these chips are pretty sweet and 1K RAM is *plenty*, you can write a flight simulator in 1K..
To be responsible, but never to let fear stop the imagination.
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4228
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
I've used these parts in a couple of designs already. Very nice, easy to use and well integrated, but painfully short on program memory. I believe there are some larger versions scheduled for future release.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf