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 achar.deepak

  1. A

    Polling method in Bootloader

    Hi, I am working on UDS CAN Bootloader. I have question that, why the Bootloader works on Polling method not on Interrupt? I am kindly requesting to clear my question. Thanks and Regards, Deepak
  2. A

    [SOLVED] Controller with Different operating frequencies

    Hi, I got my doubt cleared. Thanks to all.
  3. A

    [SOLVED] Controller with Different operating frequencies

    Hi everyone, My name is Deepak. I have one doubt regarding the subject I mentioned. Suppose I have 8051 microcontroller with LCD display and LPC2148 with another LCD display. Both are operating at different frequencies as we know. Is it possible to communicate two controllers through any serial...
  4. A

    Regarding GTKMM Installation in Microsoft Visual Studio

    Hi, I think this is the off topic. I need urgent help in configuring GTKMM header files in Microsoft Visual Studio 2015. I am going to develop GUI using GTKMM in C++. Please help regarding this. Thanks in Advance. -Deepak
  5. A

    Regarding Temperature Sensor Detection in Controller

    Dear All, I designing a system where I am doing a temperature calculation using sensor and ADC. Customer requirement is that they have to detect whether the sensor is present or not by the controller. Please clarify my doubt how to detect the sensor by the controller whether it is connected or...
  6. A

    Regarding reading values from EEPROM

    Hi. Here is the code for EEPROM I have written. /* * EEPROM.c * * Created: 2/7/2015 4:39:16 PM */ #include <avr32/io.h> #include "EEPROM.h" #include "spi.h" #include "gpio.h" #include "spi_master.h" #include "lcd_display.h" #include "delay.h" uint8_t readdata; struct spi_device...
  7. A

    Regarding reading values from EEPROM

    Hi, These are the inbuilt codes for spi_packet_write and spi_packet_read. status_code_t spi_read_packet(volatile avr32_spi_t *spi, uint8_t *data, size_t len) { unsigned int timeout = SPI_TIMEOUT; uint8_t val; size_t i=0; while(len) { timeout = SPI_TIMEOUT; while...
  8. A

    Regarding reading values from EEPROM

    Hi, I am using same method only. uint8_t packet[3]={EEPROM_DATA_WRITE,memAddr>>8,memAddr&0x00FF};
  9. A

    Regarding reading values from EEPROM

    Hi, The original code or writing a character is this. I modified the code as above which I posted. void spi_eeprom_Write(uint16_t memAddr, uint8_t data[],uint8_t len) { delay_ms(2); spi_eeprom_Write_Enable(); spi_selectChip(AT25160B_SPI,AT25160B_SPI_NPCS); uint8_t...
  10. A

    Regarding reading values from EEPROM

    Hi, I am writing to EEPROM like this. I am getting error as conflicting types for 'spi_eeprom_Write'. Please help. void spi_eeprom_Write(uint16_t memAddr, uint16_t data[],uint16_t len) { delay_ms(2); spi_eeprom_Write_Enable(); spi_selectChip(AT25160B_SPI,AT25160B_SPI_NPCS); uint16_t...
  11. A

    Regarding reading values from EEPROM

    Hi all, I have stuck in reading the value from EEPROM. For every time it is reading 0 only. I have attached sample code year from RTC. I am storing year in the eeprom. It is not reading. Please help. struct menu year_function(struct menu Initialsetup) { unsigned int value_read3; int...
  12. A

    Regarding disabling of ADC in Microcontroller.

    Temperature range is 0 to 150 degree. - - - Updated - - - uint8_t temperature_get(void) { static int error_count = 0; signed short adc_value_temp = -1; signed short adc_samples[8], average_temp=0,i; float vout,rt,temp; static int pre_temp; for(i=0;i<8;i++) { adc_start(&AVR32_ADC)...
  13. A

    Regarding disabling of ADC in Microcontroller.

    Hi, Here is my ADC code. I need to disable ADC function if the sensor is not connected. Please help. uint8_t temperature_get(void) { signed short adc_value_temp = -1; signed short adc_samples[8], average_temp=0,i; float vout,rt,temp; static int pre_temp; for(i=0;i<8;i++) {...
  14. A

    Regarding disabling of ADC in Microcontroller.

    Hi, One clarification how the controller knows weather the sensor is connected or not. - - - Updated - - - Hi, If I did not connected the sensor means it is showing some random values. Thanks
  15. A

    Regarding disabling of ADC in Microcontroller.

    hI, Can I make pin as pull down to disable ADC?

Part and Inventory Search

Back
Top