Mixed Signal Solution Codeless and Almost Codeless Design

Thread Starter

danadak

Joined Mar 10, 2018
4,057
Had an AAC poster with a requirement for a no code sequencer with controllable
rate and up down capability.

Here is example proposed, one chip, but did take three lines of code to start the
IDAC, Comparator, and OpAmp in the oscillator. OpAmp was just used to debug
oscillator. 3 instructions had to be typed. If Oscillator dropped no code would have
to be done.

The 3 lines of code that had to be typed were done into auto generated main.c file
(the 3 _Start instructions) -

Code:
void main()
{
    /* Place your initialization/startup code here (e.g. MyInst_Start()) */


    IDAC8_Start( );
    Comp_Start( );
    Opamp1_Start( );

    /* CyGlobalIntEnable; */ /* Uncomment this line to enable global interrupts. */
    for(;;)
    {
        /* Place your application code here. */
    }
}
Used a library of TTL standard parts for the UpDwn Counter which came in handy.

Overall ~ 10% of part used, leaving lots of room for other tasks.

upload_2019-5-21_8-28-51.png

Attached standard component list and link user developed certified components, like TTL
library. A component is an onchip resource.

https://www.cypress.com/validated-components

You can do an awful lot with these parts w/o much code. As you can see in right
hand resources used window not much of the chip was used.

Note other vendors starting to catch up, to a limited extent. Eg. some analog.


Regards, Dana.
 

Attachments

Last edited:
Top