Hello,
I want to use the pin J7 as a digital output.
But I think is is acting as /UB.
But in the CCS compiler I can't find the #FUSES to use this pin as digital output.
I see in the datasheet that is is possible...... but do I have to do something different??
Regards,
Jody
Ttelmah
Joined: 11 Mar 2010 Posts: 19513
Posted: Mon Sep 23, 2013 8:00 am
That's the 'mode'. Microcontroller/Extended microcontroller.
Look in the table 'fuses.txt' that comes with the complier.
MCU
also add:
setup_external_memory(EXTMEM_DISABLE);
to the code.
When 'extended mode' is selected, the external memory bus is always enabled (EMCU, or any of the other variants of this). With MCU, is becomes controllable by the EBDIS bit, which the setup_external_memory function controls.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum