Re: Guidance on AN82527 from Intel
Heinz-Jürgen Oertel <[email protected]>
| Newsgroups | gmane.comp.hardware.bus.can |
|---|---|
| Organization | privat |
| Message-ID | <[email protected]> |
Hello Mauricio read carefully what John wrote. Check your CAN controller _and_ transceiver design and get a a PC based other node as communication partner. I'm sure that you will find an application note or some example source code for the initialization of an transmit buffer. Having a transceiver is a must. As a first step, I recommend that you don't connect another node but connect a oscilloscope and a termination resistor. After a successful initialization and setting the transmit request, you should see a CAN frame repeated forever. Try to measure the time a single bit takes and compare with the expected value. Than you can see if you have to adjust the bit timing set up before you connect with another node. The program at http://www.can-wiki.info/bittiming/tq.htm helps you finding the correct values for registers BTR0 and BTR1. select "NXP SJA1000 or Intel" as controller type. Good luck Heinz-Jürgen Oertel Am Freitag 05 April 2013, 13:28:21 schrieb Mauricio Gott: > Hello! > I have the task of checking the functionality of a reel of these IC > from intel, but have not worked with any CAN devices before so i > started from scratch. > So far: > I already defined my test method, > I actually managed to read/ write correctly from all Control, Config, > and Message registers. > Ive established all of these conditions listed on the datasheet for a > transmission: > > Conditions required to transmit a data frame: > 1) Init bit e 0 > 2) MsgVal bit e 1 > 3) direction e transmit > 4) NewDat bit e 1 > 5) TxRqst e 1 > > I also checked the steps listed in "7.4 Host-CPU Handling of Message > Objects 1±14 (Direction = Transmit)": > Power Up > -- > Archives and useful links: http://groups.yahoo.com/group/CANbus > Subscribe and unsubscribe at www.vector.com/canlist/ > Report any problems to <[email protected]> -- Archives and useful links: http://groups.yahoo.com/group/CANbus Subscribe and unsubscribe at www.vector.com/canlist/ Report any problems to <[email protected]>