HomeDesignThe brand new circuit uses PIC peripheral outputs without changing the microcontrollers

    The brand new circuit uses PIC peripheral outputs without changing the microcontrollers

    The MSSP (master synchronous serial port) module uses multiplexed pins for the 12C and SPI peripherals in PIC microcontrollers. There is typically no issue using either of the two peripherals. But, the new circuit, developed for a portable instrument using Microchip Technology’s 28-pin PIC MCU, runs with both the peripherals simultaneously.

    This PIC MCU from Microchip runs an RTC (real time clock), EEPROM, and COG (chip on glass) LCD on the 12C bus, and a digital pot and microSD card on the SPI bus. The implementation has performed flawlessly.

    SPI and 12C bus with same peripheral pins and two extra GPIO pins are used by the circuit, without a significant increase in the bill of materials, using four MOSFETS. The examples include the 2N7000 and the BSS138, both from the ON Semiconductor. Both were tested and performed satisfactorily.

    The multiplexed pins for SCK/SCL and SDA/ SDI are switched by the combination of MOSFET, by turning on the gate for the respective peripherals by the microcontrollers. In the firmware, the required peripheral is turned ON by making the respective GPIO HIGH and driving the other GPIO LOW before initializing the respective bus.

    The connections are straightforward, the MOSFET DRAIN pins connect to the MCU pins except the FETDI (MOSI) MOSFET, whose SOURCE pin connects to the MCU. The pull-up resistors for the I2C connections should be added to the SOURCE pins of the MOSFETs on the I2C side.

     

    ELE Times Research Desk
    ELE Times Research Deskhttps://www.eletimes.ai
    ELE Times provides a comprehensive global coverage of Electronics, Technology and the Market. In addition to providing in depth articles, ELE Times attracts the industry’s largest, qualified and highly engaged audiences, who appreciate our timely, relevant content and popular formats. ELE Times helps you build awareness, drive traffic, communicate your offerings to right audience, generate leads and sell your products better.

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here

    Related News

    Must Read

    Microchip’s SkyWire Tech Enables Nanosecond-Level Clock Sync Across Locations

    To protect critical infrastructure systems, SkyWire technology enables highly...

    Next Generation Hybrid Systems Transforming Vehicles

    The global automotive industry is undergoing a fundamental transformation...

    Tobii and STMicroelectronics enter mass production of breakthrough interior sensing technology

    Tobii and STMicroelectronics announced the beginning of mass production...

    Rohde & Schwarz unveils compact MXO 3 oscilloscopes with 4 and 8 channels

    Rohde & Schwarz expands its next-generation MXO oscilloscope portfolio...

    TI’s new power-management solutions enable scalable AI infrastructures

    Texas Instruments (TI) debuted new design resources and power-management...

    ESA awards Rohde & Schwarz for contributions to 30 years European Satellite Navigation

    The event brought together institutional and industrial partners, ESA...

    STMicroelectronics joins FiRa board, strengthening commitment to UWB ecosystem and automotive Digital Key adoption

    STMicroelectronics, a global semiconductor leader serving customers across the...

    STARLight Project chosen as the European consortium to lead in next-gen silicon photonics on 300 mm wafers

    The STARLight project is bringing together a consortium of leading...

    KYOCERA AVX RELEASES NEW KGP SERIES STACKED CAPACITORS

    KYOCERA AVX released the new KGP Series commercial-grade stacked...