Search:

Type: Posts; User: Aussie Susan

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    32
    Views
    1,388

    Closed: Re: 12 Bit ADC with interfacing SPI in STM32

    You are still treating the SPI module like a UART (which can do independent transmits and receives).
    Not tested but try something like:


    spidata[0]=0x00; // Set everything up before you...
  2. Replies
    32
    Views
    1,388

    Closed: Re: 12 Bit ADC with interfacing SPI in STM32

    Have you changed the setup of the SPI module from the one shown in your first post?
    Basically, the SPI module should NOT be generating the clock all of the time unless you are in 'Receive Only' mode...
  3. Replies
    4
    Views
    289

    [ARM]Closed: Re: STM32F429I-DISCO help

    I suggest that you start with something specific in mind to have the MCU actually do.
    Typically the first think is to 'blink a LED' - in order to get that working you need to have the development...
  4. Replies
    4
    Views
    289

    [ARM]Closed: Re: STM32F429I-DISCO help

    To do what?
    Have you looked at the ST website?
    Susan
  5. Replies
    6
    Views
    387

    Closed: Re: SD card - pull-ups required?

    I'm not so sure that this is a good idea as SD cards have a limited write/erase cycle life. Depending on how you intend to use the SD card, this could mean that the whole device needs to be replaced...
  6. Closed: Re: ADC simultaneous sampling of 4 channels

    Feel free to select any other ADC (and possibly any other MCU) that meets your requirements.
    Susan
  7. Closed: Re: ADC simultaneous sampling of 4 channels

    Check out the Family Reference Manual (FRM) ADC section for that device. The FRM documents often provide greater detail (and code examples) about how to use the modules than the data sheet. However...
  8. Replies
    4
    Views
    505

    [ARM]Closed: Re: Enc28j60 with STM32F4

    @Santi - this is the 5th thread you have started on this topic (https://www.edaboard.com/showthread.php?386256-Enc28j60-with-stm32f4&highlight=enc28j60,...
  9. Replies
    1
    Views
    299

    Closed: Re: Enc28j60 with stm32f4

    All that 'tutorial' does is now how to set up the SPI interface on an MSP430! That is not the same MCU you are using.
    Looking at this and other questions with (basically) the same title, I think you...
  10. Replies
    1
    Views
    246

    [ARM]Closed: Re: Enc28j60 with stm32f4

    Have a look at the demo code on the Microchip site. While that is written for the PIC families of devices, they are in C and the communication between the MCU and the ENC28J60 is via an SPI interface...
  11. Replies
    2
    Views
    284

    [ARM]Closed: Re: Enc28j60 with stm32f4

    Don't forget that the ENC27J60 provides just the bottom layers of the IP stack. You still need to provide the upper layers where things such as web pages, HTML code etc. are defined.
    Susan
  12. [SOLVED]Closed: Re: dsPIC33F I2C" Start hold time violated"fuse configs

    General comment: if you use a simulator then you have just added another layer of potential bugs to your project.
    Especially for the sort of thing you are doing, I would recommend that you use the...
  13. Replies
    2
    Views
    307

    Closed: Re: dspic30f2010 Used Sinewave Inverter

    Also, if you are starting off a new project, then why use that MCU - there are more modern, powerful and cheaper devices available.
    Susan
  14. Closed: Re: Proteus Error, No Source Line at PC Address

    Glad you have solved it, but that error message (or one very like it) can also occur when an error is detected within library code where only the object library has been linked in. Such library code...
  15. Replies
    37
    Views
    2,063

    Closed: Re: HP 54520A Blown Fuse Problem

    Just a WAG - Capacitors across the supply lines that have gone leaky?
    Susan
  16. Closed: Re: XC8 C delays for PIC micros not right timing

    The max value for the delay macro is in the XC8 user guide.
    The delay is also affected by interrupts.
    Have you set the correct value of _XTAL_FREQ?
    You have not told us the clock source (or...
  17. Closed: Re: pic16f877a + spi + 93LC46A-I/OT EEPROM

    OK - I had not seen that. Thanks for pointing it out.
    AN1023 (linked from the EEPROMs data sheet page you linked to) certainly shows the MSSP module being used. What it also shows is that the EEPROM...
  18. Closed: Re: pic16f877a + spi + 93LC46A-I/OT EEPROM

    The EEPROM says that it is "microwire compatible" and while mirowire and SPI are related, they are NOT the same.
    You haev two choices: 1) use a newer EEPROM that has a standard SPI or I2C interface...
  19. [SOLVED]Closed: Re: ADC reading , Timer interrupt - dspic33ch128mp508

    You should not need to set the GIE bit to 1 as that is its Power-on default setting.\
    Look at the ADC FRM section for that MCU - it has a whole section of examples.
    Suan
  20. Closed: Re: dsPIC30F2010 - 30 I/SP restarts at interval of 20seconds for no known reason

    The answer, as so often happens, is in the data sheet. The last paragraph of Section 19.4.2 says that, if you turn off the config bit, then the WDT is controlled by software with the SWDTEN bit. Make...
  21. Replies
    2
    Views
    236

    Closed: Re: Ascii to BCD Conversion

    Also be aware that strings in most compilers are null terminated which mean that "1234" is actually 5 characters long.
    Susan
  22. Closed: Re: Error while publishing data from ESP32 Using MQTT

    Show us the code you have and we might be able to help you from there.
    Also tell us the values you expect and the values that are being displayed.
    Susan
  23. Closed: Re: [Microcontroller] Voltage Reading without ADC

    If all you are interested in is if a voltage is above or below a given value, then use a comparator and a stable voltage source (e.g. a zener or you want something cheap and nasty). T
    That can feed...
  24. Closed: Re: ESP8266 sends temperature and humidity data to IFTTT using MQTT

    How does the ESP8266 relate to the device you link to? It looks like it does the job for you.
    What have you come up with yourself?
    What is your experience with WiFi programming? MQTT? Embedded app...
  25. Closed: Re: Help with PIC16F886 0-55VDC Voltmeter (code adapted fm Arduino)

    I had assumed it was an attempt to round to the nearest 10mV. Anyway that would not really make much difference - given the domain of 0V to 55V in a 10-bit ADC, the LSB equates to just over 5mV....
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4