Other Parts Discussed in Thread: RM42L432
但是这个库好像有问题啊。比如SL_SelfTest_SCI RM42L432的SCI和LIN是共用的。寄存器地址起始都是FFF7 E400h。但是库里确把SCI1地址定义为FFF7 E500h.导致RM42L432的SCI无法使用SL_SelfTest_SCI 自检。
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.
设备具有两个SCI模块。一种是独立的SCI模块,另一种是可用作SCI或LIN的SCI / LIN模块。
在代码中,sciREG用于SCI独立模块,而scilinREG用于SCI / LIN模块。
/** @def sl_scilinREG * @brief SCILIN (LIN - Compatibility Mode) Register Frame Pointer * * This pointer is used by the SCI driver to access the sci module registers. */ #define sl_scilinREG ((sl_sciBASE_t *)0xFFF7E400U)