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 sr2w

  1. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    I tried using a logic analyzer, but the output doesn't change when I try to read the sensor register with different orientations. Did some variations in code, void wait() { while(PIR3bits.SSP1IF == 0); PIR3bits.SSP1IF = 0; } void main() { TRISC = 0x18; ANSELC = 0; TRISB...
  2. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    I am getting zero volts on all port B pins. I have burnt the code using MPLAB. This shouldn't be a problem right ? A hex file should be a hex file right ?
  3. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    0x03 has stuck along with me since my last code which I wrote for PIC16F1508 proteus simulation. I used to get 31.25 KHz clock set in simulation log(attached picture) if I used SSPADD = 0x03. Using this value for other PIC controller(now 16F18877) is something wrong which I am doing. This lets...
  4. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    My debugger gets stuck at the green highlighted line when I set SSP1ADD as 255 (0xFF), when it is 0x03, it doesn't give me such problems.
  5. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    I don't have 4.7k resistors now. I'll have to go to college for that (day-after-tomorrow). I'll read the output on PORTB using LEDs that should be fine right ?
  6. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    Can you please send me the .c file instead of HEX file so that I can do Step-by-Step debugging ? I haven't found any specific instruction about using 10k resistors I am just using them. During debugging I can see that SDA and SCL pins go high hence I am concluding that 10k resistors should do...
  7. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    These are my config settings, You can see - CONFIG 2, one PPS setting is present. // PIC16F18877 Configuration Bit Settings // 'C' source line config statements // CONFIG1 #pragma config FEXTOSC = LP // External Oscillator mode selection bits (LP (crystal oscillator) optimized for...
  8. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    All of my code is in main function. Do you want me to separate the reading code to make it more readable ? I2C clock frequency is 31.25 KHz (SSP1ADD = 0X03). Should it necessarily be 32.78 KHz or 100 KHz ? 10 Kilo Ohms - Pull up registers. The SDA and SCL pins are pulled high since I have...
  9. S

    PIC16F18877: Trying to read Accelerometer data from LSM9DS0 on I2C

    I am receiving same value as the output even when I change the orientation of the sensor. What could be the reason ? 1) I send slave address (with write bit). 2) I send sub address. 3) I send slave address (with read bit). void main(void) { TRISC = 0x18; // Set RC3(SCL) and RC4(SDA)...
  10. S

    [PIC] PIC16F1508 and MCP9801 simulation in Proteus

    Also I have set 31.25 kHz clock frequency in SSP1BUF register(0x03).
  11. S

    [PIC] PIC16F1508 and MCP9801 simulation in Proteus

    Thanks for that! Does the code look okay ?
  12. S

    [PIC] PIC16F1508 and MCP9801 simulation in Proteus

    1) I am trying to read the ambient temperature register in MCP9801 with the following code. My simulation is getting stuck on one line (highlighted in code below). I have attached the Simulation log.JPG. 2) I have referred to the the relevant discussions previously done, but still wasn't...
  13. S

    How does HFSS calculate S11 internally ?

    Can anyone tell me in short how S11 is calculated in HFSS ? Does HFSS calculate Im(Z) and Re(Z) first and then it calculates S11. Or does it calculate S11 with the help of ratio of some voltages. If voltages then how does it calculate that ratio ? Basically, If had lots and lots of time and I...
  14. S

    Can anyone help me design an antenna for 0.5 GHz to 2 GHz ?

    Yes I know that but can you suggest me something by just quickly going through their antenna database, if you have access to magus ?
  15. S

    Can anyone help me design an antenna for 0.5 GHz to 2 GHz ?

    I have started with monopole disk antennas but I have very strict size constraints of maximum dimension to be 10 cm. I could get as low as 20 cm only. I use HFSS.

Part and Inventory Search

Back
Top