Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Siddft

  1. S

    Single master multiple slave implentation using PIC microcontroller

    hello Jinzpaul4u , rite noe 'm implementing using Typical SPI bus configuratiion. I am using 2 slave selects D0 and D1. Thanks - - - Updated - - - 'll try with daisy chain configuration
  2. S

    Single master multiple slave implentation using PIC microcontroller

    Hello All, I am trying to implement Single Master Multiple slave implementation using PIC microcontroller. I am using PIC18F4550 as Master and PIC18F4520 as slave. Slaves will convert the values of potentiometer(A/D conversion) and communicate those values to master using SPI protocol. I am...
  3. S

    how to get 10bit ADC data in PIC

    'm using PIC18F4520 as master and PIC18F4550 as slave Compiler --> MPLAB C18 C Compiler Thanks, Sid
  4. S

    how to get 10bit ADC data in PIC

    Thanks Jayanth, I don't know anything about SPI BIT BANGING. if u have any code which works for 10bit data, could u please share me that code. Thanks, Sid
  5. S

    how to get 10bit ADC data in PIC

    NOPE. The SPI mode allows 8bit of data to be synchronously transmit and receive simultaneously. Thanks
  6. S

    how to get 10bit ADC data in PIC

    SPI can send 8bit data at a time. Here is the code for Master and Slave. master code ------------- OpenSPI(SPI_FOSC_64, MODE_01, SMPMID); //SPI configuration SSPCON1bits.WCOL = 0; //Clearing SSPBUF LATDbits.LATD0 = 0; //Slave select WriteSPI(0xFF); //writing 0xFF to slave...
  7. S

    how to get 10bit ADC data in PIC

    Hello lachmannmarcel, I tried your code,still it is not working properly. it's giving 10bit value but the values are not correct. so i gave more delay but still it's not working. Thanks sid - - - Updated - - -
  8. S

    how to get 10bit ADC data in PIC

    Yes, i tried with the following code. LATDbits.LATD0 = 0; //Slave select while(SSPSTATbits.BF == 0); //wait untill the buffer is full var1 = SSPBUF; LATDbits.LATD0 = 1; delay LATDbits.LATD0 = 0; while(SSPSTATbits.BF == 0); var2 = SSPBUF; LATDbits.LATD0 = 1; delay mdata = var1 | var2; but...
  9. S

    how to get 10bit ADC data in PIC

    I think it's not mandatory that 8 less significant bits should be in AdressL and 2 most significant bits should be in AdressH. It depends on the ADFM bit in ADCON2 register. if ADFM=0 Then Left justified (D10-D2 --> ADRESH) if ADFM=1 Then right justified (D1-D0 --> ADRESL) In my...
  10. S

    how to get 10bit ADC data in PIC

    Hello all, I am doing Single master multiple slave implemetation. Master - PIC18F4550 Slave - PIC18F4520 A potentiometer is connected to the Slave. Slave will convert the Potentiometer value to digital and communicate with the master using SPI protocol. I am getting 8bit data(ADRESH -- Left...
  11. S

    PIC controller clock range and data rate.

    I am using PIC18F4550 and PIC18F4520.
  12. S

    PIC controller clock range and data rate.

    Hello all, What is the PIC SPI protocol clock frequency range and data rate range?? Thanks, Siddesh
  13. S

    How to sync the master and slave in SPI configuration.

    Hello all, I am doing project on PIC. I am trying to communicating b/w 18F4550(Master) and 18F4520(Slave). Communication is happening but the data is not correct at the slave side(data slippage). (Clock,data coming from master). How to avoid this data slippage. Thanks
  14. S

    Looking for DFT jobs

    Hello i have one year of experience in DFT. If there is any openings please let me know. Thanks in Advance.

Part and Inventory Search

Back
Top