ECIO40P16 Question

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

ECIO40P16 Question

Post by Docara »

Hi,

Sorry cant find an ECIO section to post in.

With your range of ECIO's do you have to buy the chip pack associated with them eg dsPIC33 for the ECIO40P16. Or because they are you own devices they are covered in all versions?

Secondly, I notice that the datasheet for the ECIO40P16 states "Interfaces 4 x UART, 2 x MI2C, 4 x SPI, 2 x CAN, USB2.0"

Does this mean 4 separate UART AND 4 separate SPI or 4 serial ports which can do either

Thanks
Matt

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ECIO40P16 Question

Post by Benj »

Hi Matt,

Thanks for your interest in the ECIO40P16.

The device is included in the free devices list and so you shouldn't specifically need the 16-bit PIC chip pack to use the device.

Also the peripherals, UART, SPI, I2C etc are all unique so you can have 4 x UART + 4 x SPI etc. It's a really nice chip to work with. :D

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: ECIO40P16 Question

Post by Docara »

HI Ben,

Thanks for the info, I finally found the info on the Matrix web site but not on the datasheet strangely!!

Further question looking at the pictures these seem to come with both a resonator and a crystal which is correct? it states these are able to run upto 70Mhz so would it be a relatively easy procedure to get a higher crystal controlled clock (20Mhz ish)

Matt

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ECIO40P16 Question

Post by Benj »

Hi Matt,

The ECIO40P16 comes with an 8MHz crystal which is then multiplied up to 140MHz using the on chip PLL, this gives 70 Million 16-bit instructions per second.

The 8-bit PIC ECIO devices come with a 4MHz resonator which is multipled up to 48MHz using the on chip PLL, this gives 12 Million 8-bit instructions per second.

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: ECIO40P16 Question

Post by Docara »

Hi Ben

Thanks for the update, in your experience does it then follow that the low error rate is still maintained after the on-chip multiplication instead of a bespoke crytal?

Thanks
Matt

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ECIO40P16 Question

Post by Benj »

Hi Matt,

The error rate from the PLL multiplication is generally negligible but it depends how critical the error will be for you. It's not something I have measured or had to strictly rely on for time critical applications.

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Re: ECIO40P16 Question

Post by Docara »

Hi Ben,

I've been playing around with an Arduino Uno and found the clock drift could be a pain over a long period of time, the resonator fluctuated around +-1000ppm temperature dependant whereas a crystal is around +-50-100ppm. (generally)

Matt

Post Reply