This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial Interface Enable with KPIT Corona och XC167

Hi there!

I have connected a SD Card to the SSC0-module of the Infineon XC167 Card. I am able to initialize the card in SPI mode, read data from the card and write data to the card.

The problem is that Keil's demo-compiler has a limit of the code size generated by the compiler.

Before settling with this card and the compiler I would like to evaluate the card more. That is why i have tried the free GNU KPIT Corona compiler for XC16x.

But although I am using the same code, I cannot even configure the SSC0-module.
-If I try to enable the SSC0 module by setting the SSC0.EN = '1', the bit remains '0'. In fact the entire SSC0 register is '0'.
I am using a general unlock function, MAIN_vUnlockProtecReg() but it doesn't seem to help.

Any ideas?

With kind regards,
Michael

Parents
  • "But although I am using the same code"

    Of course the code is adapted for the specific compiler which has different naming conventions than the Keil compiler....

    I assume that different compilers initialize the controller modules differently, but I wanted to check if there are other explanations....

Reply
  • "But although I am using the same code"

    Of course the code is adapted for the specific compiler which has different naming conventions than the Keil compiler....

    I assume that different compilers initialize the controller modules differently, but I wanted to check if there are other explanations....

Children
No data