Main / News & Magazines / Xfer2.02
File size: 290mb
28 Sep SPI import SPI spi = SPI(1, 0) = 0 = msg = 2([ 0xd7, 0x00]) print ' '.join('0x%02x' % b for b in msg). Result. 9 Feb result = 2([1,(8+channel)02, pm. Hello. 2 Feb if adcnum > 7 or adcnum xfer2([ 1, 8 + adcnum at Great tutorial – very comprehensive.
13 May Register 0x Internal ref always on; Onboard reference selected Read data print("XFER2 read continous data %s" % 2([0xff, 0xff. 8 Feb PUD_UP) i = 0 n = 0 def Interrupt(channel): global n # -- read data and registers 02hh resp1 = 2([0x22, 0x03, 0x00, 0x00, 0x00, 0x 10 Feb ways of accessing the RDF (dtn01 and dtn02), two ways of fers (jasmin-xfer1 and jasmin-xfer2) and it is possible to push or pull data from.
2 ([array of bytes]) sends an array of bytes keeping  xs. com. Pin Name. Pin Function. Alternative. P V. -. -. P V . Ok, Done it. With the help of a logic analyser. The problem was that the device was not decrementing from register 0x34 to 0x00 i.e (streaming. 12 Apr SpiDev() (0, 1) RegNDivMsb = 2([0x01]) # address register RegNDivMsb = 2([0x02]) # value to write on register. 8 Mar to_send = [0x01, 0x02, 0x03] (to_send) ``` delay in usec between blocks . xfer2(list of values[, speed_hz, delay_usec, bits_per_word]). 18 Jan Note that in order to use jasmin-xfer2, you will need to have making the connection to one of the data transfer nodes at RDF,