Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi, I have a problem. I can transmit data with Can2 but input data isnt generate any interrupt. I use a HAL libraries. I can see a correct input data in CAN_RDL0R and CAN_RDH0R register. CAN1 work properly.
CAN1 and CAN2 configuration code:
if (_hCANx == &hcan1) {
CAN_FilterConfTypeDef...
Hello,
I have a issue with start I2C. When I check a ADDR like this : ((I2C1->SR1&I2C_SR1_ADDR)==0); program is stop.
Then in SR1 register AF bit is set,
in SR2 register MSL and BUSY bit is set.
My code:
void I2C_Setup (void) {
RCC->APB2ENR |= RCC_APB2ENR_IOPBEN ;
RCC->APB1ENR |=...
Hi, I want connect a one wire temperature sensor with UART. My problem is a two registers of measurement is always equal 255 ( temp_LSB and temp_MSB).
And I have problem that
int USART2_Read()
{
// while ((USART2->SR & USART_SR_RXNE) == 0);
return USART2->DR & 0x1FF;
}
while...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.