Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 221097

Forum Post: RE: Compiler/TMS320F28075: DCAN interface register IF1CMD and the MSG_NUM field

$
0
0
Pierre You are correct in that this is best handled as a single 32-bit write. I've filed a bug to have this example corrected. The IFxCMD shouldn't be set to all zeros and should be written to with a 32-bit write to avoid issue. Since when the MSG_NUM field is written, that's what triggers the transfer to/from the message object to the registers or registers to the message object. If the the MSG_NUM gets written to before the upper bits of the IFxCMD, then you risk performing the wrong action. Best regards Chris

Viewing all articles
Browse latest Browse all 221097

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>