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.

我怎么找不到TMS320F28035 内部flsh寄存器操作的手册啊?谁有给一份,万分感谢。

Other Parts Discussed in Thread: TMS320F28035

我怎么找不到TMS320F28035 内部fls寄存器操作的手册啊?谁有给一份,万分感谢。TI给的是个库,在我的应用中不好用。我需要自己写flsh驱动。怎么找都找不到关于它内部flsh操作的介绍。求各位大神知道的,给一份手册,如果有C代码更好,万分感谢,急等。

  • 关于C2000的片内Flash,TI只提供有Flash API库,其它的像片内Flash的手册,Flash API的源码都没有提供。

  • 你是官方的技术支持吗?,我是不是可以确认不用去找这些资料了,因为就没有。对吗?:)谢谢,在线等回复。

  • 网上是肯定找不到的,TI就没有发布这些资料。

  • 请参考SPRUFN3D里面Flash and OTP Memory章节有FLASH寄存器的说明。一般F28035的例程都会有初始化:

    void InitFlash(void)
    {
    EALLOW;
    //Enable Flash Pipeline mode to improve performance
    //of code executed from Flash.
    FlashRegs.FOPT.bit.ENPIPE = 1;

    // CAUTION
    //Minimum waitstates required for the flash operating
    //at a given CPU rate must be characterized by TI.
    //Refer to the datasheet for the latest information.

    //Set the Paged Waitstate for the Flash
    FlashRegs.FBANKWAIT.bit.PAGEWAIT = 3;

    //Set the Random Waitstate for the Flash
    FlashRegs.FBANKWAIT.bit.RANDWAIT = 3;

    //Set the Waitstate for the OTP
    FlashRegs.FOTPWAIT.bit.OTPWAIT = 5;

    // CAUTION
    //ONLY THE DEFAULT VALUE FOR THESE 2 REGISTERS SHOULD BE USED
    FlashRegs.FSTDBYWAIT.bit.STDBYWAIT = 0x01FF;
    FlashRegs.FACTIVEWAIT.bit.ACTIVEWAIT = 0x01FF;
    EDIS;

    //Force a pipeline flush to ensure that the write to
    //the last register configured occurs before returning.

    asm(" RPT #7 || NOP");
    }