Sending data via UART
응답
15. 6. 29 오후 12:29 as a reply to Mathias Bruendel.
Dear Mathias,

I have read  the documentation, so  I know the pinset you mentioned (see: XDK_Getting_Started_v1). But there comes nothing out of these pins when using SPI or U(S)ART. I can use the pins as GPIOs, so it seems that these pins are normally assigned to GPIO. How to assign them to U(S)ART?

Thanks,

Jürgen
 
0 (0 투표)
Sending data via UART
응답
15. 6. 30 오후 2:20 as a reply to Jürgen Schuster.
Dear Jürgen,

after some investigation we found an eror in our documentation. The pins for the SPI interface pins on the extension bus connector (and the "Gateway" board) are swapped compared to the table given in the getting started guide.
PB4 (US2_MISO) is located on pin B5, PB3 (US2_MOSI) on pin B6.
Note that the print on the Gateway V1.0 is false.
Maybe this helps to clarify the observed problem. I am sorry for the inconvenience caused by this flaw. The documentation will be updated within the next days.

Best regards,
Mathias

 
0 (0 투표)
Sending data via UART
응답
15. 7. 1 오전 5:50 as a reply to Mathias Bruendel.
Dear Mathias,

Yes, the swap of the pins I already know, since I tested the GPIO pins. But I checked every pin when trying UART and SPI, and there was nothing (except the 3.3V, 2.5V and the I2C-Pins PB11/12, which are pulled up). I still think it is a software problem in the configuration of the pins to GPIO. Or do you have a working example with UART or SPI to the extension pins?

Bye,

Jürgen
 
0 (0 투표)
Sending data via UART
응답
15. 7. 7 오후 1:57 as a reply to Jürgen Schuster.
Hello everybody,

After that I already gave up, a colleague of mine found the solution. You have to configurate the TX-pin as GPIO output and use the correct location (not in XDK documentation). Now I can send data via UART (U1_TX = PB9 at location 2).

Bye,

Jürgen
 
0 (0 투표)
Sending data via UART
응답
15. 7. 10 오전 6:40 as a reply to Jürgen Schuster.
Dear Jürgen,

is there any code using UART, that you could share?
Currently I amworking with the XDK and I have problems with implementing the functions.

I am looking forward to your response!

Best regards, Chris
0 (0 투표)