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.

How to halt OMAP-L138

Other Parts Discussed in Thread: OMAP-L138

Hello,

I have 2 chained OMAP-L138 on board, say OMAP_0 and OMAP_1

Both OMAPs have SPI1 connected to their own flash. OMAP_0 has SPI_1(CS_1) connected to SPI_0(CS_0) of OMAP_1

I have no problem in flashing OMAP_1 as it has its own SPI bus for its flash, but I have problem in flashing OMAP_0 as it has shared SPI bus between flash and OMAP_1. I still have problem even OMAP_1 runs with a simple while loop, nothing else

void main()

{

     while(1);

}

However, I have NO problem in flashing OMAP_0 if I do not run OMAP_1 at all

My question is HOW to halt OMAP by writing to some register ???

Thanks,

~Duy-Ky

  • Duy-Ky,

    This may have been better understood if you could provide a block diagram but let me try to see if I understand you correctly. You have an issue on OMAP_0 wherein you have the same CS connected to the Flash as well as the OMAP_1 so when you write to the flash on OMAP_0 by enabling that chip select, the same data goes to the OMAP_1, is that correct?

    When you mean you want to flash the device, is this for purpose of boot ? or is the flash going to be used in the application code as well. Also it isn`t clear to me how the application runs on OMAP_1. When you say it is running simple while loop, how would it be able to receive data that is on its SPI bus from OMAP_0 ?

    Some more clarification on this issue will help us understand the situation better.

    Regards,

    Rahul

  • Hi Rahul,

    I did include screen capture of the block diagram, somehow it got lost !?!?

    I solved the problem by put unused SPI in reset mode

    Thanks, Rahul

    ~Duy-Ky