Shop OBEX P1 Docs P2 Docs Learn Events
Use a SX-28 as a logic master chip — Parallax Forums

Use a SX-28 as a logic master chip

T&E EngineerT&E Engineer Posts: 1,396
edited 2006-11-13 17:06 in General Discussion
What is the best way to approach in design using an SX-28 to replace some logic chips (e.g. 74HC00 NAND, 74HC32 OR and a 74HC138 3/8 Decoder). Would making up a truth table of the possible inputs and outputs and then simplify it through Kanough mapping be the best approach. I want to use an SX-28 to replace a·few chips. Should I use the logic statement or simply use a bunch of IF THEN statements to the·pins on the SX-28 (Inputs and Outputs) as "individual" chips. Hopefully you can follow·what I am saying.

Summary:

Choice A: Through the use of IF THEN statements (e.g. If RA.0 is HIGH AND RA.1 is HIGH THEN RA.2 is LOW, ect..) within an SX-28, create code to emulate per say individual logic chips·and then connect·them together with wires externally to the SX-28 (e.g. SX-28 RA.0 and RA.1 are inputs·to a NAND and RA.2 is the output)

Choice B: Use Karnough mapping to make one master logic statement using various SX-28 I/O pins to emulate this.

I'm thinking that I may have to use Choice B due to the limited amount of pins on the SX-28.

Does anyone know where I can get a good reference to Karnough mapping as I haven't used it in 10 years since college?

Thanks.

Thoughts and Comments?

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-11-06 01:23
    Karnaugh, sum-of-products

    Post Edited (PJ Allen) : 11/6/2006 1:35:47 AM GMT
    270 x 155 - 8K
  • Sparks-R-FunSparks-R-Fun Posts: 388
    edited 2006-11-13 17:06
    I think that you could use either approach. However, you will want to be mindful of the response delays if you need very fast switching times. Otherwise, if your circuit operates rather slowly compared with the decision making and state changing time of the SX, you should be able to use either option provided you have sufficient memory.

    - Sparks
Sign In or Register to comment.