stm32l4r5zit6 VS stm32l4r5zit6p Uart conflict
Hello good Morning,
We have tried to make some cards, but our manufacturer has made a mistake and has mounted the stm32l4r5zit6p instead of stm32l4r5zit6.
It seems that we are able to correctly program the uC through the REALICE tool (using st-link for connect, erase, read, program internal memory), but the uC has strange behaviors, for example:
The uart3, which we have configured on pins PC_12 and PD_2, does not work correctly.
We have tried a very simple program code (shown below) using an old board with the stm32l4r5zit6, and also with new one, stm32l4r5zit6p.
#include "mbed.h"
#define MAX_LOG_SIZE 2048
UnbufferedSerial USB (PC_12, PD_2, 115200); //TX, RX
char buf_log[MAX_LOG_SIZE] = {0};
uint32_t num_log;
int main(void){
while (1)
{
ThisThread::sleep_for(2s);
num_log = sprintf(buf_log, "\n\r--- START TEST PROGRAM\n\r");
USB.write(buf_log, num_log);
}
}When we power the old one, it send information through the uart pins, putting the RX and TX signal at high level (we check with osciloscope), so the old board works perfectly. But the new one doesn´t send anything and RX and TX pins get low level forever.
Reading datasheet we have notice that there is some differences at pinouts and functionality between both board. But differences that we notice are no related with this uart so we cant comfirm if differences that we check are affectting this point.
