Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN
Hi ,
We are migrating from TMS570LC4357 to RM48L843 as TMS570 devices are out of stock in TI inventory.
Please let me know what all code porting needs to be done.
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.
Hi ,
We are migrating from TMS570LC4357 to RM48L843 as TMS570 devices are out of stock in TI inventory.
Please let me know what all code porting needs to be done.
Hi Spandana,
The easy way is to generate RM48L843 HW driver using HALCOGen, and port your application code to the new project.
RM48 is a little endian device, but TMS570LC43x is a big endian device. If you access the registers or memory content in byte mode, you need to swap the byte orders. For example,
1. TMS570
#define SPI1_TX_ADDR ((uint32_t)(&(spiREG1->DAT1)) + 2)
#define SPI1_RX_ADDR ((uint32_t)(&(spiREG1->BUF)) + 2)
2. RM48
#define SPI1_TX_ADDR ((uint32_t)(&(spiREG1->DAT1)) + 0)
#define SPI1_RX_ADDR ((uint32_t)(&(spiREG1->BUF)) + 0)
Hi Spandana,
You can find and download the CAN bootloader from here:
https://software-dl.ti.com/hercules/hercules_docs/latest/hercules/Examples/Examples.html#bootloader
It supports LC43x, LS31x, LS12x, LS07x, LS04x, RM42, RM44, RM46, RM48, and RM57 families