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.
I am using Hercules RM46L852 microcontroller to use DCAN and send data above 1000kbit/s.
Halcogen GUI is not allowing me to send data above 1000kbit/s but after understanding the bit timing parameters of CAN i am modifying Registers canREG1->BTR and canREG2->BTR so that i am able to send the data above 1000kbit/s
e.g.
For 1000kbit/s bit rate, canREG1->BTR and canREG2->BTR was assigned
canREG2->BTR = (uint32)((uint32)0U << 16U) | (uint32)((uint32)(1U - 1U) << 12U) | (uint32)((uint32)((7U + 1U) - 1U) << 8U) | (uint32)((uint32)(1U - 1U) << 6U) | (uint32)10U;
can i change these registers for bit rate higher than 1000kbit/s ?
e.g. for 5000kbit/s
canREG2->BTR = (uint32)((uint32)0U << 16U) | (uint32)((uint32)(1U - 1U) << 12U) | (uint32)((uint32)((5U + 1U) - 1U) << 8U) | (uint32)((uint32)(1U - 1U) << 6U) | (uint32)2U;
Can i do above things ?