Hot!EXPLORER 8

Page: 123 > Showing page 1 of 3
Author
Piero65
Starting Member
  • Total Posts : 54
  • Reward points : 0
  • Joined: 2017/09/08 00:28:32
  • Location: 0
  • Status: offline
2018/02/11 08:46:12 (permalink)
0

EXPLORER 8

Hello everyone,
Some questions, I would like to buy an 8 explorer kit, I read the features but I do not see the PIC16F15356 MCU among the supported devices.
1) Does Explorer 8 support it?
2) What software do you need to debug on this type of MCU?
3) In addition to explorer 8 must you purchase other accessories to start developing simple applications?
Thank you all.
#1

43 Replies Related Threads

    Sobottech
    Super Member
    • Total Posts : 233
    • Reward points : 0
    • Joined: 2015/12/02 03:32:17
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/11 09:11:17 (permalink)
    0
    First of all, I don't own an Explorer 8 Board,
     
    but,
    1) Product Page says for 8-bit PIC microcontrollers 
    • Compatibility with all PIC MCUs
    • 8-, 14-, 20-, 28-, 40/44-, 64- and 80-pin footprints
    so the PIC16F15356 should fit because it's an 8-bit with 28 pins. But checking the schematic and the PIC-pins wouldn't be wrong to be on the save side.
     
    2) MPLAB X and XC8, perhaps MCC, that PIC is supported by MCC
    3) For programming the Microcontroller you will need a programmer like ICD 3, REAL ICE or PICkit 3
    #2
    RISC
    Super Member
    • Total Posts : 5221
    • Reward points : 0
    • Status: offline
    Re: EXPLORER 8 2018/02/11 09:59:56 (permalink)
    0
    Hi,
    1/ As there are various types of sockets / PIMs, the EXPLORER8 should be able to accomodate almost any PIC16 or PIC18 device.
    2/ MPLAB X,  XC8 and I strongly recommend that you use MCC plugin to create projects.
    To get started, look for tutorials here : http://www.microchipdeveloper.com
    3/ You will need an external programmer : Pickit3 or ICD4 (ICD4 has replaced ICD3)
    Regards
     
    #3
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/11 12:08:34 (permalink)
    0
    Thank you all for your valuable advice, I will do them all.
    With the pic I was left behind and I have to recover.
    I have a glorious MPLAB ice 2000 with different PCM so I have to renew my development systems starting with economic cards, then I will buy more complex and professional systems.
    #4
    katela
    Super Member
    • Total Posts : 778
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: EXPLORER 8 2018/02/11 13:02:18 (permalink)
    +1 (1)
    IF you just need to develop simple applications, I would recommend to buy the Curiosity development boards. It's cheap and it includes an integrated programmer/debugger, and requires no additional hardware to get started.
    They are also on special till 28 Feb 2018.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #5
    RISC
    Super Member
    • Total Posts : 5221
    • Reward points : 0
    • Status: offline
    Re: EXPLORER 8 2018/02/11 16:05:42 (permalink)
    0
    Hi
    The main advantage of EXPLORER8 over curiosity boards is that it has lots of built-in interfaces :
    LCD display, UART i/F, many leds / buttons, potentiometer.
    Curiosity boards generall have one led and 1/2 pushbuttons.
    If you target a 28/40 pins device, then curiosity HPC could be an alternative (no external pickit3 necessary as it has an on-board programmer/debugger) 
    Regards
     
    #6
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 03:38:12 (permalink)
    0
    I bought now Explorer 8, thanks to all for the valuable information.
    As soon as I receive the card I start the experiments, I will surely need your help again.
    Piero
    #7
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 07:42:27 (permalink)
    0
    As written before I bought an explorer 8 card and now I await the arrival.

    I am examining the various possibilities and the first problem I encounter is the following.
    I have to use a 20 MHz or more quartz because I need to generate a 12.288 MHz clock to send to a DSP that is part of the project hardware, "I do not want to use 2 quartz".
     
     
    I saw the Quartz on the explorer 8 is 8 MHz, but in the various PDFs related to Explorer 8 there is no bill of material and therefore I can not see the type of quartz used to buy one of the same size of layout but with different frequency.
     
    Can anyone tell me where to find the Explorer 8 Bill of material?
     
    Alternatively, someone can tell me if on the PIC16F15356 using the internal clock there is the possibility of generating a frequency of 12.288 MHz on an output pin.
    Thanks in advance
    #8
    katela
    Super Member
    • Total Posts : 778
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: EXPLORER 8 2018/02/12 09:07:30 (permalink)
    0
    Always read the datasheet/ or user's guide to get these kind of information. In the user's guide there is a circuit diagram with the list of components.
    In section 9.2 of datasheet Clock Source Types: The High-Frequency Internal Oscillator (HFINTOSC) can produce a range from 1 to 32 MHz.
    What do you mean by generating a frequency of 12.288 MHz on an output pin?

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #9
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 09:31:48 (permalink)
    0
    This guide I downloaded it but unlike what happens for example:
    http://ww1.microchip.com/...vicedoc/evb2250bom.pdf
    for explorer 8 this does not exist.
    Having to replace the 8 MHz quartz if there was a bill of material with the component builder's description I checked the quartz layout and I could immediately buy a different one without waiting for the Explorer 8 to see the physical dimensions of the quartz.
    To generate a frequency of 12.288 MHz I intend to divide the internal clock of the MCU to have a clock at 12.288 MHz on an out pin
    #10
    jack@kksound
    code tags!
    • Total Posts : 2632
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 11:06:04 (permalink)
    +1 (1)
    I do not know how you intend to generate this 12.288 Mhz signal however this pic (16F15356) has an NCO peripheral which you could use to generate many different frequency signals. If you use the 8 Mhz XTAL and the 4xPLL in the pic then you would have a 32 Mhz system clock. The NCO will then be capable of generating signals over a wide range of frequencies from about 30 hz to 32 Mhz (including 12.2879 Mhz with an increment count of 402653 for the NCO). Hope this helps.
    #11
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 12:31:31 (permalink)
    0
    <p>Generating a 12.288Mhz clock on a pin of the MCU is what I have to do.<br />If what I understand is correct, I can assign to any pin of PORTA or PORC "NCO1OUT" as attached images<img src="http://www.mipromuovodame.com/temp/1.jpg" alt="" /><img src="http://www.mipromuovodame.com/temp/2.jpg" alt="" /></p>
    #12
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 12:34:42 (permalink)
    0
    Generating a 12.288Mhz clock on a pin of the MCU is what I have to do.
    If what I understand is correct, I can assign to any pin of PORTA or PORC "NCO1OUT" as attached images
     

     

    #13
    mbrowning
    Just a Member
    • Total Posts : 988
    • Reward points : 0
    • Joined: 2005/03/16 14:32:56
    • Location: Melbourne, FL
    • Status: offline
    Re: EXPLORER 8 2018/02/12 12:41:44 (permalink)
    +1 (1)
    Keep in mind that the output of the NCO will have significant jitter, especially at higher frequencies. It's a purely digital device, so output clock edges are aligned to the reference clock edges (32MHz).

    Can't remember. I've slept since then - Mark
    #14
    davekw7x
    Entropy++
    • Total Posts : 1432
    • Reward points : 0
    • Joined: 2012/01/16 12:01:07
    • Location: Left Coast, USA
    • Status: offline
    Re: EXPLORER 8 2018/02/12 12:45:43 (permalink)
    0
    jack@kksound
    ...The NCO will then be capable of generating signals...

    Sigh...
    I've been through this kind of thing a time or three.  And there's a little more to it than just plugging an increment value into the NCO.
     
    Here's the deal...
     
    With a source clock of 32 MHz, the NCO can certainly generate a signal with average frequency 12.2879 MHz, but due to the DDS nature of the NCO, there will be a jitter of one period of the NCO source clock.  In other words, the average period will be around 80 ns, but the jitter will be about 30 ns.  And, this isn't a shorter or longer period every now and then.  The jitter frequency is an appreciable fraction of the output frequency.  I can't imagine this would be useful as a sample clock for DSP (or any other kind of "clock").  (Left as an exercise for the interested reader: Do the math.)
     
    Another one of those little nasty-realities-of-real-life details: Even with a very light load ('scope probe), and assuming the jitter would be acceptable, the PPS output pins will not give a clean signal at 12 MHz.  These things just doesn't have the drive capability for high-speed digital outputs.
     
    I stopped the 'scope and took the attached 'scope shot with my PIC16F15355 running at 32 MHz with NCOINC = 805306 so you can see what I'm talking about.  (Note that for square wave output, the toggle frequency must be 2x the square wave frequency.)
     
     
    Bottom line: I don't think it's reasonable to expect a usable 12.288 Mhz clock output from the PIC.
     
    [Edit]
    While I was taking the scope shot, mbrowning beat me to the punch with the point I'm making  (+1).  I still hope it's worth the bandwidth to show what he is talking about, and the practical limitations of generating a clock signal that is an appreciable fraction of the input clock with the NCO.  Just not practical (without a ton of external filtering, in which case, it's more expensive than just using a real clock generator).
    [/Edit]
     
    Regards,

    Dave
    post edited by davekw7x - 2018/02/12 12:56:15

    Attached Image(s)


    Sometimes I just can't help myself...
    #15
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 12:58:48 (permalink)
    0
    Thanks for the answers
    I'm making some assumptions because I do not have yet Explorer 8 purchased only today, so I have not carried out any practical test.
    From the kind answers you gave you, the best thing is to use a quartz for the DSP and leave the management of all the logical part, buttons, output bits, converters, etc. to the MCU.
    #16
    jack@kksound
    code tags!
    • Total Posts : 2632
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 13:00:35 (permalink)
    0
    While I certainly agree with all the information about the characteristics of an NCO output signal I was simply trying to illustrate one possible method to produce a signal. Because the OP does not really describe what the use of this 12.288 Mhz signal is nor what the specifications of this signal need to be it is difficult to say what will "work" and what will not. I do not know of a better method with the specific pic mentioned to produce an output signal of the stated frequency that will have any better jitter specs. Any suggestions?
    #17
    Piero65
    Starting Member
    • Total Posts : 54
    • Reward points : 0
    • Joined: 2017/09/08 00:28:32
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 13:20:39 (permalink)
    +1 (1)
    The clock at 12.288 Mhz must be sent to MCLKI of a DSP, on the DSP the OSCO pin would be left open.
    However, if the NCO output has such a high jitter it is convenient to connect a quartz to the DSP
    #18
    jtemples
    Super Member
    • Total Posts : 10819
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: EXPLORER 8 2018/02/12 13:32:33 (permalink)
    0
    You can have the PIC generate a precise clock output at the frequency you want, but you will have to choose the PIC's crystal accordingly.
    #19
    jack@kksound
    code tags!
    • Total Posts : 2632
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: EXPLORER 8 2018/02/12 14:30:32 (permalink)
    0
    jtemples
    You can have the PIC generate a precise clock output at the frequency you want, but you will have to choose the PIC's crystal accordingly.


    The 16F15356 has an upper bound of 20 Mhz for external crystal operation (32 Mhz with external oscillator) so it would seem the only possible external xtal to result in a 12.288 Mhz output signal would be 12.288 Mhz and then feed the oscillator (Fosc) signal directly out the Reference Clock output.
    #20
    Page: 123 > Showing page 1 of 3
    Jump to:
    © 2018 APG vNext Commercial Version 4.5