Skip to main content
Visitor II
September 21, 2004
Question

ST10F269 - Chipselects for external components

  • September 21, 2004
  • 2 replies
  • 682 views
Posted on September 21, 2004 at 10:50

ST10F269 - Chipselects for external components

    This topic has been closed for replies.

    2 replies

    chriko22Author
    Visitor II
    September 17, 2004
    Posted on September 17, 2004 at 10:50

    Hi,

    I have got a small (or big) problem! I want to control a flash-memory with CS0 and 2 analog-digital-converters with CS1 and CS2

    That doesn't work. When I set in START167.A66 from Keil

    $SET (BUSCON1 = 1)

    $SET (BUSCON2 = 1)

    (all the rest is default)

    and instruct

    XVAR(int,100000)=100;

    XVAR(int,200000)=100;

    XVAR(int,100000)=0;

    XVAR(int,200000)=0;

    nothing works! One Buscon set on 0, it works, but only if all XVAR-Instructions are implemented! If I leave out the Instruction 2 and 4 (Buscon1=1 and Buscon2=0) it doesn't work, too.

    Who can help and where is my mistake...

    Thanks a lot,

    Christian
    chriko22Author
    Visitor II
    September 21, 2004
    Posted on September 21, 2004 at 10:50

    I made it on my own...