Reply
Posts: 34
Registered: ‎04-29-2016
Accepted Solution

BGM111 USART0 LOC0 CLK and CS pin numbers

In BGM111 Datasheet Rev 1.0, while Table 7.1 Device Pinout (pg 48) indicates below pins are available for USART0 at LOC0
US0_TX LOC0 : PA0
US0_RX LOC0 : PA1
US0_CLK LOC0 : PA2
US0_CS LOC0 : PA3

 

Table 7.3 Alternate Functionality Overview (pg 57) provides no info on the pins number for CLK and CS
US0_TX LOC0 : PA0
US0_RX LOC0 : PA1
US0_CLK LOC0 :
US0_CS LOC0 :

 

Could someone from SiLabs please confirm if

1) BGM111's USART0 LOC0 can be used for SPI to communicate with a sensor (BGM111 operating in standalone mode and not NCP)
2) If yes, can I use pins PA2 and PA3 for CLK and CS (USART0 LOC0)

 

(I just happened to check BGM121 datasheet and do not see any discrepancies between the two tables. I guess not all the details in BGM111 Datasheet's Table 7.1 Device Pinout (pg 48) are captured in Table 7.3 Alternate Functionality Overview (pg 57) or could be am not reading the tables correct.)

Posts: 2,582
Registered: ‎09-01-2015

Re: BGM111 USART0 LOC0 CLK and CS pin numbers

There is a mistake in BGM111 datasheet table 7.3, it is missing many pin locations for some reasons. 

 

Table 7.1 is correct, you can use this mapping:

US0_TX LOC0 : PA0
US0_RX LOC0 : PA1
US0_CLK LOC0 : PA2
US0_CS LOC0 : PA3

 

I verified this with BGM111 devkit and logic analyzer.

 

Posts: 34
Registered: ‎04-29-2016

Re: BGM111 USART0 LOC0 CLK and CS pin numbers

Thank you @JaakkoV