Lakshmi Tejas M A

Members
  • Content count

    18
  • 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

    Electronics Explorer Digital I/O Votlage Level

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

    SPI with AD2

    @attila thank you for the clarification
  3. 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
  4. 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.
  5. Lakshmi Tejas M A

    SPI with AD2

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

    SPI with AD2

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

    SPI with AD2

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

    CAN interface with analog discovery 2

    HI @attila Can i get to know the reason for above issue?
  9. 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
  10. 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.
  11. 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
  12. Lakshmi Tejas M A

    CAN interface with analog discovery 2

    Hi @attila Thank you for the suggestion I tried sending from AD2 to PCAN, I am getting acknowledge error. Can you suggest me some solution?
  13. Lakshmi Tejas M A

    CAN interface with analog discovery 2

    Hi @attila Thank you for the suggestion to use the transceiver(using python). transmission from AD2 to PCAN is happening (ID: 0x3fd DLC: 4 Data: 0x00 0x01 0x02 0x03) receiving in AD2 from PCAN(only one frame sent ID=0x135,DLC=3,Data=0xCC 0x01 0x01) I am still getting lot of frames(repeated correct frames, CRC error frames etc), I have attached the console of the same. Can you help me with this? Is there any option to not receive signals that are transmitted from ad2 itself? (self transmitted) also wanted to know why i am reading the same signal again and again? I am using the sample code given. Console.txt
  14. Lakshmi Tejas M A

    CAN interface with analog discovery 2

  15. Lakshmi Tejas M A

    Analog Discovery 2 interfacing CAN

    @JColvin Thank you for the reply. The PCan outputs are CAN-H/L. So... What are the outputs when i use Waveform software with AD2? What are the outputs when i use python with AD2?