LaTaupe

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Thank you a lot @jpeyron! It was in the end indeed the not updated IP Core. Everything works well now. Best regards
  2. Hello @jpeyron, thank you a lot for your help so far. First I am trying to let just 1 pmod communicate with the niren can module on the RPi, I did ground them together and terminated both ends with 120 ohm, it remains a mystery to me why i can not receive any CAN data on the RPi which is send from the zybo. As stated in my previous post the bitrate of the pmod is set to 250kbs and the can clock 20mhz in following line of PmodCAN.c : u8 CNF[3] = {0x86, 0xFB, 0x41}; The oscillator on the Raspberry side is 8mhz. Do the CNF value need to be changed to meet the Raspberry oscillator value? Also I do not have the means to oscilloscope the CAN values. Best regards
  3. Speaking of GRND, my setup looks like in the pictures below, where should the GRND be wired to? Do any of the Jumpers need to be loaded, currently both are unloaded? Cheers
  4. Hello @jpeyron, thank you for your swift reply! Right, I actually read it another thread that polling is used. I re-made the block design without interrupts. I am gonna try to oscilloscope the signals and I only used 1 Pmod CAN so far to test but i do have 2. I believe the following line in PmodCAN.c u8 CNF[3] = {0x86, 0xFB, 0x41}; sets the bit rate to 250 kbit/s ? So the RPI I set to the same rate with ~$ sudo ip link set can0 type can bitrate 250000 Is there anything else I need to pay attention to? New Block Design is attached. Best regards
  5. Hello all, I am trying to set up a CAN communication between a ZYBO Z7 Board with a PmodCAN Controller (connected on JE) and a Raspberry PI 3 using a Niren CAN Module as Controller. Letting 2 Raspberries communicating which each other via SocketCAN works fine, both can send and receive CAN data. Now if I try to let the Zybo communicate with the Raspberry using the example codes for transmit and receive data there seems to be no data on the bus. Neither the Zybo receives any data from the RPi nor the RPi from the Zybo. I have created a block design and tried the example codes according to the guide from the digilentinc website here . The LoopBack example does work as intended, Tera Term shows the messages being send, fetched and received. Just when I try to send data from the RPi the Zybo waits endlessly and any data send out from the Zybo wont be caught by the RPi. I have tried different bitrates to no avail. Any help or directing towards the right path in case i am way off in what i am trying is greatly appreciated. The block design is attached. Cheers