Francisco

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by Francisco

  1. Thanks for your response Mr. Nathan, Actually we were using the J8 block for testing. Turns out that the solution was using the J6 port instead. I still don't understand how this now works, shouldn't it work on both ports? This is the code we're using DSPI0 spi; ... spi.begin(); spi.setSpeed(1000000); spi.setMode(DSPI_MODE0); spi.setPinSelect(10); ... send=11110000; spi.setSelect(LOW); answer = spi.transfer(send); spi.setSelect(HIGH); Serial.write(answer);//0 send = B11110001; spi.setSelect(LOW); answer = spi.transfer(send); spi.setSelect(HIGH); Serial.write(answer);//20Since the expected answers are 0 and 20 instead of the constant 15 we get I can not say the problem is fixed,but at least we now get a "proper" response. Here are the CLK and MISO signals together. https://www.dropbox.com/s/6hc6wl0wq6k6in5/miso_clk_normal.jpg?dl=0 https://www.dropbox.com/s/pi74hvhuzk8402h/miso_clk_zoom.jpg?dl=0
  2. Hi, I've been trying to communicate an Uno32 board with a CC1101 transceptor based board. I've tried the 3 SPI libraries that come with mpide: DSPI, SoftSPI and SPI. However there's always a problem, the SS pin will always stay "low". Here are the outputs of each pin: SCK: https://www.dropbox.com/s/5d0fo6tflt3po1z/sck_pin.jpg?dl=0 MOSI: https://www.dropbox.com/s/arc7xol235zjb06/mosi_pin.jpg?dl=0 MISO: https://www.dropbox.com/s/2cs0oxyi6jqpvn9/miso_pin.jpg?dl=0 SS: https://www.dropbox.com/s/3yg1b3xxpe8l1ec/csn_ss_pin.jpg?dl=0 The Uno32 can only be master, so the jp4 jumper has always been in the RD4 position. We've even tried specifying the SS pin, pin number 10, in the 'begin' function of each library, but all to no avail. Any help is seriously appreciated. Thanks in advance.
  3. Well I just wanted to say hi. I'm new to this platform but I love the potential of the uno32, I hope everything goes well.