Why. Using the pullup when there is an external pull down makes no sense.The internal pull up of the FT device is used to toggle the boot pin.
This is the "safe" area. This does not mean there is no grey area outside where it still detets HIGH.It has the following criteria 1.75V<VDD<3.6V
I doubt this. 0.5V should be clean LOW condition.why when the pull down is at 10K can I still enter boot mode when the voltage going into the STM32 is 0.5V?
Hi,Don't look only at DC values, consider superimposed noise. To be clearly sensed as low, input voltage must be < Vil, range between Vil and Vih is uncertain.
It may be helpful to place a small filter capacitor (e.g. 1 nF) across the input.
This is not VIH, but the test condition to specify VIH. It describes the power supply.1.75V<VDD<3.6V
Now if VDD = 3.3V, then the valid level for VIH starts at 0.17 x 3.3V + 0.7V which is 1.26V.0.17VDD+0.7
Do you not add the 0.7V, this is what I did?Hi,
Instead of complaining about the obvious - the levels are not valid - why not simply "solve" the problem.
--> Just drive the FT230x correctly HIGH and LOW. And every problem is gone - no need to worry anymore.
Read it´s datasheet how to do it properly.
****
Don´t get me wrong.. What is so difficult to post a link to the datasheet?
Now I did a search, found one.
And what did I see?
This is not VIH, but the test condition to specify VIH. It describes the power supply.
VIH_min is specified as:
Now if VDD = 3.3V, then the valid level for VIH starts at 0.17 x 3.3V which is 0.56V.
Pretty close at your 0.5V. Thus what you see is quite expectable.
Klaus
Do I not need the ViH of the STM32? Not the FTDi?Do you not add the 0.7V, this is what I did?
Ask we are putting the STM32 into Boot mode?Do you not add the 0.7V, this is what I did?
--- Updated ---
Do I not need the ViH of the STM32? Not the FTDi?
My bad. You are correct. I now corrected post#6.Do you not add the 0.7V, this is what I did?
This is STM32 specification. I no where used FTDI specification.Do I not need the ViH of the STM32? Not the FTDi?
Hi,My bad. You are correct. I now corrected post#6.
But "where" did you do this? In post#5 you talk about 1.25V but no information where this value comes from.
This is STM32 specification. I no where used FTDI specification.
The "i" in "ViH" means "input". Input is at the STM32 side.
Again, again, again: Drive the FTDI correctly!!!! It´s annoying that you permanently ignore the solution.
And if it does not work, tell why!
Klaus
False assumptions.Hi,
The Boot0 is at 0V via the 10K. However, it's when try entering the Bootloader by switching it via the FTDi device. The voltage jumps to 0.5V, which is nowhere close to the ViH of the STM32, minimum is around 1.25V.
We scoped this too. But at 0.5V some units enter bootloader? I can't understand it.
Perhaps, unstated other requirements for the 10k resistor.i’m late to this discussion, but what i’m reading is:
1) OPs design has a 66K pullup into a 10K pull down, i.e., a voltage divider, which gives the incorrect input voltage.
2) Sometimes the input senses a high, some times not.
3) OP refuses to drive the input correctly.
Am I missing something?
This is where I got the 1.26V for ViH.BOOT0 has lower thresholds than I/O ports.
Vil= 0.43 V max = 0.1 * Vdd+0.1 V
Vih = 1.26 V min = 0.17 * Vdd+0.7 V
View attachment 185622
The pull down is to keep the BOOT 0 pin at 0V, then switched to logic 1 via the FTDi. This has the effect of accessing the bootloader in system memory.Perhaps, unstated other requirements for the 10k resistor.
I mistook that he wanted to Vil when it is Vih, so why have a pull-down resistor at all, if the FT230X C port has 66k pullup.
Vih = 1.26 V min = 0.17 * Vdd+0.7 V If you must terminate input with a pull down resistor for some other reason, choose a value to exceed Vih with noise margin.
The simply #9 shows the correct Thresholds for 0 and 1 and so you ensure the FTDI drive current is adequate to pull up the voltage above 1.26V. With the minimum programmable drive current is +/- 2mA with Voh = 2.97 and Vdd=3.3 V , you have no problem driving 3.3k pull down up to 3V with < than 1mAThis is where I got the 1.26V for ViH.
--- Updated ---
The pull down is to keep the BOOT 0 pin at 0V, then switched to logic 1 via the FTDi. This has the effect of accessing the bootloader in system memory.
Why 6.6K max?The higher the pull down resistance, the lower the required current, right?The simply #9 shows the correct Thresholds for 0 and 1 and so you ensure the FTDI drive current is adequate to pull up the voltage above 1.26V. With the minimum programmable drive current is +/- 2mA with Voh = 2.97 and Vdd=3.3 V , you have no problem driving 3.3k pull down up to 3V with < than 1mA
Solution : Change 10k to 3.3k unless you need to conserve power then 6.6k maximum.
* The I/O drive strength and slow slew-rate are configurable in the MTP memory.
View attachment 185637
Right .Why 6.6K max?The higher the pull down resistance, the lower the required current, right?
Why maximum???Right .
if you need to conserve power then 6.6k maximum.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?