Forums - On restart: PIO Dirac of 20ms

5 posts / 0 new
Last post
On restart: PIO Dirac of 20ms
Gilbert Eid
Join Date: 22 May 17
Posts: 3
Posted: Mon, 2017-05-22 07:25

I have noticed that on restart of the CSR1010 (for example when I remove the power and put it back), the PIO10 or 11 for example show a 3V dirac for about 20ms and then it goes to 0. This is causing me some issues in my application. 

Even when I clean the AppInit(), with absolutely no code defined there, the behavior described above still occurs. It seems as if the CSR1010 chip when powering up, sets all its PIO to high for a short period even before the start of the AppInit execution? any idea how to avoid that?

Thank you very much

Gilbert

 

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Tue, 2017-05-23 02:32

Hi Geid,

Try:

Clean CSR1010 flash from all code, (fill flash 0xFFFF) and power reset the chip. If the PIO10 or PIO11 still goes up and down? 

x:\CSR_uEnergy_SDK-2.5.0.20\tools\bin\e2cmd.exe  -norun -trans "SPITRANS=USB SPIPORT=0" -quiet fill 0xffff

If PIO10/11 still moves, you can't solve it. It is probably the CSR1010 ROM external SPI flash recognition boot hardware. 

If PIOs 10,11 not do move, clear the appInit and void AppPowerOnReset(void) code. flash and repeat the test. 

You can call my Skype nissim.test anytime. I love to help

 

  • Up0
  • Down0
Gilbert Eid
Join Date: 22 May 17
Posts: 3
Posted: Tue, 2017-05-23 03:58

Thank you Nissim,

Indeed this behavior still shows regardless of the code and the flash...

Any idea how I can filter the 20 ms dirac out by circuit if it cannot be done by software?

thanks a lot

Gil

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Tue, 2017-05-23 06:30

Since it is CSR01010 ROM glitch I need to see your schematic to be able to filter that out. 

Please call my Skype nissm.test

If the schematic confidential, send NDA signed and I will add my sign. 

[email protected]

  • Up0
  • Down0
Gilbert Eid
Join Date: 22 May 17
Posts: 3
Posted: Tue, 2017-05-23 07:02

Thanks a lot Nissim for the proposal and your contribution to the forums. Reading your comments have been very helpful.

I beleive I have figured it out. Using an RC circuit (R=300 Ohm and C = 100 uF) has solved it. It filters out the Dirac while limiting the output current on the PIO to 10 mA max which is within norms for the CSR1010

Thanks again!

Gil

 

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.