PSOC 4 Pioneer Board

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Hi, I have 2 boards, one marked Rev 4 with QR Barcode labels on it, the other older and no rev or QR

label.

I am using DieTemp component, more recent board gives me a correct reading of 84 F at room Temp,

the older board gives > 200 F.

Code being used trivial (readings at 1 sec intervals) :

        SAR1_EnableInjection( );                                        // On next conversion enable SAR to measure injection channel

        while ( SAR1_IsEndConversion(SAR1_RETURN_STATUS_INJ ) == 0);

       

        SARcnts = (int32) SAR1_GetResult16( 1 );                        // Get results from SAR ADC injection channel, which is die temp in this design

//        SARcnts = (int32) ( (5.000 * (float) SARcnts ) / 1.024 );       // Correct counts becuse we are using 5V Vref versus 1.024 Vref

        DieTempF = (int16) DieTemp_CountsTo_Celsius( SARcnts );

        DieTempF = ( ( 9 * DieTempF ) / 5 + 32 );                       // Convert to degreees F

        SARconvCount = 0;                                               // Reset the # SAR conversions counter used to only examine injection channel > 1 sec

Code used inside ISR from SAR at EOC. SAR running continuously. All vars sized correctly for API being used.

Vref is 1.024V

Were the older boards an issue ? Creator 4.4 and 4.4 being used.

Regards, Dana.

0 Likes
10 Replies
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello DaKn_263916 ,

Could you please check your older board with "CE195275 – Sequencing SAR ADC and Die Temperature Sensor with PSoC 4" code example from the PSoC Creator ? This code example uses the Sequencing SAR ADC Component with an injection channel and the Die Temperature Component. Please let me know your observations with this code example.

Thanks,

P Yugandhar.

0 Likes

The old board, one without QR Barcode labels, reads 102 C, the newer board

reads 30 C.

Did that older board have a PSOC die revision with issues ?

Regards, Dana.

0 Likes

There was a prior post on thread asking me to swap the boards PSOCs

between each other.

 

I do not have SMD capability to do that.

 

Regards, Dana.

0 Likes

Hello,

The reason we are thinking is because the IC present on the old board may be faulty. Can you please swap the two ICs on the old and new boards and see whether the issue follows the board or the IC?

 

Thanks,

P Yugandhar.

0 Likes

I do not have the tools/capability to handle the SMD part swap.

 

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I cannot find the reply to me that suggested I swap PSOC parts on the two boards. So replying here.

I do not have the capability to handle the SMT, so answer is no.

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

There is a missing reply asking me to swap the PSOCs on the two boards to see if

I could get one to work. I do not have the capability to handle those SMD parts.

 

I could ship you the boards and you do it ?

 

 

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

A suggestion was made to swap CPUs on the two boards. I do not have

smd capability to do that.

 

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I do not have capability to assemble SMT parts.

 

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Do you want the silicon date code of non working part ? For board replacement ?

 

Regards, Dana.

0 Likes