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) -
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.
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.
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. */
}
}
Overall ~ 10% of part used, leaving lots of room for other tasks.
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
-
178.5 KB Views: 0
Last edited: