Other Parts Discussed in Thread: HALCOGEN
Hello, TI Experts,
I need to read data and writre data to adress such as (0x08001C58) . I need to do it via CAN. How can I do that?
Thank you.
Best regards.
Zeynep
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, TI Experts,
I need to read data and writre data to adress such as (0x08001C58) . I need to do it via CAN. How can I do that?
Thank you.
Best regards.
Zeynep
Hi Zeynep,
I don't understand your question clearly,
Why would you like to read particularly that address? and why via CAN only?
And you mentioned address is in RAM right and what register is that address?
--
Thanks & Regards,
Jagadish.
Hi Jagadish
i was asked to do this via CAN. not that particular adress only. I wasn't clear about that. I meant that I need to write to RAM adrdress.
Regards,
Zeynep
Hi Zeynep,
The above is the general CAN frame architecture, on above frame architecture the data frame can be anything which we write into IFxDATA register as shown below.
So, on this data register you can also write some register data or memory data which you want to tranmit another CAN node and after writing that data will convert into CAN frame and gets transmitted over CAN bus.]
And there is a CAN example in HALCoGen you can find them in help topics.
And in driver layer you can direclty find functions for tranmitting "canTransmit" and receiving "canGetData", you can use them to exchange data betwen two CAN nodes.
--
Thanks & Regards,
Jagadish.