Hi,
Can you provide startup code for TMS470MF03107 controller and sample code of flash module?
Could you please provide the compiler manual CCS v4.6.3
Regards,
Sarada
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,
Can you provide startup code for TMS470MF03107 controller and sample code of flash module?
Could you please provide the compiler manual CCS v4.6.3
Regards,
Sarada
Hi,
Please find the manual here: http://processors.wiki.ti.com/index.php/ARM_Code_Generation_Users_Guides
I will post the startup code to WIKI page.
Regards,
QJ
Hi,
Thanks for reply.
I took the sample code. I need following details.
1.Please send Flash Module F035 library files.
2.while initializing CAN module, how are you assigning CAN ID.
In Can.c,
while (canREG2->IF1STAT & 0x80);
canREG2->IF1MSK = 0xC0000000U | ((0x000007FFU & 0x000007FFU) << 18U);
canREG2->IF1ARB = 0x80000000U | 0x00000000U | 0x20000000U | ((1U & 0x000007FFU) << 18U);
canREG2->IF1MCTL = 0x00001080U | 0x00000000U | 8U;
canREG2->IF1CMD = 0xF8;
canREG2->IF1NO = 1;
-- in the above code, canREG2->IF1ARB = 0x80000000U | 0x00000000U | 0x20000000U | ((1U & 0x000007FFU) << 18U); ----
((1U & 0x000007FFU) << 18U) =0x08 -- For Message object1, ((2U & 0x000007FFU) << 18U) -- For Message object2
--- Is this CAN ID for Message object?
I have to assign CAN ID 0x702 for Message object1. Please explain the scenario of CAN ID assignment.
Hi Sarada,
1. please find the F035 library in TI website:
http://www.ti.com/tool/f035flashapi
2. CAN ID is defined in IF1ARB. If an 11-bit Identifier (Standard Frame) is used (Xtd = ‘0’), it is programmed to ID[28:18]. You can the same way in the sample code for your ID assignment.
Regards,
QJ