Lakshmi Tejas M A

Members
  • Content Count

    22
  • Joined

  • Last visited

About Lakshmi Tejas M A

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Lakshmi Tejas M A

    Error with enabling DIO channel

    Hi @attila thank you on checking on it. We think analog discovery 2 is getting disconnected because of noise entering USB. Not sure. wanted to know if we can close the device which is opened and reopen in this scenario. because WF is not open and some function are running but in middle this scenario is created. This doesn't happen every time. ty LT
  2. Lakshmi Tejas M A

    Error with enabling DIO channel

    Hi @attila did you check this?
  3. Lakshmi Tejas M A

    Error with enabling DIO channel

    Hello @attila We are using DWF lib. I have attached the example file. DigitalOut_Pins.py
  4. Lakshmi Tejas M A

    Error with enabling DIO channel

    Hello @attila Using waveform version 3.8.11 Running code: ao = dwf.DwfAnalogOut() do = dwf.DwfDigitalOut(ao) do.enableSet(4, True)//error occurs here
  5. Lakshmi Tejas M A

    Electronics Explorer Digital I/O Votlage Level

    @attila @Dylan instead of resistors we can use buffers like ISO7221x. so slope will not be affected.
  6. Lakshmi Tejas M A

    SPI with AD2

    @attila thank you for the clarification
  7. Lakshmi Tejas M A

    SPI with AD2

    @attila Yes i have connected MISO and MOSI of a micro controller. i want to receive and transmit data with micro, making ad2 as a slave. I dont want to work in master mode spi_Slave is able to receive but not sending. see if you can help me to transmit from ad2 in slave mode. thank you
  8. Lakshmi Tejas M A

    SPI with AD2

    hi @attila i tried the code you gave digital_spi_spy.py , I am getting like this i don't understand why ('Sending: ', [1, 2, 3]) is in MOSI and 0xFF in MISO.
  9. Lakshmi Tejas M A

    SPI with AD2

    @attila This update solved thank you
  10. Lakshmi Tejas M A

    SPI with AD2

    hi @attila yes transmitting from the ad2 python is perfect. Receiving is the issue.
  11. Lakshmi Tejas M A

    SPI with AD2

    hi @attila i was telling about Digital_Spi_Dual.py not Digital_Spi_Spy.py
  12. Lakshmi Tejas M A

    CAN interface with analog discovery 2

    HI @attila Can i get to know the reason for above issue?
  13. Lakshmi Tejas M A

    SPI with AD2

    Hi @attila As you suggested the update of software i did but i see i can get some data but decoding wrong. actual data to be received 1,2,3,4,1,2,3,4,.... but i am receiving 0x5557,0x555d,0x555f,0x5575,0x5557,0x555d,0x555f,0x5575... i think decoding is wrong the signal on the wires are proper
  14. Lakshmi Tejas M A

    SPI with AD2

    Hi @attila Thank you for the info on update and bug. Also wanted to know there is transmit option in SPY mode? as you suggested the update of software i did but i see i can get some data but decoding wrong. actual data to be received 1,2,3,4,1,2,3,4,.... but i am receiving 0x5557,0x555d,0x555f,0x5575,0x5557,0x555d,0x555f,0x5575... i think decoding is wrong 3. in the function dwf.FDwfDigitalSpiRead16(hdwf, c_int(2), c_int(24),rgwRX, c_int(len(rgwRX))), i need 12 bits to receive but i need to set 24 to get 12 clk pulses.
  15. Lakshmi Tejas M A

    SPI with AD2

    Hi all, I am working on SPI transceiver with AD2 in master mode. I am using python sample codes provided. transmitting is working fine but in receiving i am able to get the signals on wire but not to the variable in python rgwRX = (c_uint16*1)() while True: dwf.FDwfDigitalSpiSelect(hdwf, c_int(4), c_int(0)) dwf.FDwfDigitalSpiRead16(hdwf, c_int(2), c_int(24),rgwRX, c_int(len(rgwRX))) dwf.FDwfDigitalSpiSelect(hdwf, c_int(4), c_int(1)) print rgwRX[0] I am getting only '0's corresponding signal while receiving tapped on CRO is attached and it is proper but when i try it using Waveforms software it works but i see same signal on wire