Jump to content

VishnuRam

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by VishnuRam

  1. I am trying to use the PMODCAN in my hardware running on Linux OS. I found that there is already a default driver which works with MCP25625 can controller. Since the PMODCAN also use the same CAN controller is it possible to link the driver to my underlying hardware?
  2. I am trying to use the PMODCAN IP in my hardware to establish a CAN Communication and would like to implement it on a Ultascale+ supported FPGA board running on petalinux OS.
  3. I am trying to change the Baudrate of the PmodCan to suit my application needs. I could see that i can change the Baudrate by tweaking the registers CNF1 though CNF3. I dont understand this line of code u8 CNF[3] = {0x86, 0xFB, 0x41}; CAN_WriteReg(InstancePtr, CAN_CNF3_REG_ADDR, CNF, 3); I see that only the register CNF3 is being written, however in the reference manual it has been mentioned that with the above code all three registers are being written. Assuming the registers being set to the above values, how is the CAN clock set to a frequency of 20MHz?. With the above register values i get a Nominal bit time(NBT) of 21TQ. if oscillator frequency is assumed to be 100MHz(Max for PmodCan) then the baud rate comes out to be approximately 1250 Kbits/s. However with zynq processors the operating baud rate is declared as 115200. Can you please explain what i am missing here or where i am going wrong?
  4. Hi Enthusiastic, I am trying to implement PMOD can on the Kria KV260 board which is also based on Zynq ultrascale+ MPSoC but in the step where the integration of hardware and software with vitis, i am getting an error that vitis couldnt find the assosciated header files. Did you also encounter this error? you can also verify if my hardware connection is right.
×
×
  • Create New...