Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

XMC™ Forum Discussions

Not applicable
hello
can you please let me know the state of the flash controller, after reset? asleep or awake?

if asleep, would the following seem feasible
/* read 2 blocks from nvm to sram */
XMC_FLASH_ExitSleepMode();
while(XMC_FLASH_IsBusy());
XMC_FLASH_ClearStatus();
XMC_FLASH_ReadBlocks(XMC1100_SECTOR15_PAGE01_ADDR, (uint32_t *) &buffer, 2);
while(XMC_FLASH_IsBusy());
XMC_FLASH_EnterSleepMode();

also
just a general question about design of a pcb with the XMC1100
after reviewing the XMC1100 layout (tssop16), there is no boot pin like other comparable cortex m0 chips
i am slowly reading the Reference Manual V1.2 2014-11, have not carefully read Bootstrap Loaders (BSL) and User Routines yet
is RxD at P0.14 and TxD at P0.15, all the pins that are required to program the XMC1100?

regards
enzo
0 Likes
1 Reply
Not applicable
from RM pg 167
NVMCONF
NVM Configuration Register Reset Value: 9000H = 0b1001 0000 0000 0000
NVM_ON field 15 rw NVM On
When cleared, no software code can be executed anymore
from the NVM, until it is set again. I.e., already the software
code that initiates the change in NVM_ON itself may not
reside in the NVM, otherwise the software is stalled forever.
0B SLEEP, NVM is switched to or stays in sleep mode.
1B NORM, NVM is switched to or stays in normal mode.
also
1 field 12 rw Reserved for Future Use
Must be written with 1 to allow correct operation.
so after reset or power up, flash is awake
0 Likes