Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #8039
    Just4Fun
    Participant

    For a subsequent realization I started looking for an MCU that could satisfy a series of requirements. In the end, the only one I found suitable was an MCU PIC18F47Q10 which is also available in DIP package 40.
    While not a “fan” of PICs I must admit that the PIC18F47Q10 has a series of truly remarkable features even considering the fairly low cost (1.65€ + tax).
    Here are the main features (taken from the datasheet):

    Internal 64MHz oscillator
    128 KB Flash Program Memory with self read/write capability
    3728 Bytes Data SRAM Memory
    1024 Bytes of EEPROM
    10-bit ADC with computation, 35 channels
    8 x Configurable Logic Cell (CLC)
    2 x I2C/SPI
    2 x EUSART with LIN support

    In particular, note that unlike its predecessors it has well 2 I2C / SPI unit e 2 EUSART, not to mention the CLC module which is basically a small CPLD that allows you to synthesize 8 logic functions and to associate them also to external pins.
    So I decided to make a small card (PicOne) in order to perform tests (a kind of “dev board” my way…).
    As I have done previously for other MCUs I have used a “form factor” that would also allow me direct insertion into the breadboard. I also added the ability to power the PIC at both 5V and 3.3V, and on the board there is also a USB-serial converter and a socket for microSD.

    Below is a first draft of PCB placement without routing:


    The next step is to complete the PCB drawing and send it to fabrication…
    Once the card has been tested I will post all the details necessary to replicate it, in case anyone is interested.

    #8715
    Just4Fun
    Participant

    I've just finished routing all signals and this should be the final version:

    Since I was there, I wanted to make the DTR signal from the USB-serial adapter available on the connector. It will be possible to do even a little “experiments” with the Microchip bootloader for the PIC18F family for a possible Arduino-style autoreset circuit…

    • This reply was modified 2 years, 7 months ago by Just4Fun.
    • This reply was modified 2 years, 7 months ago by Just4Fun.
    #9065
    Giuseppe
    Participant

    Great job congratulations

    #9472
    Just4Fun
    Participant

    After a long wait, the PCB finally arrived. For now I use a normal socket instead of the ZIF

    The PCB allows direct insertion of the Pickit without using additional cables.

    Now a bit of testing… (among other things, this is also a good opportunity to update myself with the latest version of MPLABX IDE that I haven't used for a long time)

    • This reply was modified 2 years, 4 months ago by Just4Fun.
    • This reply was modified 2 years, 4 months ago by Just4Fun.
    • This reply was modified 2 years, 4 months ago by Just4Fun.
    #9486
    Picmicro675
    Moderator

    Because only 16 MHz?
    There would be no modification to go to 20,7 MHz. Obviously to go above the fateful ones 20 it takes a compensator. i 700 kHz more to compensate for the UART division error and perhaps also for counting with the timers.

    #9490
    Just4Fun
    Participant

    The PIC18F47Q10 internally has a PLL that multiplies the frequency x4. So with a 16MHz crystal you get 64MHz which is the working frequency (you see datasheet).

    #9492
    Picmicro675
    Moderator

    DS40002043D-page 41
    Now I have noticed.

    #9550
    Just4Fun
    Participant

    All the details to make the PicOne board are now available who.

    • This reply was modified 2 years, 3 months ago by Just4Fun.
    • This reply was modified 2 years, 3 months ago by Just4Fun.
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.