I am trying to communicate with CAN, but it seems that I am not receiving Rx. I would like to know the reason for this static void MX_CAN2_Init(void)
{
/* USER CODE BEGIN CAN2_Init 0 */
/* USER CODE END CAN2_Init 0 */
/* USER CODE BEGIN CAN2...
I am setting up SDLC communication using the Z85C30 chip. However, when I enable Tx and send data, it appears that the data is mixed with 7E. After the Tx is finished, I disable it. Is there a way to ensure that 7E appears only at the start and end?
I encountered a problem when trying to send more than 5 bytes of data using the FMC.
// impossible example --
#define SD_DATA (*(volatile unsigned char *)0x60000001)
SD_DATA = 0x01;
SD_DATA = 0x02;
SD_DATA = 0x03;
Using this method, data i...
I'm currently using a stm32f756igt chip, but CAN communication is not working smoothly What's the problem?
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Configur...
I have noticed that using BANK1 in FMC_Init causes a hard fault at addresses starting from 0x6000.0000. This issue does not occur with BANK2. What could be the reason for this? Isn't the address for BANK2 starting from 0x7000.0000?
Upon running, a HardFault occurs immediately.If I remove the lineSYSCFG->MEMRMP |= SYSCFG_MEMRMP_SWP_FMC_0;the HardFault disappears.Even without this code, attempting to access the address 0xC0000000 results in a HardFault.