This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using transistor with GPIO to switch another chip

Hello

I am using pin 1.15 of nrf52840 dongle with transistor with enable pin of another chip. The other chip is a wifi chip which I only want to switch on whenever I have data to send to that chip.

My software design is like this, switch on the chip, send the data and switch off the chip.

I have used a transistor circuit whose base pin when connected to high (3.3V), switches on the wifi chip and when connects to low (0V) switches it off. But when I try to do the same with the dongle, it is not working. The dongle is not able to supply 3.3V when connected to the transistor circuit, and when I disconnect the circuit, it supllies 3.3V. This may be related to current but I am using 10K base resistor. I am attached the picture for your reference.

I appreciate your suggestions.

Regards,

Parents Reply
  • Hello dmitry, yes it was indeed a problem of flow control. When I disable flow control, my ble starts but do not send the data. Then in app_error_check, I removed all the code and just kept the function empty and now it is working as expected. So maybe some kind of error was stopping dongle to work properly. I could not figured out the exact problem but that solved my issue. Now I am able to use transistor with GPIO to switch the other chip I want. Also, the data is being sent out by the dongle.

Children
No Data
Related