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.
Tool/software: TI C/C++ Compiler
Hi,
from the datasheet, the 280049 type 2 CLA should be able to access the LIN module.
This however is byte-addressable. The bp_16 and bp_32 typedefs via byte_peripheral attribute are rejected by the compiler.
So how to access the LIN from CLA?
Hi Stephan,
Yes, just got an update this morning from SW team.
Typedefs bp_16 and bp_32 are not supported on CLA, they are only meant for C28x. Instead you can do access as follows:
HWREGH(base + offset) for lower 16-bit and HWREGH(base + offset + 2) for upper 16-bit.
Regards,
Nirav