RE: Sending data via UART
응답
17. 2. 17 오전 11:05 as a reply to Franjo Stjepandic.

Hi Franjo,

Right I had already added the missing statements. I found my problem yesterday, apparently the 3.3V and 2.5V pins don't work or don't supply enough current. I was able to make it work by connecting my UART module to an external power supply.

Should I initialize the power pins on the gateway, or is there a max current that can be supplied by it?

Thanks,

Aurelien

0 (0 투표)
RE: Sending data via UART
응답
17. 2. 17 오후 12:56 as a reply to Aurelien Lequertier.

I found the way while looking at the definition of SDCardDriver_Init(). The following statement enables the 2 power pins on the gateway:

PTD_pinModeSet(PTD_GET_PORT_PIN_MODE_DOUT(WIFI_SD_VDD_PORT));

0 (0 투표)
RE: Sending data via UART
응답
17. 2. 17 오후 9:09 as a reply to Aurelien Lequertier.

Hello Aurelien,

as I understand you try to supply an additional external UART module to receive the data from the XDK.
Am I right so far?

If this is the case it depends on the power consumption of your module. The 3.3 V and 2.5 V pins have a maximum output of 100 mA.
If your UART module requires a greater amount of supply current, your choice using an external supply source should be the way to go.
Otherwise you can use them and activate via PTD_pinModeSet() as you already mentioned.

Please tell me if this helps you and do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 투표)
RE: Sending data via UART
응답
17. 2. 20 오후 3:28 as a reply to Franjo Stjepandic.

Hi Franjo,

You're correct. My module draws up to 50 mA every few minutes so it is fine.

Thanks for your help!

Aurelien

 

0 (0 투표)
RE: Sending data via UART
응답
17. 2. 20 오후 6:09 as a reply to Aurelien Lequertier.

Hello Aurelien,

I am glad to hear that this fits for your purpose.

Please do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 투표)