Hi, I'm trying to implement my can infrastructure with socketcan. I would like to know where to find information about the values from sja1000_priv struct, the can.clock.freq, ocr and cdr.
I'm following the plx_pci.c code but in my driver I setup these register in a different way. First, I set the CDR <- 0xC0, then I set the clock using the BTR0 and BTR1 registers to set the 1Mbps baudrate, BTR0 <- 0x01, BTR1 <- 0x10 and finally the OCR register is initialized with OCR <- 0x1A. Any hint is appreciated, Jorge ________________________________ Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
