This content has been marked as final. Show 6 replies
The SC blocks are named as ASCxx and ASDxx in the device editor view. ASC is C type block and ASD is D type block.
Use a CMPPRG user module (under the Amplifier user module category) to use the comparator. Place it in a CT block (ACB00 or ACB01). The CMPPRG user module will connect to the Comparator bus in the analog column.
OK, but the logic operation made, i.e logic NAND
between comparator bus0 and comparator bus1 goes to a label
called Comparator 0. Does it goes to CMPPROG placed in CT ACB00?
By the way, I don't understand perfectly the Ref_Mux implications.
I have read the Thecnical ref Manual and The IDE Users Guide.
I know it define the ADC range and the opamp range but I'm not sure
how to select the best option. It talks about the BandGap.
It seems to be available into the datasheet, but I can't find it.
Finally, Do we can be confident with the internal clocks?
Thanks you, I see the light.
I understand finally the PsOC Designer.
The output from the ACB00 will go the the Comparator bus of that Analog column. The output from the 2 SC blocks of the column also can be connected to the comparator bus.
If no logical operation is performed on the LUT, then this output will be directly available on the Comparator Bus 0 net. This net is available as the Enable and Clock input to the Digital blocks.
You will have to select the RefMux according to the input signal you want to measure. The reference should be selected in such a way that it fits your input signal. If you want to measure a unipolar signal in the range of VSS to VDD, then you will use a RefMux Vdd/2 +/- Vdd/2. If you have a +/-1V signal to be measured, then you can select Vdd/2 +/- Bandgap. In this, the AGND will be at Vdd/2 and the range of ADC would be +/-1.3V around AGND. So, this will be very close to your input signal.
Can you elaborate about "confident with internal clocks"? Do you mean the accuracy of the clocks?
Where is the LUT?
I put a CMPPRG but I cant take the Comparator Bus as an input.
Moreover, where is the Comparator 0 and 1 labeled by the Designer?
I refer to the precision of the clock's how you said.
You can find the LUT at the top end of each comparator bus. There is a square box at the end of each comparator box. Clicking on this box will provide you with 16 logical operations which you can perform with adjacent comparator bus.
The Comparator Bus 0 or 1 is available as input in the Digital blocks. For example, if you place a counter in a digital block, you can select one of the Comparator buses as the Enable input.
The accuracy of the 24MHz SysClk is 2.5% in most of the devices. In some devices it is 4%. You can refer the particular device data sheet and get this information from the Electrical Characteristics section.
I'am make the pid controller, i need reconfigure los registros CRO, CR1 , CR2 and CR3, but i don´t make by programming is this assing the register value net by uart, i help need, thanks